Mutator Object Replacement

  • Two Factor Authentication is now available on BeyondUnreal Forums. To configure it, visit your Profile and look for the "Two Step Verification" option on the left side. We can send codes via email (may be slower) or you can set up any TOTP Authenticator app on your phone (Authy, Google Authenticator, etc) to deliver codes. It is highly recommended that you configure this to keep your account safe.

Brood_of_Evil

Selene's martyr
Nov 3, 2001
147
0
0
46
Look outside your window!
Visit site
Here:
Code:
function bool checkReplacement(Actor Suspect, out byte bSuperRelevant) {

	
      
      
	if (Suspect.isA('<The actor to be replaced>') && !Suspect.isA('<The actor you will replace it with>')  ) 
	{
		replaceWith(Suspect, "<The actor you will replace it with>");
		return false;
	}

                return true;
}
 

Shiit

Shiit
Dec 19, 2000
168
0
0
Yes, bot note that this won't work for weapons the player gets at spawning. (like all weapons in LMS)
Ya need a spawnnotify for that.