ctrlAnimateModel: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Bot: Reverted to revision 108923 by Reyhard on 2018-08-01T07:37:30Z)
m (template:command argument fix)
Line 12: Line 12:
| control '''ctrlAnimateModel''' [source, phase]|= Syntax
| control '''ctrlAnimateModel''' [source, phase]|= Syntax


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


|p2= [source, phase]: [[Array]]  |= PARAMETER2
|p2= [source, phase]: [[Array]]  |PARAMETER2=  


|p3= source: [[String]] - common source |= PARAMETER3
|p3= source: [[String]] - common source |PARAMETER3=  


|p4= phase: [[Number]] - wanted animation phase |= PARAMETER4
|p4= phase: [[Number]] - wanted animation phase |PARAMETER4=  


| [[Nothing]] |=RETURNVALUE
| [[Nothing]] |RETURNVALUE=  




|x1= <code>_control3D [[ctrlAnimateModel]] ["Close",1];</code>|= EXAMPLE1
|x1= <code>_control3D [[ctrlAnimateModel]] ["Close",1];</code>|EXAMPLE1=  


____________________________________________________________________________________________
____________________________________________________________________________________________


|  [[ctrlAnimationPhaseModel]], [[ctrlCreate]], [[ctrlDelete]], [[ctrlModel]], [[ctrlPosition]], [[ctrlSetPosition]], [[ctrlClassName]], [[displayCtrl]], [[ctrlModelScale]], [[ctrlSetModelScale]], [[ctrlModelDirAndUp]], [[ctrlSetModelDirAndUp]]  |= SEEALSO
|  [[ctrlAnimationPhaseModel]], [[ctrlCreate]], [[ctrlDelete]], [[ctrlModel]], [[ctrlPosition]], [[ctrlSetPosition]], [[ctrlClassName]], [[displayCtrl]], [[ctrlModelScale]], [[ctrlSetModelScale]], [[ctrlModelDirAndUp]], [[ctrlSetModelDirAndUp]]  |SEEALSO=  


|  |= MPBEHAVIOUR
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
____________________________________________________________________________________________
}}
}}

Revision as of 10:30, 7 April 2019

Hover & click on the images for description

Description

Description:
Process an animation of 3D Dialog Control. Command uses name defined by source property and works similar like animateSource command.
Groups:
Uncategorised

Syntax

Syntax:
control ctrlAnimateModel [source, phase]
Parameters:
control : Control - 3D control
[source, phase]: Array
source: String - common source
phase: Number - wanted animation phase
Return Value:
Nothing

Examples

Example 1:
_control3D ctrlAnimateModel ["Close",1];

Additional Information

See also:
ctrlAnimationPhaseModelctrlCreatectrlDeletectrlModelctrlPositionctrlSetPositionctrlClassNamedisplayCtrlctrlModelScalectrlSetModelScalectrlModelDirAndUpctrlSetModelDirAndUp

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

Notes

Bottom Section