GetUDMFInt(), GetUDMFFloat() & GetUDMFString() For Things

Remember, just because you request it, that doesn't mean you'll get it.

Moderator: GZDoom Developers

GetUDMFInt(), GetUDMFFloat() & GetUDMFString() For Things

Postby FishyClockwork » Sun Mar 24, 2019 1:41 pm

Pretty please implement GetUDMFInt/Float/String() for things/actors.

I do not know what the technical reason is for why this isn't done already (considering you can fetch UDMF (user_*) properties off of sectors, lines and sidedefs via the GetUDMF* functions), but at the moment it would be useful to me (as well as others) to be able to set and get UDMF properties on map things as well.

Apologies if this was asked before.

EDIT: Just to clarify, I am aware I can define user_* variables in actor definitions and GZDB will set them accordingly if I also define them in the Custom tab. The problem is I am not using custom actors. So, as a alternative, I will accept if the `extend` keyword allows you to add more variables to existing actor definitions, for example:
Code: Select allExpand view
extend class Actor
    int user_blub;
User avatar
Joined: 23 Feb 2011

Return to Feature Suggestions

Who is online

Users browsing this forum: MSN [Bot] and 1 guest