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
}
}
Yet another problem
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.
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.
-
- Posts: 3975
- Joined: Fri Jul 06, 2007 9:16 am
Yet another problem
Can someone tell me why the giant dodgeball pickup is never spawning?
- 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
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)
Also A_Jump's maximum value is 256 isn't it? (Not that it matters)
-
- Posts: 3975
- Joined: Fri Jul 06, 2007 9:16 am
Re: Yet another problem
Edit: nevermind I got it working, there was a typo