Przejdź do treści
NPC i stworzeniaTylko jako gracz

/npc spawn

Spawn NPCs

  • Działa tylko wtedy, gdy komendę wykonuje gracz, a nie przez konsolę serwera.

Składnia

  • /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
  • Polecenie głównenazwa polecenia, od której wszystko się zaczyna
  • PodpoleceniePodpolecenie: kolejne słowo po poleceniu
  • Wymaganewymagane, w ustalonej kolejności
  • Opcjonalnieopcjonalne, w postaci --name=wert
  • PrzełącznikPrzełącznik bez wartości

Argumenty

/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

ArgumentTypTypOpis
roleWymagane

NPC Role

An NPC role template name

Sprawdź w bazie mobów

The NPC role to spawn

--bodyRotationOpcjonalnie

Text

Words, text, numbers, letters

Body rotation (yaw, pitch, roll)

--countOpcjonalnie

Integer

A whole number

Number of NPCs to spawn

--flagsOpcjonalnie

Text

Words, text, numbers, letters

Debug flags (comma-separated)

--flockOpcjonalnie

Text

Words, text, numbers, letters

A flock asset reference or integer value for defining flock size

--headRotationOpcjonalnie

Text

Words, text, numbers, letters

Head rotation (yaw, pitch, roll)

--posOffsetOpcjonalnie

Text

Words, text, numbers, letters

The position offset from the spawn location

--positionOpcjonalnie

Text

Words, text, numbers, letters

Spawn position (x, y, z)

--radiusOpcjonalnie

Double

A decimal number

The spawn radius for multiple NPCs

--scaleOpcjonalnie

Float

A floating-point number

Model scale multiplier

--speedOpcjonalnie

Double

A decimal number

The initial movement speed

--bypassScaleLimitsPrzełącznik–

Bypass scale limits for the NPC

--facingRotationPrzełącznik–

Face the player when spawning

--frozenPrzełącznik–

Spawn the NPC frozen

--nonrandomPrzełącznik–

Use seeded random number generator for repeatable positions for benchmarking

--randomModelPrzełącznik–

Use a random player model

--randomRotationPrzełącznik–

Use random rotation when spawning

--spawnOnGroundPrzełącznik–

Spawn the NPC on the ground

--testPrzełącznik–

Test whether the NPC can be spawned at this position

/npc spawn

Show spawn menu page

To polecenie nie ma argumentów.

Uprawnienia

Uprawnienie
hytale.npc.command.npc.spawn
Grupa domyślna
WorldEditorz polecenia nadrzędnego

Grupy tworzą hierarchię: Adventurer, Builder, WorldEditor, ServerEditor, Admin. Wyższa grupa dziedziczy uprawnienia niższych; nowi gracze trafiają do grupy Adventurer, a administratorzy (OP) mogą robić wszystko.

Wróć do wykazu poleceń

/npc spawn — dokumentacja komend Hytale | ZAP-Hosting