Warning: file_put_contents(/ff_db77056703e84c4711cacfbd23a84e26314ef939d6fb8404.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


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



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

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