ctrlAnimationPhaseModel: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\{\{GameCategory\|(arma[0123])\|New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}")
m (Some wiki formatting)
 
(25 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________


| arma3 |Game name=
|game1= arma3
|1.84|Game Version (number surrounded by NO SPACES)=
|version1= 1.84


|gr1= GUI Control - Object |GROUP1=
|gr1= GUI Control - Object
____________________________________________________________________________________________


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


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


|p1= control : [[Control]] - 3D control|PARAMETER1=
|p1= control : [[Control]] - 3D control


|p2= source: [[String]] |PARAMETER2=
|p2= source: [[String]]


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


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


|x1= <code>_phase = _control3D [[ctrlAnimationPhaseModel]] "Close";</code>|EXAMPLE1=
|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]] |SEEALSO=
}}
}}
<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