problem with pickable inventory
Posted: Thu Jan 10, 2008 22:01
Hi!
I made some pickable inventories like medics, artifacts and others. They work fine but there is a problem when, for example, I got 3 infravison gogles and I finished level and when I enter to next level my inventory got only 1 gogle. This problem I got with all pickupable items. Some ideas?
Here is a code:
ACTOR INFRAVISION : PowerupGiver 20094
{
+COUNTITEM
+INVENTORY.ALWAYSPICKUP
+NOGRAVITY
Powerup.Color "100 100 50" 0.2
Inventory.MaxAmount 25
Powerup.Type LightAmp
Inventory.icon VISIA0
Inventory.PickupMessage "$GOTVISOR"
Radius 5
Height 5
States
{
Spawn:
GOGL A -1
Stop
}
}
I made some pickable inventories like medics, artifacts and others. They work fine but there is a problem when, for example, I got 3 infravison gogles and I finished level and when I enter to next level my inventory got only 1 gogle. This problem I got with all pickupable items. Some ideas?
Here is a code:
ACTOR INFRAVISION : PowerupGiver 20094
{
+COUNTITEM
+INVENTORY.ALWAYSPICKUP
+NOGRAVITY
Powerup.Color "100 100 50" 0.2
Inventory.MaxAmount 25
Powerup.Type LightAmp
Inventory.icon VISIA0
Inventory.PickupMessage "$GOTVISOR"
Radius 5
Height 5
States
{
Spawn:
GOGL A -1
Stop
}
}