/npc spawn
Spawn NPCs
- Werkt alleen als een speler de opdracht uitvoert, niet via de serverconsole.
Syntaxis
/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
- Hoofdopdrachtde opdrachtnaam waarmee alles begint
- SubopdrachtSubopdracht: een extra woord achter de opdracht
- Verplichtmoet worden opgegeven, in vaste volgorde
- Optioneelmag ontbreken, met --name=wert
- SchakelaarsSchakelaars zonder waarde
Argumenten
/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 | Type | Type | Beschrijving |
|---|---|---|---|
role | Verplicht | The NPC role to spawn | |
--bodyRotation | Optioneel | Text Words, text, numbers, letters | Body rotation (yaw, pitch, roll) |
--count | Optioneel | Integer A whole number | Number of NPCs to spawn |
--flags | Optioneel | Text Words, text, numbers, letters | Debug flags (comma-separated) |
--flock | Optioneel | Text Words, text, numbers, letters | A flock asset reference or integer value for defining flock size |
--headRotation | Optioneel | Text Words, text, numbers, letters | Head rotation (yaw, pitch, roll) |
--posOffset | Optioneel | Text Words, text, numbers, letters | The position offset from the spawn location |
--position | Optioneel | Text Words, text, numbers, letters | Spawn position (x, y, z) |
--radius | Optioneel | Double A decimal number | The spawn radius for multiple NPCs |
--scale | Optioneel | Float A floating-point number | Model scale multiplier |
--speed | Optioneel | Double A decimal number | The initial movement speed |
--bypassScaleLimits | Schakelaars | – | Bypass scale limits for the NPC |
--facingRotation | Schakelaars | – | Face the player when spawning |
--frozen | Schakelaars | – | Spawn the NPC frozen |
--nonrandom | Schakelaars | – | Use seeded random number generator for repeatable positions for benchmarking |
--randomModel | Schakelaars | – | Use a random player model |
--randomRotation | Schakelaars | – | Use random rotation when spawning |
--spawnOnGround | Schakelaars | – | Spawn the NPC on the ground |
--test | Schakelaars | – | Test whether the NPC can be spawned at this position |
/npc spawn
Show spawn menu page
Deze opdracht heeft geen argumenten.
Machtigingen
- Machtiging
hytale.npc.command.npc.spawn- Standaardgroep
- WorldEditorvan de bovenliggende opdracht
De groepen bouwen op elkaar voort: Adventurer, Builder, WorldEditor, ServerEditor, Admin. Een hogere groep erft de rechten van de lagere groepen; nieuwe spelers zijn Adventurer en admins (OP) mogen alles.