BIS_fnc_doorClose

From Bohemia Interactive Community
Revision as of 12:32, 8 November 2023 by Lou Montana (talk | contribs) (Text replacement - "(\|p[0-9]+ *= *[^(]+\(Optional(, default[^)]*)\) )V([a-z])" to "$1v$3")
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Close a door with an animated doorhandle.
Execution:
call
Groups:
Scripts

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