Basically need this for pretty-printing where exit lines take the player in a gameplay mod. Precisely what I require is the ability to fetch the full title of the map it's taking you to, whether it's an Exit_Normal/Exit_Secret line, for which you can only get the map names (not titles) from Level, or it's a Teleport_NewMap line that just gives you a levelnum, and there's nothing you can get from that.
If possible, having access to FindLevelInfo()/FindLevelByNum() would be fine too, if there's a way to ensure that the returned struct is read-only.
Get map title from level number or name
Moderator: GZDoom Developers
- Marisa the Magician
- Banned User
- Posts: 3886
- Joined: Fri Feb 08, 2008 9:15 am
- Preferred Pronouns: She/Her
- Operating System Version (Optional): (btw I use) Arch
- Graphics Processor: nVidia with Vulkan support
- Location: Vigo, Galicia
- Contact:
- Marisa the Magician
- Banned User
- Posts: 3886
- Joined: Fri Feb 08, 2008 9:15 am
- Preferred Pronouns: She/Her
- Operating System Version (Optional): (btw I use) Arch
- Graphics Processor: nVidia with Vulkan support
- Location: Vigo, Galicia
- Contact:
Re: Get map title from level number or name
This should be closed as added, didn't even know I've been requesting this for so long.