UI_set_oppressor
![[SI, Exult]](images/siexultsm.png)
UI_set_oppressor(actor npc, actor opp)
npc->set_oppressor(opp)
Sets the supplied NPCs oppressor to another NPC.
Parameters
| Parameter / value | Description |
|---|---|
npc |
The NPC whose oppressor is to be changed. |
opp |
The NPC that is to be the new oppressor, which must be distinct from the NPC we are altering. Must be a true NPC; an egg- or usecode- spawned monster has no real NPC number in Exult, and cannot be an oppressor. |