Setting a custom UDMF line property through script?

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!
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!)
Post Reply
User avatar
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?

Post by Tormentor667 »

I think the title says it all, how can you do that?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
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?

Post by Graf Zahl »

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.
User avatar
Eliot_L
Posts: 38
Joined: Thu Mar 08, 2018 3:40 am
Contact:

Re: Setting a custom UDMF line property through script?

Post by Eliot_L »

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
Post Reply

Return to “Scripting”