Pickup Error
Posted: Fri Jul 07, 2006 18:26
A week or two ago, I updated my copy of GZDooM to the latest version, but now I am having trouble with one of the items on the DECORATE lump.
The script in DECORATE looks like this:
If the latter, could someone please suggest an alternative?
--Merci
The script in DECORATE looks like this:
It worked with the earlier version of GZDooM, but with the current version I get the following error:ACTOR WolfKeyG : Inventory 7006
{
+AUTOACTIVATE
Inventory.Amount 0
Inventory.PickupSound "KEY"
Inventory.PickupMessage "Gold Key"
scale 0.125
States
{
Spawn:
GKEY A -1
Loop
Pickup:
GKEY A 0 A_GiveInventory("YellowCard", 1)
}
}
Is this a new bug, or is there a problem with my DECORATE?Script error, "DECORATE" line 80:
Unknown state label Pickup
If the latter, could someone please suggest an alternative?
--Merci