Closed threonin closed 12 years ago
performAction should return the id of the queue it ended up using when it completes.
Or, perhaps, just the entire queue itself. This might be more flexible to future needs.
I will look into that tomorrow, now it is a little to late.
just deleted the branch I accidentally created on the main repo
Calling an action with silent="name" should set the Id-property of the resulting actionQueue to that name, so it can be identified and directly addressed later. This could be used for stopping, pausing and continuing a single queue or adding a trigger referencing it. When using silent="true" a globally incremented number should be used as Id to avoid conflicts. Storing the calling sprite of a queue could enable referencing it in commands with "this" or canceling/pausing all queues from a specific sprite.