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
Comments [Hide comments/form]
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki