{"name":"BIS_fnc_doorClose","operator":null,"title":"BIS fnc doorClose","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_doorClose","revid":364843,"updated":"2024-06-17T11:13:02Z","groups":["Scripts"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.00"}],"since":{"game":"arma3","name":"Arma 3","version":"1.00"},"arma3_since":"1.00","branch":null,"locality":{"argument":"global","effect":"global","server_exec":false},"exec":null,"description":"Close a door with an animated doorhandle.","syntaxes":[{"syntax":"[building, doorAnimation, handleDownAnimation, doorHandleUpAnimation, animationPhase] call BIS_fnc_doorClose","since":null,"effect":null,"exec":null,"params":[{"name":"building","type":"Object","optional":true,"default":"objNull","description":"building","types":["Object"],"since":null,"text":"building: Object - (Optional, default objNull) building"},{"name":"doorAnimation","type":"String","optional":true,"default":"\"\"","description":"name of the door animation","types":["String"],"since":null,"text":"doorAnimation: String - (Optional, default \"\") name of the door animation"},{"name":"handleDownAnimation","type":"String","optional":true,"default":"\"\"","description":"animation source of handle down","types":["String"],"since":null,"text":"handleDownAnimation: String - (Optional, default \"\") animation source of handle down"},{"name":"doorHandleUpAnimation","type":"String","optional":true,"default":"\"\"","description":"animation source of handle up","types":["String"],"since":null,"text":"doorHandleUpAnimation: String - (Optional, default \"\") animation source of handle up"},{"name":"animationPhase","type":"Number","optional":true,"default":"0","description":"value from 0-1","types":["Number"],"since":null,"text":"animationPhase: Number - (Optional, default 0) value from 0-1"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"}}],"examples":[{"text":"```sqf\n[building, \"doorAnimation\", \"animationUp\", \"animationDown\", 1] call BIS_fnc_doorClose;\n```","code":["[building, \"doorAnimation\", \"animationUp\", \"animationDown\", 1] call BIS_fnc_doorClose;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["animate","animateSource","BIS_fnc_door"],"notes":[],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: Scripts","Functions","Functions: Global Effect","Introduced with Arma 3 version 1.00"],"docblock":null,"filled_from_docblock":[]}