I'm using the function "Projectile::Damage(%this,%obj,%col,%fade,%pos,%norm)", and I need to check if the player who fired the bullet and the player who got hit are in the same minigame. Once that comes back as true, I need to check if the minigame has damage enabled.
Help?
I've tried this,
%mini1 = getMiniGameFromObject(%this);
%mini2 = getMiniGameFromObject(%obj);
and complared the two variables. When not in a minigame, they match. When in a minigame, they no longer match.
Without the minigame check the function damages anything, regardless of minigame and/or enabled damage.