Djinni Wiki

function ClearAllActions (int nClearCombatState=FALSE, object oSubject=OBJECT_INVALID)

Clear all the actions of the caller.

  • No return value, but if an error occurs, the log file will contain "ClearAllActions failed.". -
  • nClearCombatState: if true, this will immediately clear the combat state on a creature, which will stop the combat music and allow them to rest, engage in dialog, or other actions that they would normally have to wait for.
  • Return type: void
  • Include file: nwscriptdefn