animate: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 44: Line 44:
[[Category:Scripting Commands OFP 1.96|ANIMATE]]
[[Category:Scripting Commands OFP 1.96|ANIMATE]]
[[Category:Scripting Commands ArmA|ANIMATE]]
[[Category:Scripting Commands ArmA|ANIMATE]]
[[Category:Command_Group:_System_Commands]]

Revision as of 21:52, 9 August 2006

Hover & click on the images for description

Description

Description:
Process a linear animations on an object. Such animations are only used in user-made addons, they can be defined in the addon's config.cpp.
Groups:
Uncategorised

Syntax

Syntax:
object animate [animation, phase]
Parameters:
object: Object
animation: String - name of the animation. This is the class-name of the animation defined in the addon's config.cpp.
animationPhase: Integer - range 0 (start point of the animation) to 1 (end point of the animation). The speed, in which the animation is processed, is defined in the addon's config.cpp and cannot be changed during running missions.
Return Value:
Nothing

Examples

Example 1:
building animate ["maindoor", 1]

Additional Information

See also:
animationPhase

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