Line_GenericActivation() or Similar

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

Moderator: GZDoom Developers

User avatar
Sarah
Posts: 542
Joined: Wed Sep 06, 2006 12:36 pm
Github ID: Saican
Operating System: Debian-like Linux (Debian, Ubuntu, Mint, etc) 64-bit
Location: Middle of Nowheresville Il.

Line_GenericActivation() or Similar

Post by Sarah »

This was brought to my attention by MekBoss - basically how to do stuff in ZScript from activated lines. I implemented this in ZScript Windows, however this seems pretty hacky to me. If you look at either MekBoss's demo file or the ZScript Windows demo map, you'll see that we both use HealThing() to activate the terminal line without actually doing anything. All the line does is hold UDMF data for ZScript Windows to process.

What I'm requesting is a generic line special that is identified as such, that does nothing but send the line activation event for event handlers. My thought for a name is Line_GenericActivation() or Line_ZScriptEvent() or something along those lines. Also not necessarily a UDMF specific feature either, besides gathering data from UDMF variables, this might help in processing some sort of border - I'm thinking like a boxing ring, you need something to occur when an actor crosses the line but that something varies, could even by UI related.

Return to “Feature Suggestions”