How to do a simple AddListMenu?

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!

Moderator: GZDoom Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
Heisanevilgenius
Posts: 72
Joined: Wed Dec 15, 2021 8:38 pm
Graphics Processor: nVidia (Modern GZDoom)

How to do a simple AddListMenu?

Post by Heisanevilgenius »

Redoing this post to be more clear and direct. I'm trying to add a list menu to go after SkillMenu.

I managed to make a new options menu so I know how it works, but I can't seem to figure out how to do the same with a list menu. I know how to do

Code: Select all

AddListMenu "(Nameofmymenu)" after "SkillMenu"
{
}
but not sure what to do beyond that.

I don't want to change the formatting for anything. I want it to work just like the Skill Menu, but be an extra option you can pick that will set a CVAR or global variable in Zscript or something. I've been struggling to find any tutorials or example wads that use AddListMenu and I can't find any at all. Are there any?

Any guidelines or a simple point in the right direction would be appreciated. Thank you.
Last edited by Heisanevilgenius on Sat Jan 18, 2025 7:53 am, edited 4 times in total.

Return to “Scripting”