Difference between revisions of "ZCharacter"

From Wherigo Foundation Wiki
Jump to: navigation, search
(Created page with "Represents a not real character in the game. == Properties == {| class="wikitable" |Gender||String||Gender of the not real character. |- |Type||String||Type of the character...")
 
(No difference)

Latest revision as of 13:26, 22 April 2018

Represents a not real character in the game.


Properties

Gender String Gender of the not real character.
Type String Type of the character. "NPC"


Constructor

ZCharacter Wherigo.ZCharacter(ZCartridge cartridge) Returns a new instance of object ZCharacter. The only parameter is a instance of ZCartridge.
ZCharacter Wherigo.ZCharacter({parameters}) Parameter is a table with default entries. It is possible to set the following properties: Commands, CommandsArray, Gender, Type. Additionally all parameters, which are valid for ZObject constructor.