allowedService: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Some wiki formatting) |
Cat Harsis (talk | contribs) m (2.12 released, no longer only dev branch) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 3: | Line 3: | ||
|game1= arma3 | |game1= arma3 | ||
|version1= 2.12 | |version1= 2.12 | ||
| | |||
|arg= global | |||
|gr1= Object Manipulation | |gr1= Object Manipulation | ||
|descr= Returns which types of repair/refuel/rearm service are allowed. The two available types are manual, where the action is displayed to the user, and auto, where the service happens within distance. | |descr= Returns which types of repair/refuel/rearm service are allowed. The two available types are manual, where the action is displayed to the user, and auto, where the service happens within distance. | ||
The engine default is both (auto | The engine default is both (manual and auto) for historic reasons. | ||
|s1= [[allowedService]] vehicle | |s1= [[allowedService]] vehicle |
Latest revision as of 15:43, 28 February 2023
Description
- Description:
- Returns which types of repair/refuel/rearm service are allowed. The two available types are manual, where the action is displayed to the user, and auto, where the service happens within distance. The engine default is both (manual and auto) for historic reasons.
- Groups:
- Object Manipulation
Syntax
- Syntax:
- allowedService vehicle
- Parameters:
- vehicle: Object - supply vehicle, i.e. ammo truck
- Return Value:
- Number - 0: none, 1: auto, 2: manual, 3: both, -1: unsupported
Examples
- Example 1:
Additional Information
- See also:
- allowService needService
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