needService: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Refresh) |
Killzone Kid (talk | contribs) No edit summary |
||
Line 19: | Line 19: | ||
|x2= <sqf>onEachFrame { hintSilent str needService vehicle player };</sqf> | |x2= <sqf>onEachFrame { hintSilent str needService vehicle player };</sqf> | ||
|seealso= [[needReload]] | |seealso= [[allowService]] [[allowedService]] [[needReload]] | ||
}} | }} |
Revision as of 22:50, 28 December 2022
Description
- Description:
- Returns array with how much vehicle needs repairing, refueling and rearming.
- Groups:
- Object Manipulation
Syntax
- Syntax:
- needService vehicle
- Parameters:
- vehicle: Object
- Return Value:
- Array in format [repair, refuel, rearm]. Values are in range 0..1: 0: no need, 1: maximum need
Examples
- Example 1:
- Example 2:
Additional Information
- See also:
- allowService allowedService 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