UI_set_attack_mode
UI_set_attack_mode(actor npc, int mode)
npc->set_attack_mode(int mode)
Changes the NPC's attack mode to the desired value.
Parameters
| Parameter / value | Description |
|---|---|
npc |
The NPC whose attack mode is to be changed. |
mode |
Numeric value determining how the NPC should behave in combat. Can be one of the return values of get_attack_mode intrinsic. |