Im having troubles with the new wormk4

  • 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.

{GOD}Urbanite

New Member
Mar 27, 2004
13
0
0
Here's my prob. 1st I'd like to say I appreciate the way you have it set up, being able to make changes in the webadmin and not the ini (real smooth).
What Im trying to do is spawn with 2 weapons, I want users to spawn with the Dual Assault rifles 1st, and have the Sniper2k4_lite_101 and the second.
But whats happening is the Sniper is the 1st weapon ane the Dual Assault rifles are the 2nd. When I mess with the settings it seems like the worm isnt even detecting the Dual assault rifles. I really need a solution cause believe it or not that one change will dramaticly change the game play.
 

EvilDrWong

Every line of code elevates you
Jun 16, 2001
932
0
0
41
Inside the machine
Visit site
here, so i dont have to remind you
Code:
function SomeFunction()
{
local Pickup tARP;
local AssaultRifle tAR;

	log("Spawning dual Assault rifle for player.");
	if(Other!=None)
	{
		tAR=AssaultRifle(Other.FindInventoryType(class'AssaultRifle'));
		if(tAR!=None)
		{
			tARP=spawn(class'AssaultRiflePickup');
			tAR.HandlePickupQuery(tARP);
			tARP.Destroy();
			tAR.AddAmmo(50, 0);
			tAR.AddAmmo(class'AssaultAmmoPickup'.default.AmmoAmount, 1);

		}
	}
}