reload: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
Line 18: Line 18:


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


| [[reloadEnabled]] |= See also
| [[reloadEnabled]], [[needReload]] |= See also


}}
}}

Revision as of 22:04, 11 April 2014


-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:
reloadEnabledneedReload

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