View Single Post
  #1  
Old 06-28-2008, 03:44 PM
kayen85
Sarnak
 
Join Date: Dec 2007
Posts: 50
Default 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.
Reply With Quote