From NexusWiki
Jump to: navigation, search

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);

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
obj:uCopyReproducableDevTypes - obj:uSetParent - uDifficultyLevel - uGet - uGetNPC - uGetPlayersFleet - uGui_EnableCommand - uPlayBink - uPlayBriefing - uSelectNR - uSetDetectionLevel - uSetStoryDate

- view all commands -