reload: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Add more games) |
Killzone Kid (talk | contribs) No edit summary |
||
Line 25: | Line 25: | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|s2= unit [[reload]] [muzzle, magazine] | |||
|s2since= Arma3 2.08 | |||
|p21= unit: [[Object]] - person | |||
|p22= muzzle (Optional): [[String]] - muzzle name or "" for current muzzle. Default: [[currentMuzzle]] | |||
|p23= magazine (Optional): [[String]] - magazine name or "" for current mmagazine. Default: [[currentMagazine]] | |||
|r2= [[Boolean]] - [[true]] on success | |||
|x1= <code>[[if]] ([[needReload]] [[player]] == 1) [[then]] { [[reload]] [[player]] };</code> | |x1= <code>[[if]] ([[needReload]] [[player]] == 1) [[then]] { [[reload]] [[player]] };</code> |
Revision as of 20:07, 1 January 2022
Description
- Description:
- Reload all weapons.
- Groups:
- Weapons
Syntax
Alternative Syntax
- Syntax:
- unit reload [muzzle, magazine]
- Parameters:
- unit: Object - person
- muzzle (Optional): String - muzzle name or "" for current muzzle. Default: currentMuzzle
- magazine (Optional): String - magazine name or "" for current mmagazine. Default: currentMagazine
- Return Value:
- Boolean - true on success
Examples
Additional Information
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
Categories:
- Scripting Commands
- Introduced with Armed Assault version 1.00
- ArmA: Armed Assault: New Scripting Commands
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 2: Operation Arrowhead: Scripting Commands
- Take On Helicopters: Scripting Commands
- Arma 3: Scripting Commands
- Command Group: Weapons