BIS_fnc_destroyer01AnimateHangarDoors

From Bohemia Interactive Community
Revision as of 23:13, 18 January 2021 by Lou Montana (talk | contribs) (Text replacement - " {2,}\}\}" to " }}")
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
/*
	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.

*/
Template:placeholder
Execution:
call
Groups:
Destroyer

Syntax

Syntax:
[] call BIS_fnc_Destroyer01AnimateHangarDoors
Parameters:
parameter: Datatype - (Optional, default defValue) description
Return Value:
Datatype - description

Examples

Example 1:

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note