inv_weapon_disable_slot(slot_index[, disable[, sync_flags]]) | ||
Parameters: | ||
slot_index | (integer) index of the weapon to slot | |
disable | (boolean, optional) set to true to disable the weapon slot, or false to enable it (defaults to true) | |
sync_flags | (integer, optional) synchronization type (MULTI_SYNC_LOCAL = affects local player, MULTI_SYNC_REMOTE = affects remote player, or MULTI_SYNC_ALL = affects both players; defaults to MULTI_SYNC_ALL) | |
Returns: | ||
none | ||
Description: | ||
Enable/disable a specific weapon slot. Note that this call needs to be undone before the mission ends. The inv_weapon_disable_all_slots function is the easiest way to reset weapon slots. The available weapon slot indices are: | ||
back to index | SR3 Script Action Documentation Last updated: Tue, 09 Aug 2011 11:32:16 |