Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
  • 0
DepravedDiptera

[Slade+GZDoom] How Do I Add Settings

Question

So in my options menu for a wad I'm making I have the option to enable randomized Lost Souls (have them replaced with any monster) or disable randomized Lost Souls and everything I've tried so far hasn't worked.

 

I want a script so when LSToggle = 1 the decorate code activates this:

Spoiler

actor LosSpawner : RandomSpawner replaces LostSoul
{
    DropItem "Zom"
    DropItem "Sar"
    DropItem "Imp"
    DropItem "Cha"
    DropItem "Dem"
    DropItem "Spe"
    DropItem "Cac"
    DropItem "Los"
    DropItem "Bar"
    DropItem "Hel"
    DropItem "Man"
    DropItem "Pai"
    DropItem "Rev"
    DropItem "Ara"
    DropItem "Arc"
    DropItem "Wol"
}

But when LSToggle = 0 the decorate code activates this:

Spoiler

actor LosSpawner : RandomSpawner replaces LostSoul
{
    DropItem "Los"
}

Or something like that.

 

The closest I've gotten to that is CVARs, but it still didn't work. Is there anyway to accomplish what I'm trying to do?

Share this post


Link to post

1 answer to this question

Recommended Posts

  • 1

You'll need ZScript.

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
×