/npc spawn
Spawn NPCs
- Funziona solo se il comando viene eseguito da un giocatore, non dalla console del server.
Sintassi
/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
- Comando principaleil nome del comando, da cui inizia tutto
- SottocomandoSottocomando: una parola aggiuntiva dopo il comando
- Obbligatorioobbligatorio, in un ordine preciso
- Facoltativofacoltativa, con --name=wert
- OpzioniOpzioni senza valore
Argomenti
/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
| Argomento | Tipo | Tipo | Descrizione |
|---|---|---|---|
role | Obbligatorio | The NPC role to spawn | |
--bodyRotation | Facoltativo | Text Words, text, numbers, letters | Body rotation (yaw, pitch, roll) |
--count | Facoltativo | Integer A whole number | Number of NPCs to spawn |
--flags | Facoltativo | Text Words, text, numbers, letters | Debug flags (comma-separated) |
--flock | Facoltativo | Text Words, text, numbers, letters | A flock asset reference or integer value for defining flock size |
--headRotation | Facoltativo | Text Words, text, numbers, letters | Head rotation (yaw, pitch, roll) |
--posOffset | Facoltativo | Text Words, text, numbers, letters | The position offset from the spawn location |
--position | Facoltativo | Text Words, text, numbers, letters | Spawn position (x, y, z) |
--radius | Facoltativo | Double A decimal number | The spawn radius for multiple NPCs |
--scale | Facoltativo | Float A floating-point number | Model scale multiplier |
--speed | Facoltativo | Double A decimal number | The initial movement speed |
--bypassScaleLimits | Opzioni | – | Bypass scale limits for the NPC |
--facingRotation | Opzioni | – | Face the player when spawning |
--frozen | Opzioni | – | Spawn the NPC frozen |
--nonrandom | Opzioni | – | Use seeded random number generator for repeatable positions for benchmarking |
--randomModel | Opzioni | – | Use a random player model |
--randomRotation | Opzioni | – | Use random rotation when spawning |
--spawnOnGround | Opzioni | – | Spawn the NPC on the ground |
--test | Opzioni | – | Test whether the NPC can be spawned at this position |
/npc spawn
Show spawn menu page
Questo comando non ha argomenti.
Autorizzazioni
- Autorizzazione
hytale.npc.command.npc.spawn- Gruppo predefinito
- WorldEditordal comando principale
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.