ClearAllActions

The   NWScript command clears the action queue of the caller. This is needed when the caller should stop what it is doing (and start a new action, if one is specified in the script after this command). In order to clear the action queue of a creature other than the caller, this command must be assigned via.

If an error occurs, the log file will contain "ClearAllActions failed."