ctrlAnimationPhaseModel: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=]{12})" to "|$1=$2 |descr=$3")
m (Some wiki formatting)
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma3
|game1= arma3
|1.84
|version1= 1.84


|gr1= GUI Control - Object
|gr1= GUI Control - Object
Line 8: Line 8:
|descr= Returns current animation phase of given source. Similar to [[animationSourcePhase]].
|descr= Returns current animation phase of given source. Similar to [[animationSourcePhase]].


|s1= control '''ctrlAnimationPhaseModel''' source
|s1= control [[ctrlAnimationPhaseModel]] source


|p1= control : [[Control]] - 3D control
|p1= control : [[Control]] - 3D control
Line 16: Line 16:
|r1= [[Number]]
|r1= [[Number]]


|x1= <code>_phase = _control3D [[ctrlAnimationPhaseModel]] "Close";</code>
|x1= <sqf>private _phase = _control3D ctrlAnimationPhaseModel "Close";</sqf>


|seealso= [[ctrlAnimateModel]], [[ctrlCreate]], [[ctrlDelete]], [[ctrlModel]], [[ctrlPosition]], [[ctrlSetPosition]], [[ctrlClassName]], [[displayCtrl]], [[ctrlModelScale]], [[ctrlSetModelScale]], [[ctrlModelDirAndUp]], [[ctrlSetModelDirAndUp]]
|seealso= [[ctrlAnimateModel]] [[ctrlCreate]] [[ctrlDelete]] [[ctrlModel]] [[ctrlPosition]] [[ctrlSetPosition]] [[ctrlClassName]] [[displayCtrl]] [[ctrlModelScale]] [[ctrlSetModelScale]] [[ctrlModelDirAndUp]] [[ctrlSetModelDirAndUp]]
}}
}}

Latest revision as of 00:27, 4 May 2022

Hover & click on the images for description

Description

Description:
Returns current animation phase of given source. Similar to animationSourcePhase.
Groups:
GUI Control - Object

Syntax

Syntax:
control ctrlAnimationPhaseModel source
Parameters:
control : Control - 3D control
source: String
Return Value:
Number

Examples

Example 1:
private _phase = _control3D ctrlAnimationPhaseModel "Close";

Additional Information

See also:
ctrlAnimateModel ctrlCreate ctrlDelete ctrlModel ctrlPosition ctrlSetPosition ctrlClassName displayCtrl ctrlModelScale ctrlSetModelScale ctrlModelDirAndUp ctrlSetModelDirAndUp

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