Karos Graveyard ::
Function Reference :: Scope Reference :: Variable Reference
--------------------------------------------------------------------------------
-- Adds the named objective from the "objectives" table.
-- Modified version of the function found in the tutorial missions.
-- Arguments:
--    <sObj>: the string name of an objective. Must match a string index in the "objectives" table.
--    <bSecondary>: enter 0 (or ignore completely) for primary objective, 1 for secondary objective.
function addObjective(sObj, bSecondary)
    if (bSecondary == 1) then
        objectives[sObj].id = Objective_Add(objectives[sObj].title, OT_Secondary)
    else
        objectives[sObj].id = Objective_Add(objectives[sObj].title, OT_Primary)
    end
    if (objectives[sObj].desc) then
        Objective_AddDescription(objectives[sObj].id, objectives[sObj].desc)
    end
end
:: ::
Hide Download Bar
Ctrl + Shift + Z = Show/Hide Download Bar
Downloads
Download Manager (S3)
Clear
Left Click: Clear All Finished
Right Click: Undo last clear
100%
Download History
Download list is empty
FunctionAddLocalizedText.html
100%
00:00
512 KB
1.88 MB/s
FunctionAddLocalizedText.html
Source:
From:
To:
G:\HWRMResources\tutorials\hw2wiki.net\Functions_StandAlone\FunctionAddLocalizedText.html
Status:
512 KB / 512 KB ( 1.88 MB/s )
File Size:
512 KB
Virus scan:
Time Start:
2019.08.20 - 17:08:54
Time to Complete:
<00:01
Time Left:
00:00
Percent Done:
100%
Average Speed:
1.86 MB/s
mouse double click: download pause/resume
mouse middle click: download cancel
mouse double click: open file
mouse double click + Ctrl: open dir
mouse middle click: delete from list
mouse middle click + Ctrl: delete from system
press mouse button + Ctrl: drag & drop
FunctionaddNebula.html
100%
00:00
505 KB
2.36 MB/s
FunctionaddNebula.html
Source:
From:
To:
G:\HWRMResources\tutorials\hw2wiki.net\Functions_StandAlone\FunctionaddNebula.html
Status:
505 KB / 505 KB ( 2.36 MB/s )
File Size:
505 KB
Virus scan:
Time Start:
2019.08.20 - 17:09:59
Time to Complete:
<00:01
Time Left:
00:00
Percent Done:
100%
Average Speed:
2.31 MB/s
mouse double click: download pause/resume
mouse middle click: download cancel
mouse double click: open file
mouse double click + Ctrl: open dir
mouse middle click: delete from list
mouse middle click + Ctrl: delete from system
press mouse button + Ctrl: drag & drop