needReload

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Armed Assault version 1.00
  

Click on the images for descriptions

Introduced in

Game:
Armed Assault
Version:
1.00

Description

Description:
Return how much vehicle wants to reload its weapons.

Syntax

Syntax:
Number = needReload vehicle
Parameters:
vehicle: Object
Return Value:
Number Range: 0-1, 0: full mag, 1: empty mag

Examples

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

Additional Information

Multiplayer:
-
See also:
reloadreloadEnabledenableReload

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section