GetModule
From NWN Lexicon
Contents |
[edit] GetModule()
Gets the object describing the module.
[edit] Description
Returns the module object. On error will return OBJECT_INVALID. Used with GetLocal* and SetLocal* functions for creating global (module-level) variables.
[edit] Remarks
If there is a return of OBJECT_INVALID then that would mean that the game has crashed wouldn't it? I haven't been able to test this.
[edit] Version
1.22
[edit] Example
// sends the tag of the module to the first PC void main() { SendMessageToPC(GetFirstPC(),GetTag(GetModule())); }
[edit] See Also
functions: |
author: GoLeM, editor: Charles Feduke