My Code:
Code: Select all
Actor DeadBodyShotgun
{
Radius 20
Height 4
+NOBLOCKMAP
+MOVEWITHSECTOR
States
{
Spawn:
DEAD A 0 A_SpawnItem ("Shotgun")
DEAD A -1
Stop
}
}
Moderator: GZDoom Developers
Code: Select all
Actor DeadBodyShotgun
{
Radius 20
Height 4
+NOBLOCKMAP
+MOVEWITHSECTOR
States
{
Spawn:
DEAD A 0 A_SpawnItem ("Shotgun")
DEAD A -1
Stop
}
}
Code: Select all
DEAD A 0 nodelay A_SpawnItem ("Shotgun")
Thanks!Matt wrote:Make that line readOtherwise anything you put into the first spawn frame is ignored unless/until the actor revisits that state later.Code: Select all
DEAD A 0 nodelay A_SpawnItem ("Shotgun")