ctrlAnimationPhaseModel: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...)
m (Some wiki formatting)
 
(23 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{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]]


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


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


|x1= <code>_phase = _control3D [[ctrlAnimationPhaseModel]] "Close";</code>
|seealso= [[ctrlAnimateModel]] [[ctrlCreate]] [[ctrlDelete]] [[ctrlModel]] [[ctrlPosition]] [[ctrlSetPosition]] [[ctrlClassName]] [[displayCtrl]] [[ctrlModelScale]] [[ctrlSetModelScale]] [[ctrlModelDirAndUp]] [[ctrlSetModelDirAndUp]]
 
 
[[ctrlAnimateModel]], [[ctrlCreate]], [[ctrlDelete]], [[ctrlModel]], [[ctrlPosition]], [[ctrlSetPosition]], [[ctrlClassName]], [[displayCtrl]], [[ctrlModelScale]], [[ctrlSetModelScale]], [[ctrlModelDirAndUp]], [[ctrlSetModelDirAndUp]]
}}
}}
<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style='display:none'>Bottom Section</h3>
{{GameCategory|arma3|New Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

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