{"name":"BIS_fnc_door","operator":null,"title":"BIS fnc door","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_door","revid":349005,"updated":"2023-11-08T14:46:14Z","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":"Changes animation phase of given door.","syntaxes":[{"syntax":"[building, doorIndex, animationPhase] call BIS_fnc_door","since":null,"effect":null,"exec":null,"params":[{"name":"building","type":"Object","optional":false,"default":null,"description":"building","types":["Object"],"since":null,"text":"building: Object - building"},{"name":"doorIndex","type":"Number","optional":false,"default":null,"description":"index of the door used in \"bis_disabled_Door_%1\", \"Door_%1_sound_source\", \"Door_%1_noSound_source\", \"Door_%1_locked_source\"","types":["Number"],"since":null,"text":"doorIndex: Number - index of the door used in \"bis_disabled_Door_%1\", \"Door_%1_sound_source\", \"Door_%1_noSound_source\", \"Door_%1_locked_source\""},{"name":"animationPhase","type":"Number","optional":false,"default":null,"description":"phase of the animation, see animateSource for more information","types":["Number"],"since":null,"text":"animationPhase: Number - phase of the animation, see animateSource for more information"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"}}],"examples":[{"text":"```sqf\n[_building, 5, 1] call BIS_fnc_door;\n```","code":["[_building, 5, 1] call BIS_fnc_door;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["BIS_fnc_doorOpen","BIS_fnc_doorNoHandleOpen","BIS_fnc_doorClose"],"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":[]}