isSwitchingWeapon: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (Created page with "{{RV|type=command |game1= arma3 |version1= 2.20 |arg= global |gr1= Unit Inventory |descr= Returns wether or not the unit is in the process of switching weapon. |s1= isSwitchingWeapon unit |p1= unit: Object |r1= Boolean - true if the unit is switching weapon. |x1= <sqf>isSwithingWeapon player;</sqf> |seealso= primaryWeaponMagazine primaryWeaponItems addPrimaryWeaponItem removePrimaryWeaponItem removeAllPrimaryWeaponItems seco...") |
Killzone Kid (talk | contribs) No edit summary |
||
Line 16: | Line 16: | ||
|r1= [[Boolean]] - [[true]] if the unit is switching weapon. | |r1= [[Boolean]] - [[true]] if the unit is switching weapon. | ||
|x1= <sqf> | |x1= <sqf>isSwitchingWeapon player;</sqf> | ||
|seealso= [[primaryWeaponMagazine]] [[primaryWeaponItems]] [[addPrimaryWeaponItem]] [[removePrimaryWeaponItem]] [[removeAllPrimaryWeaponItems]] [[secondaryWeapon]] [[handgunWeapon]] [[currentWeapon]] [[weapons]] [[primaryWeapon]] | |seealso= [[primaryWeaponMagazine]] [[primaryWeaponItems]] [[addPrimaryWeaponItem]] [[removePrimaryWeaponItem]] [[removeAllPrimaryWeaponItems]] [[secondaryWeapon]] [[handgunWeapon]] [[currentWeapon]] [[weapons]] [[primaryWeapon]] | ||
}} | }} |
Revision as of 23:57, 2 November 2024
Description
- Description:
- Returns wether or not the unit is in the process of switching weapon.
- Groups:
- Unit Inventory
Syntax
- Syntax:
- isSwitchingWeapon unit
- Parameters:
- unit: Object
- Return Value:
- Boolean - true if the unit is switching weapon.
Examples
- Example 1:
- isSwitchingWeapon player;
Additional Information
- See also:
- primaryWeaponMagazine primaryWeaponItems addPrimaryWeaponItem removePrimaryWeaponItem removeAllPrimaryWeaponItems secondaryWeapon handgunWeapon currentWeapon weapons primaryWeapon
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note