BIS fnc doorClose: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "{{Function " to "{{RV|type=function ") |
Lou Montana (talk | contribs) m (Text replacement - "\[\[BIS[ _]fnc[ _]D" to "[[BIS_fnc_d") |
||
Line 13: | Line 13: | ||
|descr=Close a door with an animated doorhandle. | |descr=Close a door with an animated doorhandle. | ||
|s1= [building, doorAnimation, handleDownAnimation, doorHandleUpAnimation, animationPhase] [[call]] [[ | |s1= [building, doorAnimation, handleDownAnimation, doorHandleUpAnimation, animationPhase] [[call]] [[BIS_fnc_doorClose]] | ||
|p1=building: [[Object]] - (Optional, default [[objNull]]) Building | |p1=building: [[Object]] - (Optional, default [[objNull]]) Building | ||
Line 27: | Line 27: | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= <code>[building,"doorAnimation","animationUp","animationDown",1] [[call]] [[ | |x1= <code>[building,"doorAnimation","animationUp","animationDown",1] [[call]] [[BIS_fnc_doorClose]];</code> | ||
|exec= call | |exec= call | ||
|seealso= [[animate]] [[animateSource]] [[ | |seealso= [[animate]] [[animateSource]] [[BIS_fnc_door]] | ||
}} | }} |
Revision as of 23:56, 27 January 2021
Description
Syntax
- Syntax:
- [building, doorAnimation, handleDownAnimation, doorHandleUpAnimation, animationPhase] call BIS_fnc_doorClose
- Parameters:
- building: Object - (Optional, default objNull) Building
- doorAnimation: String - (Optional, default "") Name of the door animation
- handleDownAnimation: String - (Optional, default "") Animation source of handle down
- doorHandleUpAnimation: String - (Optional, default "") Animation source of handle up
- animationPhase: Number - (Optional, default 0) Value from 0-1
- Return Value:
- Nothing
Examples
- Example 1:
[building,"doorAnimation","animationUp","animationDown",1] call BIS_fnc_doorClose;
Additional Information
- See also:
- animate animateSource BIS_fnc_door
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