GSC reference › Built-in
AllowActionSlotInput()
Built-in (engine)
Client
Always allow action slot input
Signature
AllowActionSlotInput(<localClientNum>)
Parameters
| Name | Required? | Details |
|---|---|---|
| localClientNum | Required | Client number of the controller you to enable the action slots |
Example (from Treyarch's docs)
AllowActionSlotInput(localclientnum)
Real uses in BO3's scripts
Called 2 times in the decompiled scripts. A few, zombies first:
- scripts/mp/_end_game_flow.csc, line 300
allowactionslotinput(playerindex); - scripts/mp/gametypes/fr.csc, line 45
allowactionslotinput(localclientnum);
Related built-ins
- SetActionSlot()Sets action slot for the player
- ActionSlotFourButtonPressed()Check if the player is pressing the action slot 4 button
- ActionSlotOneButtonPressed()Check if the player is pressing the action slot 1 button
- ActionSlotThreeButtonPressed()Check if the player is pressing the action slot 3 button
- ActionSlotTwoButtonPressed()Check if the player is pressing the action slot 2 button
- GadgetGetSlot()Get gadget slot for weapon.
- WeaponLockRemoveSlot()Removes the given slot values and compresses the remaining slots (i.e.
- GetFractionStartAmmo()Give fraction of start ammo to the player for the weapon
- ArenaGetSlot()Returns the current arena slot
- GetFractionMaxAmmo()Get fraction of the max ammo
- ActionButtonPressed()Check if the player is pressing the 'action' button.
- GetDefaultClassSlot()Gets the item in a particular default class slot
New to GSC?
Start with the basics, or paste a compile error to get the fix.
Built-in descriptions, parameters and examples come from Treyarch's BO3 mod tools docs. Usage links point at shiversoftdev/t7-source (decompiled BO3 scripts).