reload: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<h3 style="display:none">Bottom Section</h3> " to "")
m (Text replacement - " {3,}\|" to " |")
Line 17: Line 17:


| [[Nothing]]
| [[Nothing]]


|x1= <code>[[if]] ([[needReload]] [[player]] == 1) [[then]] {'''reload''' [[player]]};</code>
|x1= <code>[[if]] ([[needReload]] [[player]] == 1) [[then]] {'''reload''' [[player]]};</code>

Revision as of 18:55, 18 January 2021


Hover & click on the images for description

Description

Description:
Reload all weapons
Groups:
Weapons

Syntax

Syntax:
reload unitName
Parameters:
unitName: Object
Return Value:
Nothing

Examples

Example 1:
if (needReload player == 1) then {reload player};

Additional Information

See also:
reloadEnabledneedReloadenableReloadsetWeaponReloadingTime

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