Denizen/0.7/Migration: Difference between revisions

From Citizens Wiki

< Denizen‎ | 0.7

No edit summary
No edit summary
Line 1: Line 1:
==Triggers==
==Triggers==
*0.7 introduces several new core triggers: Damage, Proximity, and Location
*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.
*Not all triggers are turned on by default for performance reasons. see [[Denizen/In_Game_Commands]] for more info.


==Commands==
==Commands==
Line 19: Line 19:




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


<pre> Example: - TELEPORT DENIZEN 'BOOKMARK:name' </pre>
<pre> Example: - TELEPORT DENIZEN 'BOOKMARK:name' </pre>

Revision as of 07:13, 21 August 2012

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'