/npc
Commands relating to NPCs
Notazione
Questo comando è un gruppo: da solo non fa nulla e richiede un sottocomando, ad esempio /npc all.
Sottocomandi (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
Gruppo di comandi · 1
/npc benchmark [--seconds=<value>] [--roles] [--sensorsupport]
Collect role metrics
/npc blackboard <…>
Commands relating to the NPC blackboard
Gruppo di comandi · 11
/npc clean [--world=<value>]
Remove all NPCs
/npc debug <…>
Commands relating to NPC debug flags
Gruppo di comandi · 6
/npc dump [--entity=<value>] [--world=<value>] [--json]
Dump all component info about an NPC
/npc flock <…>
Add or remove NPCs from a flock
Gruppo di comandi · 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
Con sottocomandi · 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
Gruppo di comandi · 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
Gruppo di comandi · 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
Autorizzazioni
- Autorizzazione
hytale.npc.command.npc- Gruppo predefinito
- WorldEditor
I gruppi sono gerarchici: Adventurer, Builder, WorldEditor, ServerEditor, Admin. Un gruppo superiore eredita i permessi di quelli inferiori; i nuovi giocatori sono Adventurer, gli admin (OP) possono fare tutto.