Split ACTLIKEBRIDGE behaviors into two flags?

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

Moderator: GZDoom Developers

User avatar
Posts: 6174
Joined: Thu Feb 26, 2004 3:02 pm
Preferred Pronouns: He/Him

Split ACTLIKEBRIDGE behaviors into two flags?

Post by Caligari87 »

Doing some code-diving to help Fishy with the 3D Platform Actor, it seems like the ACTLIKEBRIDGE flag controls two behaviors: A) Letting actors walk on and/or pass the actor, and B) not shifting in relation to floor/ceiling changes.

It would be useful to split these two behaviors up into separate flags, such as DONTMOVEWITHSECTOR and CANWALKON (or something, names can be bikeshedded over of course).

From what I can tell, all the behavior of this flag is controlled in p_map.cpp and would be pretty straightforward to split. Would a PR be accepted if I did so? The main drawback I can see would be adding yet more actor flags, but I'm not sure there's any way to replicate either desired behavior individually in ZScript.


Return to “Feature Suggestions [GZDoom]”