needService

From Bohemia Interactive Community
Revision as of 12:57, 25 December 2022 by Killzone Kid (talk | contribs) (Created page with "{{RV|type=command |game1= arma3 |version1= 2.12 |branch= dev |gr1= Object Manipulation |descr= Return array with how much vehicle needs [repairing, refueling, rearming] |s...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Hover & click on the images for description
Only available in Development branch(es) until its release with Arma 3 patch v2.12.

Description

Description:
Return array with how much vehicle needs [repairing, refueling, rearming]
Groups:
Object Manipulation

Syntax

Syntax:
needService vehicle
Parameters:
vehicle: Object
Return Value:
Number Range: 0-1, 0: no need, 1: maximum need

Examples

Example 1:
_what = needService tank;

Additional Information

See also:
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