I'm new to Uscript and i've been trying to make a weapon mutator. I've followed some different tutorials, but i keep getting the same compile error.
The compiler doesn't like the expression in this if statement in CheckReplacement
I found out from the compiler errors page that it might be because 'Other' is Non-existing, but i cant see how. Is there something wrong with the 'XWeaponsBase' class name?
Can anyone help me out here?
The compiler doesn't like the expression in this if statement in CheckReplacement
Code:
if (XWeaponsBase(Other) != None)
Can anyone help me out here?