Is this or is the not the proper implementation of "CheckReplacement"?
Yes, im replacing 'ROPawn' with 'ROPawn' but Im trying to keep this as simple as possible. I have, of course tried replacing 'ROPawn' with an all but empty class in the 'ReplaceWith' parameter (e.g. "MyROPawn") but I get the same result (no spawing).
THX!
Code:
function bool CheckReplacement( Actor Other, out byte bSuperRelevant )
{
if(Other.IsA('ROPawn'))
{
ReplaceWith(Other,"ROPawn");
return false;
}
return true;
}
THX!
Last edited: