/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
| Argument | Type | Type | Description |
|---|---|---|---|
--attack | Optional | 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 |
--entity | Optional | UUID A UUID representing an entity id | The entity to target |
--world | Optional | 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.