Seven Towers: UCC Reference

USECODE INTRINSICS

int UI_get_alignment(actor npc)
int npc->get_alignment()

Gets the NPC's attitude towards the avatar.

Parameters

npcThe NPC whose alignment is desired.

Return

Returns a number describing the NPC's attitude towards the avatar. Can be one of the following values:

NEUTRAL = 0GOOD = 1EVIL = 2CHAOTIC = 3

Related intrinsics

See also