Setting a custom UDMF line property through script?
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!)
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!)
- Tormentor667
- Posts: 13556
- Joined: Wed Jul 16, 2003 3:52 am
- Preferred Pronouns: He/Him
- Operating System Version (Optional): Windows 11
- Graphics Processor: nVidia (Modern GZDoom)
- Location: Germany
- Contact:
Setting a custom UDMF line property through script?
I think the title says it all, how can you do that?
- Graf Zahl
- Lead GZDoom+Raze Developer

- Posts: 49252
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Setting a custom UDMF line property through script?
Custom UDMF properties are static and cannot be changed after loading the map. Making this non-static is a non-trivial matter because that'd imply handling them in save games and a few other places as well, and that won't work with how their storage is managed.
Re: Setting a custom UDMF line property through script?
What about a thing executed special? Can those properties be changed via script? Might be able to mimic a line special with a sector action thing: https://zdoom.org/wiki/Thing_executed_specials