Denizen/Commands: Difference between revisions
From Citizens Wiki
< Denizen
Davidcernat (talk | contribs) No edit summary |
Davidcernat (talk | contribs) No edit summary |
||
| Line 37: | Line 37: | ||
- attack | - attack | ||
- attack stop | - attack stop | ||
</pre> | |||
}} | |||
{{Denizen Command | |||
|chair | |||
|(sit|stand) (location:x,y,z,world) | |||
|Make the NPC sit or stand at a location. | |||
'''Examples''' | |||
<pre> | |||
- sit "location:300,65,300,world" | |||
- sit "<anchor:Chair>" | |||
- stand | |||
</pre> | </pre> | ||
}} | }} | ||
Revision as of 15:14, 9 February 2013
| announce | ["announcement text"] |
|---|---|
| Displays a message that every player on the server can read.
- announce "The skeleton invasion has ended." - announce "<player.name> has joined the blue team!" | |
| assignment | [{set}|remove] ("script:name") |
|---|---|
| Set or remove an assignment for an NPC.
- assignment remove - assignment set "script:Evil Wizard" | |
| attack | (stop) |
|---|---|
| Make the NPC attack or stop attacking the player.
- attack - attack stop | |
| chair | (sit |
|---|---|
| stand) (location:x,y,z,world) | |