Does anyone know how to place a weapon in a players inventory when they pick up a pickup extended from the UDamagePack? I've tried looking through the WeaponPickup class but couldn't find anything useful.
Announcement
Collapse
No announcement yet.
Weapons Pickup
Collapse
X
-
Re: Weapons Pickup
Originally posted by SG007
Does anyone know how to place a weapon in a players inventory when they pick up a pickup extended from the UDamagePack? I've tried looking through the WeaponPickup class but couldn't find anything useful.
It looks something like
function bool PickupQuery(Inventory Item)
{
}
You would want to override this function in your new pickup so that it not only copies itself into the inventory list of the person picking it up, but it also puts a copy of the weapon that you want to place into the players inventory.
I THINK thats what your trying to do, right?
Comment