SetGameActivePause(int)
From NWN Lexicon
Jump to navigationJump to searchSets the active game pause state - same as if the player requested pause.
Parameters
- bState
- The pause state to set.
Description
Sets the active game pause state - same as if the player requested pause.
Remarks
The request is done after the current script execution. This means OnCombatRoundEnd which is *just* before a combat round starts (for the AI, a perfect time to add actions like spellcasting in that need to be done immediately) can't be used to have a player auto-pause when a new action can be performed. You might just about be able to time a call of this in a Spell Script however.
Version
This function was added in 1.87.8193.35 of NWN:EE.
Example
See Also
functions: |
author: Shadguy