/npc
Commands relating to NPCs
Schreibweise
Dieser Befehl ist eine Gruppe: Er tut selbst nichts und braucht einen Unterbefehl, zum Beispiel /npc all.
Unterbefehle (21)
/npc all [--distance=<value>]
Spawn all NPC roles
/npc appearance <model> [--entity=<value>] [--world=<value>]
Set the model of an NPC
/npc attack [--attack=<value,…>] [--entity=<value>] [--world=<value>]
Set an attack sequence that will override the normal attack for this NPC
Befehlsgruppe · 1
/npc benchmark [--seconds=<value>] [--roles] [--sensorsupport]
Collect role metrics
/npc blackboard <…>
Commands relating to the NPC blackboard
Befehlsgruppe · 11
/npc clean [--world=<value>]
Remove all NPCs
/npc debug <…>
Commands relating to NPC debug flags
Befehlsgruppe · 6
/npc dump [--entity=<value>] [--world=<value>] [--json]
Dump all component info about an NPC
/npc flock <…>
Add or remove NPCs from a flock
Befehlsgruppe · 4
/npc freeze [--entity=<value>] [--world=<value>] [--all] [--toggle]
Freeze an NPC
/npc give <item> [--entity=<value>] [--world=<value>]
Give an item to an NPC
Mit Unterbefehlen · 1
/npc path <instructions> [--entity=<value>] [--world=<value>]
Set a transient path on the target NPC using a series of comma-separated rotations and distances
Befehlsgruppe · 1
/npc role <role> [--entity=<value>] [--world=<value>]
Change the role of an NPC
/npc runtests [--roles=<value>] [--abort] [--fail] [--pass] [--preset]
Run a set of test NPCs
/npc sensorstats
Dump sensor related information
/npc spawn <role> [--bodyRotation=<value>] [--count=<value>] [--flags=<value>] [--flock=<value>] [--headRotation=<value>] [--posOffset=<value>] [--position=<value>] [--radius=<value>] [--scale=<value>] [--speed=<value>] [--bypassScaleLimits] [--facingRotation] [--frozen] [--nonrandom] [--randomModel] [--randomRotation] [--spawnOnGround] [--test]
Spawn NPCs
/npc step [--dt=<value>] [--entity=<value>] [--world=<value>] [--all]
Move the NPC behavior forward a set number of execution steps
/npc test <…>
NPC test commands
Befehlsgruppe · 1
/npc thaw [--entity=<value>] [--world=<value>] [--all]
Unfreeze an NPC
/npc message <message> [--entity=<value>] [--expiration=<value>] [--all]
Send a beacon message to an NPC
/npc descriptors
Save an NPC descriptors file out to disk in the server folder
Berechtigungen
- Berechtigung
hytale.npc.command.npc- Standard-Gruppe
- WorldEditor
Die Gruppen bauen aufeinander auf: Adventurer, Builder, WorldEditor, ServerEditor, Admin. Eine höhere Gruppe erbt die Rechte der niedrigeren; neue Spieler sind Adventurer, Admins (OP) dürfen alles.