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
Attributes | Values |
---|
rdfs:label
| |
rdfs:comment
| - 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
- The ClearAllActions() 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 <a href="/mediawiki/AssignCommand" title="AssignCommand">AssignCommand</a>(). If an error occurs, the log file will contain "ClearAllActions failed."
|
dcterms:subject
| |
dbkwik:nwn2/proper...iPageUsesTemplate
| |
returns
| |
Name
| |
param
| |
param1default
| |
param1desc
| - If set to TRUE, the caller will also have its combat state cleared, allowing it to do things like rest and engage in conversation.
|
dbkwik:nwn/property/wikiPageUsesTemplate
| |
abstract
| - 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
- The ClearAllActions() 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 <a href="/mediawiki/AssignCommand" title="AssignCommand">AssignCommand</a>(). If an error occurs, the log file will contain "ClearAllActions failed."
|