ctrlAnimationPhaseModel: 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 (Some wiki formatting)
 
(17 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


| Returns current animation phase of given source. Similar to [[animationSourcePhase]].
|descr= Returns current animation phase of given source. Similar to [[animationSourcePhase]].


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


|p1= control : [[Control]] - 3D control
|p1= control : [[Control]] - 3D control
Line 14: Line 14:
|p2= source: [[String]]
|p2= source: [[String]]


\|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