reload: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
||
Line 2: | Line 2: | ||
{{GameCategory|arma1|Scripting Commands}} | {{GameCategory|arma1|Scripting Commands}} | ||
{{Command | {{Command | ||
| arma1 | | arma1 | ||
|1.00 | |1.00 | ||
|gr1= Weapons | |gr1= Weapons | ||
| Reload all weapons | | Reload all weapons | ||
| '''reload''' unitName | | '''reload''' unitName | ||
|p1= unitName: [[Object]] | |p1= unitName: [[Object]] | ||
| [[Nothing]] | | [[Nothing]] | ||
|x1= <code>[[if]] ([[needReload]] [[player]] == 1) [[then]] {'''reload''' [[player]]};</code> | |x1= <code>[[if]] ([[needReload]] [[player]] == 1) [[then]] {'''reload''' [[player]]};</code> | ||
| [[reloadEnabled]], [[needReload]], [[enableReload]], [[setWeaponReloadingTime]] | | [[reloadEnabled]], [[needReload]], [[enableReload]], [[setWeaponReloadingTime]] | ||
}} | }} |
Revision as of 01:36, 18 January 2021
Description
- Description:
- Reload all weapons
- Groups:
- Weapons
Syntax
Examples
- Example 1:
if (needReload player == 1) then {reload player};
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