Jump to content

Recommended Posts

Posted (edited)

I created in my mod an HUD element with some pages, NAV, A-A, A-G.

how do i move between them ?

 

init.lua:

dofile(LockOn_Options.common_script_path .. "devices_defs.lua")

indicator_type = indicator_types.COLLIMATOR
purposes = {render_purpose.GENERAL, render_purpose.HUD_ONLY_VIEW}

-- subset ids
BASE = 1
NAV = 2
A_A = 3
A_G = 4

page_subsets = {
    [BASE]  = LockOn_Options.script_path .. "HUD/Indicator/base_page.lua",
    [NAV]   = LockOn_Options.script_path .. "HUD/Indicator/nav_page.lua",
    [A_A]   = LockOn_Options.script_path .. "HUD/Indicator/a-a_page.lua",
    [A_G]   = LockOn_Options.script_path .. "HUD/Indicator/a-g_page.lua"
}

init_pageID = 1
pages = {}

pages[1] = {BASE, NAV}
pages[2] = {BASE, A_A}
pages[3] = {BASE, A_G}

 

 

Edited by IAF.amir
  • IAF.amir changed the title to change HUD mods: NAV, A-A, A-G
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...