Seven Towers: UCC Reference

USECODE INTRINSICS

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.

Parameters

npcThe NPC to be adjusted.
alignThe new attitude towards the avatar. Can be any of the return values of get_alignment intrinsic.

Related intrinsics

See also