Warning: file_put_contents(/ff_a47122bcd6eff77fb48217c269809df7c58312d90e8477c2.php): failed to open stream: Permission denied in /home/ofpecsav/public_html/forum/Sources/Subs-ForumFirewall.php on line 1619
animateDoor - OFPEC Scripting Command Reference | OFPEC The Editing Center

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