Usage
Object syntax: thiso.varname, thiso.functionname()
Explanation
The thiso object refers to the this variable of the executing NPC.
Example
function onCreated() { this.password = "hello"; with (findNPC("Control-NPC")) { this.password = "test"; echo(thiso.password); } }
... echoes "hello".
Categories
CategoryBuiltInVariable
CategoryVariablePrefix
There are no comments on this page. [Add comment]