ctrlAnimationPhaseModel: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Bot: Reverted to revision 108941 by killzone_kid on 2018-08-01T16:59:35Z)
m (Some wiki formatting)
 
(37 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


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


| Returns current animation phase of given source. Similar to [[animationSourcePhase]].  |= Description
|gr1= GUI Control - Object
____________________________________________________________________________________________


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


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


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


| [[Number]] |= RETURNVALUE
|p2= source: [[String]]


|r1= [[Number]]


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


____________________________________________________________________________________________
|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
 
|  |= MPBEHAVIOUR
____________________________________________________________________________________________
}}
}}
<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style='display:none'>Bottom Section</h3>
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[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