Example 3 Actions

Example 3 demonstrates how to use the Radomiser Actions from Action Pack 1. If you select the on Start Trigger from the Scene Hierarchy, you will see the Action called ActionsRandom, and in the scene itself we have defined 5 further Actions (Moveto Marker, Jump, Gesture, and GestureandEND). These 5 Actions are all included in the Game Creator Core.

Action 1: We have added a wait of 1 second to allow any other start features to complete before we select our first random Action. We have then created a list of 4 Actions that will be select in a random Order, and will then be deleted from the list after completed (two move to marker, one player Jump, and one Player Gesture). After ALL of these Actions have been completed, the Call after finished is executed. Here, we have call the Action GestureandEND. This overall Action is then restarted.

After ALL of the 4 Actions have been completed, The player will do a Victory Gesture, a canvas saying Finished will be displayed, and then we call the Cancel Action Action, to stop the Randomiser from runing further. This is important.

You must call the Cancel Action Action, to stop the Randomiser. This is important.

Last updated