Yet another problem

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Locked
CaptainToenail
Posts: 3975
Joined: Fri Jul 06, 2007 9:16 am

Yet another problem

Post by CaptainToenail »

Can someone tell me why the giant dodgeball pickup is never spawning?
actor BallSpawner 12345
{
states
{
Spawn:
TNT1 A 504
TNT1 A 8 A_Jump(255,"SpawnAntiGrav","SpawnSpread","SpawnGiant")
loop
SpawnAntiGrav:
TNT1 A 2 A_SpawnItem (ThrowAntiGravBall)
goto Spawn
SpawnSpread:
TNT1 A 2 A_SpawnItem (ThrowSpreadBall)
goto Spawn
SpawnGiant:
TNT1 A 2 A_SpawnItem (ThrowGiantBallAmmo)
goto Spawn
Death:
TNT1 A 4
stop
}
}
User avatar
Cutmanmike
Posts: 11353
Joined: Mon Oct 06, 2003 3:41 pm
Operating System Version (Optional): Windows 10
Location: United Kingdom
Contact:

Re: Yet another problem

Post by Cutmanmike »

The only thing that crosses my mind is that none of those actors are in quotation marks for A_SpawnItem. Other than that, I have no idea. Let's see the code for the actor that's not spawning?

Also A_Jump's maximum value is 256 isn't it? (Not that it matters)
CaptainToenail
Posts: 3975
Joined: Fri Jul 06, 2007 9:16 am

Re: Yet another problem

Post by CaptainToenail »

Edit: nevermind I got it working, there was a typo
Locked

Return to “Editing (Archive)”