ZCharacter

From Wherigo Foundation Wiki
Jump to: navigation, search

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.