/npc debug set
Set debug flags of selected NPCs
Skrivsätt
/npc debug set <flags> [--angle=<value>] [--entity=<value>] [--range=<value>] [--roles=<value>] [--world=<value>] [--cone] [--coneAll] [--nearest] [--ray] [--sphere]
- Huvudkommandokommandonamnet som allt börjar med
- UnderkommandoUnderkommando: ett ytterligare ord efter kommandot
- Obligatorisktmåste anges i fast ordning
- Valfrittkan utelämnas, med --name=wert
- FlaggorFlaggor utan värde
Argument
| Argument | Typ | Typ | Beskrivning |
|---|---|---|---|
flags | Obligatoriskt | Text Words, text, numbers, letters | Comma separated list of debug flags or presets (see NPC > DEBUG > PRESETS command) |
--angle | Valfritt | Float A floating-point number | Search view cone half-angle in degrees (between 0 and 180, 0 = targeting ray, 180 = full sphere) |
--entity | Valfritt | UUID A UUID representing an entity id | The entity to target |
--range | Valfritt | Float A floating-point number | Search range in blocks |
--roles | Valfritt | Text Words, text, numbers, letters | Comma separated list of NPC roles to filter by |
--world | Valfritt | World A world folder name | The world to operate this command on |
--cone | Flaggor | – | Preset: Select nearest NPCs in a cone in front of the player (apply role name filtering if specified) |
--coneAll | Flaggor | – | Preset: Select all NPCs in a cone in front of the player (apply role name filtering if specified) |
--nearest | Flaggor | – | Pick only the nearest NPC from the search |
--ray | Flaggor | – | Preset: Select the nearest NPC the player is targeting (apply role name filtering if specified) |
--sphere | Flaggor | – | Preset: Select all NPCs in a sphere around the player (apply role name filtering if specified) |
Behörigheter
- Behörighet
hytale.npc.command.npc.debug.set
Grupperna bygger på varandra: Adventurer, Builder, WorldEditor, ServerEditor, Admin. En högre grupp ärver rättigheterna från de lägre. Nya spelare är Adventurer, och administratörer (OP) får göra allt.