vehicleName animateDoor [doorname, phase, now]

Operand types

vehicleName: Object
[doorname, phase, now]: Array

Type of returned value

Description

Process vehicle door animation.
Animation is defined in the vehicle's config file.

doorname: String
phase: Number - Animation phase
now: Boolean - When set true and phase is either 0 or 1, door will change phase instantaneously

Used In

Arma3

Example

heli animateDoor ["doors1", 1, false];

ifrit animateDoor ["Door_LF", 1, true];

Advertisement