/npc spawn
Spawn NPCs
- Läuft nur, wenn ein Spieler den Befehl ausführt, nicht über die Server-Konsole.
Schreibweisen
/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]/npc spawn
- Hauptbefehlder Befehlsname, mit dem alles beginnt
- UnterbefehlUnterbefehl: ein weiteres Wort hinter dem Befehl
- Pflichtmuss angegeben werden, in fester Reihenfolge
- Optionaldarf fehlen, mit --name=wert
- SchalterSchalter ohne Wert
Argumente
/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
| Argument | Art | Typ | Beschreibung |
|---|---|---|---|
role | Pflicht | The NPC role to spawn | |
--bodyRotation | Optional | Text Words, text, numbers, letters | Body rotation (yaw, pitch, roll) |
--count | Optional | Integer A whole number | Number of NPCs to spawn |
--flags | Optional | Text Words, text, numbers, letters | Debug flags (comma-separated) |
--flock | Optional | Text Words, text, numbers, letters | A flock asset reference or integer value for defining flock size |
--headRotation | Optional | Text Words, text, numbers, letters | Head rotation (yaw, pitch, roll) |
--posOffset | Optional | Text Words, text, numbers, letters | The position offset from the spawn location |
--position | Optional | Text Words, text, numbers, letters | Spawn position (x, y, z) |
--radius | Optional | Double A decimal number | The spawn radius for multiple NPCs |
--scale | Optional | Float A floating-point number | Model scale multiplier |
--speed | Optional | Double A decimal number | The initial movement speed |
--bypassScaleLimits | Schalter | – | Bypass scale limits for the NPC |
--facingRotation | Schalter | – | Face the player when spawning |
--frozen | Schalter | – | Spawn the NPC frozen |
--nonrandom | Schalter | – | Use seeded random number generator for repeatable positions for benchmarking |
--randomModel | Schalter | – | Use a random player model |
--randomRotation | Schalter | – | Use random rotation when spawning |
--spawnOnGround | Schalter | – | Spawn the NPC on the ground |
--test | Schalter | – | Test whether the NPC can be spawned at this position |
/npc spawn
Show spawn menu page
Dieser Befehl hat keine Argumente.
Berechtigungen
- Berechtigung
hytale.npc.command.npc.spawn- Standard-Gruppe
- WorldEditorvom übergeordneten Befehl
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.