Code: Select all
function bool CheckReplacement(Actor other, out byte bSuperRelevant) {
if (other.IsA('BioAmmo')) {
return false;
}
return true;
}
P.S. English is not my native language.
Code: Select all
function bool CheckReplacement(Actor other, out byte bSuperRelevant) {
if (other.IsA('BioAmmo')) {
return false;
}
return true;
}
IsInState('Pickup')
:
Code: Select all
function bool CheckReplacement(Actor other, out byte bSuperRelevant) {
if (other.IsA('BioAmmo') && Other.IsInState('Pickup')) return false;
return true;
}
Code: Select all
Inventory(other).MyMarker != none