Description
- This is a sub function designed to handle animations of ship hangar doors. Used in Eden attributes and objects user actions.
Syntax
[] call BIS_fnc_destroyer01AnimateHangarDoors
Parameters:
mode— 0: (Scalar)param0— 0: ship-part object andparam1— 1: animation state of doorsparam2— 2: animation speed (instant = true/smooth=false);
Returns: nothing Ship's hangar door animation is played with sounds added.
Examples
Example 1
[_shipPart, _value, false] spawn BIS_fnc_destroyer01AnimateHangarDoors;
Function header
The comment at the top of the function's file in the game; this page's description, params, returns, examples come from it.
/*
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.
Execution:
- Call from script.
Example:
[_shipPart, _value, false] spawn BIS_fnc_destroyer01AnimateHangarDoors;
Required:
Object (ship) must have all animations correctly defined and user actions configured.
Parameter(s):
_this select 0: mode (Scalar)
0: ship-part object
and
1: animation state of doors
2: animation speed (instant = true/smooth=false);
Returns: nothing
Result: Ship's hangar door animation is played with sounds added.
*/