NPC selecting a specific player from a group
Anyone know of a good way to code an event where an NPC who is fighting a group of people will select a player randomly out of that group and cast a spell on it?
I am not so concerned about the random part or the spell but just if there is a way to have an npc to select which player in a group it would attack.
|