ZCharacter

From Wherigo Foundation Wiki
Revision as of 13:26, 22 April 2018 by Ranger Fox (Talk | contribs) (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...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.