<completionScript> ‐ A schedule completion script
This element is used to contain a script associated with the completion of a schedule. It consists of a list of commands made of an action and a target (see Section 2.4). These commands are automatically triggered when the schedule terminates (reaches its end time).
This element expects a list of commands as child nodes.
In the example below, the completion script contains one command. The action associated with this command sends a message labeled start. Its target is the node(s) named dropping the ball.
<schedule begin="100" dur="200" repeatCount="2"
mode="sinus-periodic" fill="remove">
<completionScript>
<command>
<action>
<send_message value="start" />
<target type="multiple_nodes" value="#dropping the ball" />
</action>
</command>
</completionScript>
</schedule>