animateDoor: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) mNo edit summary |
m (see also) |
||
Line 30: | Line 30: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[doorPhase]], [[animate]] |= SEEALSO | | [[doorPhase]], [[animate]], [[animationPhase]], [[setFaceAnimation]] |= SEEALSO | ||
| |= MPBEHAVIOUR | | |= MPBEHAVIOUR |
Revision as of 11:05, 25 August 2014
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
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