PR and test map: https://github.com/coelckers/gzdoom/pull/437
Custom properties in UDMF (prefixed with "user_") are allowed to be string/float/int on linedef/sidedef/sector properties, but were not previously supported on UDMF things -- everything was coerced to an int. This PR adds support for string/float properties on things in the UDMF parser, and also changes the SetUserVariable ACS function so that it can set string properties.
For reference, there was a feature request put in for this which is here: viewtopic.php?t=56179
String and float user properties in UDMF things
Moderator: GZDoom Developers
Re: String and float user properties in UDMF things
Thank you! This one's been asked for quite a while now. :D
Re: String and float user properties in UDMF things
This will be great! Thanks for putting this together!
- RockstarRaccoon
- Posts: 598
- Joined: Sun Jul 31, 2016 2:43 pm
Re: String and float user properties in UDMF things
Thanks Spiral! :3