Simple Animation package

Name: Simple Animation
By AdamO on Discord

This package provides a script to allow you to use the animations built-in to many of Crayta’s meshes in a number of ways.

To use:

  1. Install the Simple Animation package
  2. Add the “simpleAnimationScript” to any mesh entity that has animations on it (you can sort the mesh library by the “animated” tag).
  3. Set up the properties however suits your game - you can loop the first animation, you can play animations on the client, or you can connect event properties (from a trigger, for example) to the functions “playAnimA” and “playAnimB”

Alternatively, you can drop in the “AnimExamplePiston” template to see how the script works.

1 Like