animateDoor: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) |
Lou Montana (talk | contribs) m (Text replacement - " \| *([^=\| ]+) * \|p1=" to " |s1= $1 |p1=") |
||
Line 29: | Line 29: | ||
To animate doors or other sources that have "user" controller, use [[animate]] command, or even better, [[animateSource]] (recommended). Sources with "hit" controller can be animated with [[setHitPointDamage]] command applied to the name contained in hitpoint property. For availability of animation sources and their controller types see: [[Arma 3: createVehicle/vehicles]] | To animate doors or other sources that have "user" controller, use [[animate]] command, or even better, [[animateSource]] (recommended). Sources with "hit" controller can be animated with [[setHitPointDamage]] command applied to the name contained in hitpoint property. For availability of animation sources and their controller types see: [[Arma 3: createVehicle/vehicles]] | ||
| object '''animateDoor''' [doorname, phase, instant] | |s1= object '''animateDoor''' [doorname, phase, instant] | ||
|p1= object: [[Object]] | |p1= object: [[Object]] |
Revision as of 22:44, 12 June 2021
Description
- Description:
- Description needed
- Groups:
- Animations
Syntax
- Syntax:
- object animateDoor [doorname, phase, instant]
- 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