Skip to content
NPCs & CreaturesCommand group

/npc attack

Set an attack sequence that will override the normal attack for this NPC

Spelling

  • /npc attack [--attack=<value,…>] [--entity=<value>] [--world=<value>]
  • Main commandthe command name that starts it all
  • SubcommandSubcommand: an additional word after the command
  • Optionaloptional, with --name=value

Additional ways to run the command are listed under its subcommands.

Arguments

ArgumentTypeTypeDescription
--attackOptional

List: Interaction Asset

An argument that accepts one or more (comma-separated) values of another argument type

An interaction to use. Specify multiple times to create a sequence

--entityOptional

UUID

A UUID representing an entity id

The entity to target

--worldOptional

World

A world folder name

The world to operate this command on

Subcommands (1)

Permissions

Permission
hytale.npc.command.npc.attack
Default group
WorldEditorfrom the parent command

The groups build on one another: Adventurer, Builder, WorldEditor, ServerEditor, Admin. Higher groups inherit the permissions of lower ones; new players are Adventurers, and admins (OP) can do everything.

Back to command reference

/npc attack — Hytale command reference | ZAP-Hosting