i am wondering if there is a way to put in a custom message in menudef, as in for an ex: "You can set the difficulty from medium to hard" <- EX:
if there is any possible way to do this, then its greatly appreciated.
for the menudef
-
- Posts: 59
- Joined: Mon Sep 17, 2012 6:11 pm
- Preferred Pronouns: He/Him
-
-
- Posts: 1644
- Joined: Sun Jul 21, 2019 8:54 am
Re: for the menudef
In MENUDEF you can do it using the StaticText command:
Code: Select all
StaticText "Text", (Optional color code)
StaticText "Difficulty setting here", 1
-
- Posts: 59
- Joined: Mon Sep 17, 2012 6:11 pm
- Preferred Pronouns: He/Him
Re: for the menudef
to actually confirm it, if you know what it is. like if i were to put in an option, and it'll confirm saying the custom message ***Do you really want to do this*** and its yes or no,
i would like to change that instead from that to one of the custom ones. if you know.
i would like to change that instead from that to one of the custom ones. if you know.
-
-
- Posts: 1644
- Joined: Sun Jul 21, 2019 8:54 am
Re: for the menudef
For that you will want to use SafeCommand:
I recommend looking through the wiki page for MENUDEF for more information.Wiki wrote:SafeCommand "<label>", "<command>" [, "<prompt>"]
Calls a console command with an additional confirmation. Optionally, a custom prompt can be specified.
-
- Posts: 59
- Joined: Mon Sep 17, 2012 6:11 pm
- Preferred Pronouns: He/Him
Re: for the menudef
man, everytime something good happens, it always fails lol, and im using zandronum to test out the mod of mine. im guessing some of the codings are missing from gzdoom to zandronum. its alright.