Spawning explosions
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.
Spawning explosions
How can you spawn just a simple explosion? Say that you have a slkybox depicting a warzone, how do I spawn explosions? And also, can you spawn individual lightpoint that enlightens the environment?
- XutaWoo
- Posts: 4005
- Joined: Sat Dec 30, 2006 4:25 pm
- Location: beautiful hills of those who are friends
- Contact:
Code: Select all
actor BossRocket : Rocket
{
states
{
Spawn:
MISL BC 10 bright
MISL D 10 bright A_BrainExplode
stop
}
}Code: Select all
actor Explosion : BossRocket 22222
{
spawnid 512
}- Cutmanmike
- Posts: 11354
- Joined: Mon Oct 06, 2003 3:41 pm
- Operating System Version (Optional): Windows 10
- Location: United Kingdom
- Contact:
- Graf Zahl
- Lead GZDoom+Raze Developer

- Posts: 49252
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
When called from ACS or set via setthingspecial/setlinespecial all parameters are full 32 bit integers. But the spawn ID table has never been extended beyond 256 and never will because all thing_spawn functions have been superseded by versions that can take an actor's class name - and for the few remaining tasks 255 is enough.