squattingmonk
squattingmonk
Reactions
-
Re: NWN Lexicon Additions
Thanks! I'll get those up right away. EDIT: Annnnd done! (View Post)Post edited by squattingmonk on2 -
Re: What's the best way to have an NPC "use" an item
For doing the actual item activation, you need EventActivateItem(), which can be signaled with SignalEvent(). Note that the first parameter of SignalEvent() needs to be the module, not the NPC doing … (View Post)4 -
Re: Suggestions Thread: Game Mechanics (scripts, spells, feats, combat)
Cross-posted from this thread. I would like to see a GetLastEvent() function that returns one of the new EVENT_SCRIPT_* constants depending on which event triggered the script. This would allow a sin… (View Post)5 -
Re: GetFirstArea function not compiling
You're defining GetFirstArea() and GetNextArea() on lines 58 and 67, respectively. Since functions with those names have been added to the base game, this won't compile anymore. The solution is to re… (View Post)Post edited by squattingmonk on1 -
Re: Respawn creature - On death
ActionWait() and DelayCommand() will be ineffective in an OnDeath script because the dead creature can't execute those commands. Instead, you need to assign those commands to the module. Here's one w… (View Post)Post edited by squattingmonk on1