[ZSCRIPT] Make Hitscan Pass Through Map Geometry

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!
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.

Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
Kan3x
Posts: 85
Joined: Tue Nov 08, 2022 4:19 pm

[ZSCRIPT] Make Hitscan Pass Through Map Geometry

Post by Kan3x »

Hello

I'm trying to make a hitscan that could go through map geometry and with that I mean every geometry, so being able to pass through void spaces.

I though that LineTracer could achieve that, but apparently it can't.

Is there a way to do that?

LineTracer code I'm using right now:
Spoiler:
It works perfectly fine until, of course, I have actors behind "void walls" T_T

Return to “Scripting”