Essentials Series/Simple Objects: Difference between revisions
Content added Content deleted
Igorseabra4 (talk | contribs) m (Igorseabra4 moved page Essentials Series/SIMPs to Essentials Series/Simple Objects) |
Igorseabra4 (talk | contribs) |
||
Line 28: | Line 28: | ||
# Add your animation(s) to the ALST. |
# 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. |
# 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 |
# 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, 2 is the second, and so on. |
||
This information also applies to other Entity assets, such as [[../Platforms/]], which can also play animations. Note that the asset's collision |
This information also applies to other Entity assets, such as [[../Platforms/]], which can also play animations. Note that, for the asset's collision to move along with the animation, you must set Animate Collision, under Solidity Flags, to true. |
||
=== Drivenby === |
=== Drivenby === |