reload: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (See also)
m (template:command argument fix)
Line 20: Line 20:




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



Revision as of 10:36, 7 April 2019


-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Reload all weapons
Groups:
Uncategorised

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

Notes

Bottom Section