UDMF & ACS - Check player distance from lineID

Ask about mapping, UDMF, using DoomBuilder/editor of choice, etc, here!

Moderator: GZDoom Developers

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.
Post Reply
DnB-Freak
Posts: 304
Joined: Sun May 19, 2013 12:09 pm

UDMF & ACS - Check player distance from lineID

Post by DnB-Freak »

Posted in Mapping because its ACS related.
It's not very fun if you play a mod and cannot proceed further because you "don't expect" ladder linedefs for instance.

I do wish to improve this by showing up HUDMessages when player faces a close enough linedef with lineID.

I'm working theoretically on an ACS that's supposed to check player dist and FOV from the lineID,
showing up a HUDMSG Hint if true: "Climb" for example.

Do anyone have some example code or recommendation for a trick similar to this?
I've searched, but couldn't find it here.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49067
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: UDMF & ACS - Check player distance from lineID

Post by Graf Zahl »

You'll have to use some ZScript here. ACS does not implement what is needed for this.
Post Reply

Return to “Mapping”