Table of Contents

Method ClearActionQueue

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

ClearActionQueue(bool)

Clear all the object's actions.

  • No return value, but if an error occurs, the log file will contain "ClearAllActions failed.".
  • clearCombatState: 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.
public void ClearActionQueue(bool clearCombatState = false)

Parameters

clearCombatState bool