PropertyValue
rdfs:label
  • ActionDoCommand
rdfs:comment
  • function ActionDoCommand (action aActionToDo) Do aActionToDo. * Return type: void * Include file: nwscriptdefn
  • The ActionDoCommand() NWScript command causes the indicated command (or function) to be added to the caller's action queue. This effectively allows commands to be delayed until previously assigned actions are done, unlike <a href="/mediawiki/DelayCommand" title="DelayCommand">DelayCommand</a>(), which delays commands for a fixed amount of time. Another difference is that an action queue can be cleared, which would cancel any remaining entries added by ActionDoCommand(), while commands delayed by DelayCommand() are only canceled if the calling object ceases to exist.
dcterms:subject
dbkwik:nwn2/property/wikiPageUsesTemplate
returns
Name
  • ActionDoCommand
param
  • action aActionToDo
param1desc
  • The instruction that will be added to the action queue. This must be a command or function that returns .
dbkwik:nwn/property/wikiPageUsesTemplate
abstract
  • The ActionDoCommand() NWScript command causes the indicated command (or function) to be added to the caller's action queue. This effectively allows commands to be delayed until previously assigned actions are done, unlike <a href="/mediawiki/DelayCommand" title="DelayCommand">DelayCommand</a>(), which delays commands for a fixed amount of time. Another difference is that an action queue can be cleared, which would cancel any remaining entries added by ActionDoCommand(), while commands delayed by DelayCommand() are only canceled if the calling object ceases to exist. In order to add the command to the action queue of a different creature, ActionDoCommand() must be assigned via <a href="/mediawiki/AssignCommand" title="AssignCommand">AssignCommand</a>().
  • function ActionDoCommand (action aActionToDo) Do aActionToDo. * Return type: void * Include file: nwscriptdefn