Map Raid System

Hello, i’m making a Custom Code for my map(BG). But i don’t get a Code for:
When enter map, join to Raid

I have written something like, but when each player enters the map, creates a distinct group, instead of joining the Original.


Group* group = player->GetGroup(team); // Error

Group* group = GetBgRaid(team);
if i use this, it isn’t declarate

something more like “GetBgRaid(team)”?