/npc spawn
Spawn NPCs
- Solo funciona cuando un jugador ejecuta el comando, no desde la consola del servidor.
Sintaxis
/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 principalel nombre del comando, con el que empieza todo
- SubcomandoSubcomando: una palabra adicional después del comando
- Obligatorioes obligatorio, en un orden fijo
- Opcionalse puede omitir, con --name=wert
- OpcionesOpciones sin valor
Argumentos
/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
| Argumento | Tipo | Tipo | Descripción |
|---|---|---|---|
role | Obligatorio | The NPC role to spawn | |
--bodyRotation | Opcional | Text Words, text, numbers, letters | Body rotation (yaw, pitch, roll) |
--count | Opcional | Integer A whole number | Number of NPCs to spawn |
--flags | Opcional | Text Words, text, numbers, letters | Debug flags (comma-separated) |
--flock | Opcional | Text Words, text, numbers, letters | A flock asset reference or integer value for defining flock size |
--headRotation | Opcional | Text Words, text, numbers, letters | Head rotation (yaw, pitch, roll) |
--posOffset | Opcional | Text Words, text, numbers, letters | The position offset from the spawn location |
--position | Opcional | Text Words, text, numbers, letters | Spawn position (x, y, z) |
--radius | Opcional | Double A decimal number | The spawn radius for multiple NPCs |
--scale | Opcional | Float A floating-point number | Model scale multiplier |
--speed | Opcional | Double A decimal number | The initial movement speed |
--bypassScaleLimits | Opciones | – | Bypass scale limits for the NPC |
--facingRotation | Opciones | – | Face the player when spawning |
--frozen | Opciones | – | Spawn the NPC frozen |
--nonrandom | Opciones | – | Use seeded random number generator for repeatable positions for benchmarking |
--randomModel | Opciones | – | Use a random player model |
--randomRotation | Opciones | – | Use random rotation when spawning |
--spawnOnGround | Opciones | – | Spawn the NPC on the ground |
--test | Opciones | – | Test whether the NPC can be spawned at this position |
/npc spawn
Show spawn menu page
Este comando no tiene argumentos.
Permisos
- Permiso
hytale.npc.command.npc.spawn- Grupo predeterminado
- WorldEditordel comando principal
Los grupos siguen esta jerarquía: Adventurer, Builder, WorldEditor, ServerEditor y Admin. Cada grupo superior hereda los permisos de los inferiores; los jugadores nuevos son Adventurer y los administradores (OP) tienen todos los permisos.