reload: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) No edit summary |
Killzone Kid (talk | contribs) No edit summary |
||
Line 31: | Line 31: | ||
|p21= unit: [[Object]] - person | |p21= unit: [[Object]] - person | ||
|p22= muzzle (Optional): [[String]] - muzzle name or "" for current muzzle. Default: [[currentMuzzle]] | |p22= muzzle (Optional): [[String]] - muzzle name or "" for current muzzle. Default: [[currentMuzzle]] | ||
|p23= magazine (Optional): [[String]] - magazine name or "" for | |p23= magazine (Optional): [[String]] - magazine name or "" for given muzzle magazine. Default: given muzzle magazine. If given muzzle is [[currentMuzzle]] then [[currentMagazine]] | ||
|r2= [[Boolean]] - [[true]] on success | |r2= [[Boolean]] - [[true]] on success |
Revision as of 20:13, 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 given muzzle magazine. Default: given muzzle magazine. If given muzzle is currentMuzzle then 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