Denizen/Commands: Difference between revisions

From Citizens Wiki
No edit summary
No edit summary
Line 11: Line 11:
</pre>
</pre>
}}
}}


{{Denizen Command
{{Denizen Command
Line 22: Line 23:
- assignment remove
- assignment remove
- assignment set "script:Evil Wizard"
- assignment set "script:Evil Wizard"
</pre>
}}
{{Denizen Command
|attack
|(stop)
|Make the NPC attack or stop attacking the player.
'''Examples'''
<pre>
- attack
- attack stop
</pre>
</pre>
}}
}}

Revision as of 15:02, 9 February 2013

====announce

==

announce ["announcement text"]
Displays a message that every player on the server can read.


Examples

- announce "The skeleton invasion has ended."
- announce "<player.name> has joined the blue team!"


====assignment

==

assignment [{set}|remove] ("script:name")
Set or remove an assignment for an NPC.


Examples

- assignment remove
- assignment set "script:Evil Wizard"


====attack

==

attack (stop)
Make the NPC attack or stop attacking the player.


Examples

- attack
- attack stop