Remove distance cap for GetDistance from player

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

Moderator: GZDoom Developers

User avatar
Void Weaver
Posts: 724
Joined: Thu Dec 18, 2014 7:15 am
Contact:

Remove distance cap for GetDistance from player

Post by Void Weaver »

It would be awesome if GetDistance distance check cap from player-to-target will be removed or increased to much sense values instead of pathetic ~1054.54.

Drawn from this topic.
User avatar
Matt
Posts: 9696
Joined: Sun Jan 04, 2004 5:37 pm
Preferred Pronouns: They/Them
Operating System Version (Optional): Debian Bullseye
Location: Gotham City SAR, Wyld-Lands of the Lotus People, Dominionist PetroConfederacy of Saudi Canadia
Contact:

Re: Remove distance cap for GetDistance from player

Post by Matt »

distance3d(target)

That aside, though, I do notice that this limit isn't documented anywhere. Is there anything that requires it? What's BulletSlope used for anyway?
User avatar
Void Weaver
Posts: 724
Joined: Thu Dec 18, 2014 7:15 am
Contact:

Re: Remove distance cap for GetDistance from player

Post by Void Weaver »

Ofc I don't understand more of source\zscript things but I don't see there any numeric limits references from BulletSlope() too.
Blue Shadow
Posts: 4949
Joined: Sun Nov 14, 2010 12:59 am

Re: Remove distance cap for GetDistance from player

Post by Blue Shadow »

Void Weaver wrote:I don't see there any numeric limits references from BulletSlope() too.
Here; do you see the "16.*64" bit? That's the set distance.
Post Reply

Return to “Feature Suggestions [GZDoom]”