animateDoor: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (see also)
(added MP behavior)
Line 5: Line 5:


|0.50|= Game version
|0.50|= Game version
|eff= local|= Effects in MP
|arg= global|= Arguments in MP
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 19:16, 16 May 2015

Hover & click on the images for description

Description

Description:
Process animation of door on vehicle. Animation is defined in config file. Wanted animation phase is set to phase.
Groups:
Uncategorised

Syntax

Syntax:
object animateDoor [doorname, phase, now]
Parameters:
object: Object
[doorname, phase, now]: Array
doorname: String
phase: Number
now: Boolean (When true and phase is either 0 or 1, door will change phase instantaneously)
Return Value:
Nothing

Examples

Example 1:
heli animateDoor ["doors1", 1, false];
Example 2:
Open left front door on Ifrit instantly:ifrit animateDoor ["Door_LF", 1, true];

Additional Information

See also:
doorPhaseanimateanimationPhasesetFaceAnimation

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

Notes

Bottom Section