animateDoor: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<br><br> {{Feature" to "{{Feature")
m (Text replacement - "| Nothing |x1=" to "|r1= Nothing |x1=")
Line 41: Line 41:
|p5= instant: [[Boolean]] (When [[true]] and phase is either 0 or 1, door will change phase instantaneously)
|p5= instant: [[Boolean]] (When [[true]] and phase is either 0 or 1, door will change phase instantaneously)


| [[Nothing]]
|r1= [[Nothing]]


|x1= <code>Taru [[animateDoor]] ["Door_1_source", 1];</code>
|x1= <code>Taru [[animateDoor]] ["Door_1_source", 1];</code>

Revision as of 10:01, 10 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Animations

Syntax

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

Examples

Example 1:
Taru animateDoor ["Door_1_source", 1];
Example 2:
Open left front door on Ifrit instantly:Ifrit animateDoor ["Door_LF", 1, true];

Additional Information

See also:
doorPhasesetFaceAnimationanimateanimationPhaseanimateSourceanimationSourcePhaseanimationNames

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