UnseenRage Wrote:Heya Cliff.
New feature request for change in song notification and/or action trigger. I would like a way for Xion to recognize that a song has changed and trigger an event, animation, or action.
Keep up the great work!
Ok, I've added both of these in.
You can cause a layer to trigger manually by using the action_object_trigger keyword, OR you can get it to trigger automatically by adding the triggeron_songchange keyword.
Adding triggeron_songchange to an animation layerset that has Animation Type 1 or 2 will mean that the animation is Reset each time the song changes.
Adding triggeron_songchange to a random button will toggle random mode every second song
These are two very powerful commands...obviously you can cause some strange things to occur, such as adding triggeron_songchange to a stop button is going to make it impossible for you to play a song

(although this probably won't occur as the trigger occurs just before the next song is played)
It will also work in addition to modify(x) somecommand layers. This basically means you can use this as though its an event callback and trigger all kinds of things to occur when the song changes, including kicking off animations, or changing their directions, etc.
Anyway, you can experience the fun in build 96
Cliff
