GetNumActions
From NWN2Wiki
//RWT-OEI 01/04/06 //This script function returns the number of actions that are on the action //queue of the object passed in int GetNumActions( object oObject );
The description of this function is misleading. It not only returns the visible number of actions on the action queue, but also the number of actions pending. This means that you could have two actions currently enqueued, but if your character is also changing a weapon (an action not normally displayed in the action queue) or any other number of actions called by script, but not displayed in the action queue box, this function will add them to the tally of total actions.
