Denizen/0.7/Migration

From Citizens Wiki

< Denizen‎ | 0.7

Revision as of 18:23, 5 February 2013 by AgentKid (talk | contribs) (AgentKid moved page Denizen/0.7/Migration to Denizen/0.7/0.7/Migration without leaving a redirect)

Triggers

  • 0.7 introduces several new core triggers: Damage, Proximity, and Location
  • Not all triggers are turned on by default for performance reasons. see Denizen/In_Game_Commands for more info.

Commands

All text-type commands (CHAT, NARRATE, etc) must have the text in quotes. Single or double is fine.

 Example: - CHAT "Use double quotes if your text has an apostrophe, y'all." 

EXECUTE must also have the command and arguments in single- or double- quotes

 Example: - EXECUTE ASSERVER "warp someplace" 


GIVE and TAKE must specify the quantity with QTY:# or qty:#

 Example: - GIVE DIAMOND QTY:10


RESPAWN no longer exists. Use TELEPORT instead with the DENIZEN argument, this will spawn the Denizen at the specified location.

 Example: - TELEPORT DENIZEN 'BOOKMARK:name' 

PLAYERTASK no longer exists. Use a Location Trigger

PRESS no longer exists. Use SWITCH for buttons and levers.

Any command that takes a bookmark must specify BOOKMARK:. Also any command that takes a bookmark can use bookmarks from other Denizens by specifying 'BOOKMARK:Denizen Name:BookmarkName'

If the Denizen name has a space in it the quotes are required
 Example: - TELEPORT DENIZEN 'BOOKMARK:bob jones:bobshouse'