{"name":"BIS_fnc_doorClose","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","games":{"arma3":"1.00"},"since":"arma3 1.00","arma3_since":"1.00","locality":{"argument":"global","effect":"global"},"description":"Close a door with an animated doorhandle.","syntaxes":[{"syntax":"[building, doorAnimation, handleDownAnimation, doorHandleUpAnimation, animationPhase] call BIS_fnc_doorClose","params":[{"name":"building","type":"Object","optional":true,"default":"objNull","description":"building","type_expr":"Object","text":"building: Object - (Optional, default objNull) building"},{"name":"doorAnimation","type":"String","optional":true,"default":"\"\"","description":"name of the door animation","type_expr":"String","text":"doorAnimation: String - (Optional, default \"\") name of the door animation"},{"name":"handleDownAnimation","type":"String","optional":true,"default":"\"\"","description":"animation source of handle down","type_expr":"String","text":"handleDownAnimation: String - (Optional, default \"\") animation source of handle down"},{"name":"doorHandleUpAnimation","type":"String","optional":true,"default":"\"\"","description":"animation source of handle up","type_expr":"String","text":"doorHandleUpAnimation: String - (Optional, default \"\") animation source of handle up"},{"name":"animationPhase","type":"Number","optional":true,"default":"0","description":"value from 0-1","type_expr":"Number","text":"animationPhase: Number - (Optional, default 0) value from 0-1"}],"returns":{"type":"Nothing","type_expr":"Nothing"}}],"examples":[{"code":["[building, \"doorAnimation\", \"animationUp\", \"animationDown\", 1] call BIS_fnc_doorClose;"]}],"see_also":["animate","animateSource","BIS_fnc_door"]}