aybe something like...
in Features/Teams.cs
Code:
public bool Contains(uint uid)
{
foreach (Game.Character P in Members)
if (P.EntityID == uid)
return true;
return false;
}
Then for the NPC do a foreach check
foreach (Character C in World.H_Char.Values)
{
if (GC.MyChar.MyTeam.Contains(C.EntityID))
{
C.Teleport(coords);
}
}
Not 100% sure it will work, but work a shot.
#####EDIT#####
Forget mine, Chris's will work and its less time consuming than my crappy one.