{"name":"BIS_fnc_destroyer01AnimateHangarDoors","operator":null,"title":"BIS fnc destroyer01AnimateHangarDoors","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_destroyer01AnimateHangarDoors","revid":286010,"updated":"2021-06-20T17:24:13Z","groups":["Destroyer"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.84"}],"since":{"game":"arma3","name":"Arma 3","version":"1.84"},"arma3_since":"1.84","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"- This is a sub function designed to handle animations of ship hangar doors. Used in Eden attributes and objects user actions.","syntaxes":[{"syntax":"[] call BIS_fnc_destroyer01AnimateHangarDoors","since":null,"effect":null,"exec":null,"params":[{"name":"mode","type":"Number","types":["Number"],"optional":false,"default":null,"description":"(Scalar)","since":null,"text":"0: (Scalar)","source":"docblock"},{"name":"param0","type":null,"types":[],"optional":false,"default":null,"description":"ship-part object\nand","since":null,"text":"0: ship-part object\nand","source":"docblock"},{"name":"param1","type":null,"types":[],"optional":false,"default":null,"description":"animation state of doors","since":null,"text":"1: animation state of doors","source":"docblock"},{"name":"param2","type":null,"types":[],"optional":false,"default":null,"description":"animation speed (instant = true/smooth=false);","since":null,"text":"2: animation speed (instant = true/smooth=false);","source":"docblock"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"nothing\nShip's hangar door animation is played with sounds added.","source":"docblock"}}],"examples":[{"text":"```sqf\n[_shipPart, _value, false] spawn BIS_fnc_destroyer01AnimateHangarDoors;\n```","code":["[_shipPart, _value, false] spawn BIS_fnc_destroyer01AnimateHangarDoors;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":[],"notes":[],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: Destroyer","Functions","Introduced with Arma 3 version 1.84"],"docblock":{"author":"Bravo Zero One development, John_Spartan","description":"- This is a sub function designed to handle animations of ship hangar doors. Used in Eden attributes and objects user actions.","params":[{"index":0,"name":"mode","types":["Number"],"optional":false,"default":null,"description":"(Scalar)","text":"(Scalar)"},{"index":0,"name":null,"types":[],"optional":false,"default":null,"description":"ship-part object\nand","text":"ship-part object\nand"},{"index":1,"name":null,"types":[],"optional":false,"default":null,"description":"animation state of doors","text":"animation state of doors"},{"index":2,"name":null,"types":[],"optional":false,"default":null,"description":"animation speed (instant = true/smooth=false);","text":"animation speed (instant = true/smooth=false);"}],"returns":{"types":["Nothing"],"text":"nothing\nShip's hangar door animation is played with sounds added."},"examples":["[_shipPart, _value, false] spawn BIS_fnc_destroyer01AnimateHangarDoors;"],"syntax":null,"execution":"- Call from script.","notes":null,"requirements":"Object (ship) must have all animations correctly defined and user actions configured.","meta":{},"text":"Author: Bravo Zero One development\n- John_Spartan\n\nDescription:\n- This is a sub function designed to handle animations of ship hangar doors. Used in Eden attributes and objects user actions.\n\nExecution:\n- Call from script.\n\nExample:\n    [_shipPart, _value, false] spawn BIS_fnc_destroyer01AnimateHangarDoors;\n\nRequired:\n    Object (ship) must have all animations correctly defined and user actions configured.\n\nParameter(s):\n    _this select 0: mode (Scalar)\n    0: ship-part object\n    and\n    1: animation state of doors\n    2: animation speed (instant = true/smooth=false);\n\nReturns: nothing\nResult: Ship's hangar door animation is played with sounds added."},"filled_from_docblock":["description","params","returns","examples"]}