animationSourcePhase: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|( *\[\[[a-zA-Z]+\]\]) * \|x1=" to "\|r1=$1 \|x1=")
m (Text replacement - "\|" to "|")
Line 14: Line 14:
|p2= source: [[String]]
|p2= source: [[String]]


\|r1= [[Number]]
|r1= [[Number]]


\|x1= <code>_phase = house [[animationSourcePhase]] "Door_1_source";</code>
|x1= <code>_phase = house [[animationSourcePhase]] "Door_1_source";</code>
|x2= <code>_mainturretDirection = [[deg]] (_marshall [[animationSourcePhase]] "mainturret"); // relative to Marshall direction
|x2= <code>_mainturretDirection = [[deg]] (_marshall [[animationSourcePhase]] "mainturret"); // relative to Marshall direction
_maingunElevation = [[deg]] (_marshall [[animationSourcePhase]] "maingun");
_maingunElevation = [[deg]] (_marshall [[animationSourcePhase]] "maingun");

Revision as of 10:31, 10 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Animations

Syntax

Syntax:
Syntax needed
Parameters:
object: Object
source: String
Return Value:
Number

Examples

Example 1:
_phase = house animationSourcePhase "Door_1_source";
Example 2:
_mainturretDirection = deg (_marshall animationSourcePhase "mainturret"); // relative to Marshall direction _maingunElevation = deg (_marshall animationSourcePhase "maingun"); _obsturretDirection = deg (_marshall animationSourcePhase "obsturret"); // relative to main turret direction _obsgunElevation = deg (_marshall animationSourcePhase "obsgun");

Additional Information

See also:
animateSourceanimationNamesanimateanimationPhaseanimateDoordoorPhase

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