Control Maps not being detected properly?

It seems like the individual stages of control maps aren’t being detected properly.

The following code wont trigger even if i’m on nepal sanctum:

actions
{
If(Current Map == Map(Nepal Sanctum));
Global.A = True;
End;
}

I’ve also tested this with ilios ruins and I get the same issue.
Any help would be appreciated
Thanks :slight_smile:

Pretty sure they have their own entries for ‘Map’ (atleast the Elimination ones) :slight_smile:

A wild guess on another solution for this is to find the objective index, if you start on nepal sanctum, you’d have to guess what index is the other two maps(This requires experimenting), The counting of the objective index is 0, 1, 2.

Sorry my initial post was incorrect. The code is now correct. The issue was the individual map entries for stages like Nepal Sanctum and Ilios Ruins in the workshop don’t work on their corresponding maps for some reason. I’ll have to try the objective index workaround for now. Can anyone else try this just to confirm its not just me.

Thanks

Not a bug, specific maps like nepal sanctum and ilios ruins are not control maps, they’re CTF maps. To detect control maps you need to use the general map (e.g. nepal or ilios) and then let objective index do the rest