Use INSERT_ACTION (a child element of ACTION) to insert another ACTION that has been defined in "data/xml/actions.xml".
Generally, inserting an action means inserting the steps (see the describtion of STEP) of the inserted action. All the steps used in the inserted action will become the steps of the current action.
INSERT_ACTION uses the text value of the NAME element of the inserted action as value.
In this example, INSERT_ACTION is used to insert an animation named "Cool Animation" into the current action.
- <ACTION>
- <STEP>
- ......
- </STEP>
- ......
- <INSERT_ACTION>Cool Animation</INSERT_ACTION>
- ......
- <STEP>
- ......
- </STEP>
- </ACTION>