
No matter what I do, I can't seem to pickup the item, it just stays there when I touch it. I can use +ALWAYSPICKUP and it works, but apparently isn't placed in my inventory.
Code: Select all
ACTOR CE_Dynamite : CustomInventory
{
Radius 8
Height 16
Inventory.Amount 1
Inventory.MaxAmount 10
+INVENTORY.INVBAR
States
{
Spawn:
DYNA A 1
Loop
Pickup:
TNT1 A 0
Stop
Use:
TNT1 A 0 A_ThrowGrenade("CE_Dynamite_Active", 0, 12, 4, false)
Stop
}
}