Difference between revisions of "Obj:uSetRequired"
From NexusWiki
(Created page with '<big>'''obj:uSetRequired''' ''(required);''</big> :This marks obj as "required", meaning the player won't be able to remove or replace this device on the fleet screen. This can ...') |
(No difference)
|
Latest revision as of 02:02, 17 June 2009
obj:uSetRequired (required);
- This marks obj as "required", meaning the player won't be able to remove or replace this device on the fleet screen. This can be used to force the player to equip a certain device, that is needed to complete the mission. required=1, device can't be removed; required=0, device can be removed
Example, which allows the player to change all devices onboard the Stiletto:
uSelectNR(1, Stiletto, S.uDevice); ExecList(1, S.this:uSetRequired(0); );
Campaign script commands
Equipment and stock
obj:uInset - obj:uInstallDevice - obj:uRemoveDevice - obj:uSetRequired - obj:uSetResourcePoints - uAddDevicesToStock - uClearResourceStock - uFleetScreenReadOnly - uRepairPlayersFleet - uShowFleetScreen
Mission progression
uEnterMission - uEnterMissionQuick - uSetNextMission
Miscellaneous
obj:uCopyReproducableDevTypes - obj:uSetParent - uDifficultyLevel - uGet - uGetNPC - uGetPlayersFleet - uGui_EnableCommand - uPlayBink - uPlayBriefing - uSelectNR - uSetDetectionLevel - uSetStoryDate