Jump to content
  • 0

RandomSpaawner not working


Mad Dal 85

Question

2 answers to this question

Recommended Posts

  • 1

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

Edited by Nevander

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...