How can I reset this to run from a bool so that I can pick and choose which rifle to use??
This is what I am using else where but with the DeathMatchPlus(Level.Game).GiveWeapon I am unsure how to recode this
THANKS
Code:
function ModifyPlayer(Pawn Other)
{
DeathMatchPlus(Level.Game).GiveWeapon(Other,"SniperRifles_v102.ZarkAssaultRifle");
if ( NextMutator != None )
NextMutator.ModifyPlayer(Other);
}
This is what I am using else where but with the DeathMatchPlus(Level.Game).GiveWeapon I am unsure how to recode this
Code:
if (Other.IsA('SniperRifle') && bGiveCustomSniperRifle )
{
ReplaceWith(Other,"SniperRifles_v102.CustomSniperRifle");
return false;
}
if (Other.IsA('SniperRifle') && bGiveZarkAssaultRifle )
{
ReplaceWith(Other,"SniperRifles_v102.ZarkAssaultRifle");
return false;
}
THANKS