BIS fnc carrier01AnimateDeflectors: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "\[\[Category:Function Group: [a-zA-Z0-9_: ]+(\|\{\{[a-zA-Z0-9_: ]+\}\})?\]\]" to " ") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Function|Comments= | {{Function|Comments= | ||
| arma3 |Game name= | | arma3 |Game name= | ||
Line 7: | Line 6: | ||
|gr1= Aircraft Carrier |GROUP1= | |gr1= Aircraft Carrier |GROUP1= | ||
| <pre>/* | | <pre>/* | ||
Line 50: | Line 48: | ||
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |DESCRIPTION= | </pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |DESCRIPTION= | ||
| <!-- [] call [[BIS_fnc_Carrier01AnimateDeflectors]]; --> |SYNTAX= | | <!-- [] call [[BIS_fnc_Carrier01AnimateDeflectors]]; --> |SYNTAX= | ||
Line 56: | Line 53: | ||
| |RETURNVALUE= | | |RETURNVALUE= | ||
|x1= <code></code> |EXAMPLE1= | |x1= <code></code> |EXAMPLE1= | ||
| |SEEALSO= | | |SEEALSO= |
Revision as of 21:53, 16 January 2021
Description
- Description:
/* Author: Bravo Zero One development - John_Spartan & Jiri Wainar Description: - On demand function to invoke set of animations associated with carrier catapult jet blast deflector. Exucution: - Call the function via code/script [_carrierPart, _animations, 10] spawn BIS_fnc_Carrier01AnimateDeflectors; Requirments: - Compatible carrier part must have a config definition for all sub-systems that will be invoked by this function example of cfgVehicles subclass definitions for carrier part; class Catapults { class Catapult1 { memoryPoint = "pos_catapult_01"; Memory point in carrier part model.p3d dirOffset = -5.5; Offset angle in degrees between carrier part direction and actual catapult launch direction animations[] = {"Deflector_1","Deflector_1_hydraulic_1", "Deflector_1_hydraulic_2","Deflector_1_hydraulic_3"}; Array with animation names for carrier part jet blast deflectors launchActionName = "$STR_A3_action_launchFromCatapult_1"; Visual display name of "Attach Action" detachActionName = "$STR_A3_action_detachFromCatapult_1"; Visual display name of "Dettach Action" }; }; Parameter(s): _this select 0: mode (Scalar) 0: carrier part/object to animate 1: animations/array of animations to animate 2: animationState/int for required animation state Returns: nothing Result: Aircraft carrier part's specified catapult's animations are played/animated */
(Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki)- Execution:
- call
- Groups:
- Aircraft Carrier
Syntax
- Syntax:
- Syntax needed
- Return Value:
- Return value needed
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