Relic Help

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

Retsnom

New Member
Nov 23, 2001
10
0
0
Visit site
Hi, I'm still quite new to unrealscript

And I'm trying to make a mutator that does the following:
Drop the flag when in possession of the speed relic from the bonuspack

It seems handlepickupquery is not the way to go :(
My second try was to extend flagbase into resistingflagbase which of course failed too :)

I'm not sure where to start on this one?
Can it be done inside a mutator?

Help!!

Thanks in advance :)
 

Retsnom

New Member
Nov 23, 2001
10
0
0
Visit site
So far I've concucted up this, but it doesn't seem to work at all :(

I thought this would make me ignore the flag.

Code:
class flagdropper extends mutator;

function bool HandlePickupQuery (Pawn Other, Inventory item, out byte bAllowPickup)
{
if (item.isA('FlagBase')) {return true;}
return super.HandlePickupQuery(Other,item,bAllowPickup);
}


defaultproperties
{
GroupName="Flagdropper"
FriendlyName="Flagdropper"
Description="Drops the flag when in posession of speed relic"
}

Many thanks if someone can enlighten me on this :)