BIS_fnc_doorClose

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 3 version 1.001.00Arguments of this scripting function don't have to be local to the client the function is executed onEffects of this scripting function are broadcasted over the network and happen on every computer in the network
Hover & click on the images for descriptions

Description

Description:
Close a door with an animated doorhandle.
Multiplayer:
Effect is global

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

Execution:
call
See also:
animate animateSource BIS_fnc_Door

Notes

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.