Jump to content

Essentials Series/Simple Objects: Difference between revisions

Line 28:
# Add your animation(s) to the ALST.
# Create a SIMP if you haven't already, and set the Model_AssetID of the SIMP to the [[MODL]] you want it to use. Set the Animation_AssetID of the SIMP to the ALST's.
# When you want the animation to play, send the AnimPlay [[../Links/|event]] to the SIMP for it to play once or AnimPlayLoop for it to continue playing. The first argument of the link should be the index of the animation in the ALST. This index is 1-based, meaning 1 is the first animation in the ALST (animation 0), 2 is the second, (animationand 1),so etcon.
 
This information also applies to other Entity assets, such as [[../Platforms/]], which can also play animations. Note that, for the asset's collision will '''not'''to move along with the animation., Thisyou ismust meantset toAnimate beCollision, usedunder onlySolidity onFlags, unsolidto SIMPstrue.
 
=== Drivenby ===
Cookies help us deliver our services. By using our services, you agree to our use of cookies.