reloadEnabled: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>\[\[private\]\] _([a-zA-Z0-9_]+) = \[\[([a-zA-Z0-9]+)\]\] _([a-zA-Z0-9_]+);?<\/code>" to "<sqf>private _$1 = $2 _$3;</sqf>")
No edit summary
Line 18: Line 18:
|gr1= Weapons
|gr1= Weapons


|descr= Check whether magazine is reloaded whenever emptied.
|descr= A getter for [[enableReload]].


|s1= [[reloadEnabled]] unitName
|s1= [[reloadEnabled]] unitName

Revision as of 14:03, 2 November 2024

Hover & click on the images for description

Description

Description:
A getter for enableReload.
Groups:
Weapons

Syntax

Syntax:
reloadEnabled unitName
Parameters:
unitName: Object
Return Value:
Boolean

Examples

Example 1:
private _canReload = reloadEnabled _unit1;

Additional Information

See also:
enableReload reload needReload

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