Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
  • 0
Mad Dal 85

RandomSpaawner not working

Question

I tried using the "randomspawner" to test out the monsters in my mod in another wad. But instead, I get this.

 

Any ideas?

Screenshot_2.png

Screenshot_3.png

Share this post


Link to post

2 answers to this question

Recommended Posts

  • 1
Posted (edited)

That's not how you use it. A RandomSpawner is just a thing which randomly spawns something else from a list.

 

It needs to look like this instead:

ACTOR WeaponSpawner : RandomSpawner REPLACES RocketLauncher 15000
{
   DropItem "40mmGrenadeLauncher", 255, 1
   //add more things
}

 

Simply add more weapons or items to the list and adjust probability accordingly. Refer to the wiki page for more info:

 

https://zdoom.org/wiki/Classes:RandomSpawner

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×