Arma 3 Scripting

allowService

  • Local argument
  • Global effect
  • Arma 3 v2.12

Command · Markdown · JSON · original wiki page

Description

Sets which type of repair/refuel/rearm service is 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.

Syntax

vehicle allowService type

Parameters:

Returns: Nothing

Examples

Example 1

ammoTruck allowService 0;

See also

allowedService · needService