Thank you, it makes more sense now.
I probably don't want to mess with the Group::TeleportGroup since it is likely being used.
Though I think I may have a fix for the quest initiator not being moved by movegrp.
Please note I am at work so this is untested. If someone with quests that use the movegrp function could give this a try I would be grateful.
zone\questmgr.cpp
Find void QuestManager::movegrp and replace line 10 with the line in red.
Line number for whole file is 720 on mine.
Code:
void QuestManager::movegrp(int zoneid, float x, float y, float z) {
#ifdef IPC
if (initiator && initiator->IsClient()|| (initiator->IsNPC() && initiator->CastToNPC()->IsInteractive()) )
#else
if (initiator && initiator->IsClient())
#endif
{
Group *g = entity_list.GetGroupByClient(initiator);
if (g != NULL){
g->TeleportGroup(owner, zoneid, x, y, z, 0.0f);
}
else {
initiator->MovePC(zoneid, x, y, z, 0.0f);
}
}
}
All I changed was the word in blue (owner). I replaced initiator with owner.