UI_set_alignment(actor npc, int align) npc->set_alignment(int align)
Sets an NPC's attitude towards the avatar. This change forces the NPC to reevaluate his targets, and may stop the NPC from fleeing.
npc | The NPC to be adjusted. |
align | The new attitude towards the avatar. Can be any of the return values of get_alignment intrinsic. |