Aller au contenu
PNJ et créaturesJoueur uniquement

/npc spawn

Spawn NPCs

  • Fonctionne uniquement lorsqu’un joueur exécute la commande, pas depuis la console du serveur.

Syntaxes

  • /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
  • Commande principalele nom de la commande, par lequel tout commence
  • Sous-commandeSous-commande : un autre mot après la commande
  • Obligatoireobligatoire, dans un ordre fixe
  • Facultatiffacultatif, avec --name=wert
  • CommutateurCommutateur sans valeur

Arguments

/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

ArgumentTypeTypeDescription
roleObligatoire

NPC Role

An NPC role template name

Consulter la base de données des mobs

The NPC role to spawn

--bodyRotationFacultatif

Text

Words, text, numbers, letters

Body rotation (yaw, pitch, roll)

--countFacultatif

Integer

A whole number

Number of NPCs to spawn

--flagsFacultatif

Text

Words, text, numbers, letters

Debug flags (comma-separated)

--flockFacultatif

Text

Words, text, numbers, letters

A flock asset reference or integer value for defining flock size

--headRotationFacultatif

Text

Words, text, numbers, letters

Head rotation (yaw, pitch, roll)

--posOffsetFacultatif

Text

Words, text, numbers, letters

The position offset from the spawn location

--positionFacultatif

Text

Words, text, numbers, letters

Spawn position (x, y, z)

--radiusFacultatif

Double

A decimal number

The spawn radius for multiple NPCs

--scaleFacultatif

Float

A floating-point number

Model scale multiplier

--speedFacultatif

Double

A decimal number

The initial movement speed

--bypassScaleLimitsCommutateur–

Bypass scale limits for the NPC

--facingRotationCommutateur–

Face the player when spawning

--frozenCommutateur–

Spawn the NPC frozen

--nonrandomCommutateur–

Use seeded random number generator for repeatable positions for benchmarking

--randomModelCommutateur–

Use a random player model

--randomRotationCommutateur–

Use random rotation when spawning

--spawnOnGroundCommutateur–

Spawn the NPC on the ground

--testCommutateur–

Test whether the NPC can be spawned at this position

/npc spawn

Show spawn menu page

Cette commande n’a pas d’arguments.

Autorisations

Autorisation
hytale.npc.command.npc.spawn
Groupe par défaut
WorldEditorde la commande parente

Les groupes sont hiérarchisés : Adventurer, Builder, WorldEditor, ServerEditor, Admin. Chaque groupe supérieur hérite des permissions des groupes inférieurs ; les nouveaux joueurs sont Adventurer, et les admins (OP) peuvent tout faire.

Retour à la référence des commandes

/npc spawn — référence des commandes Hytale | ZAP-Hosting