AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [L4D2/ANY] Target @los (Line of Sight) (https://forums.alliedmods.net/showthread.php?t=342479)

eyal282 04-17-2023 03:24

[L4D2/ANY] Target @los (Line of Sight)
 
1 Attachment(s)
I didn't thoroughly test this. The cvars are meant as both defaults for every command, or for specific commands to only affect one team, or only your team.

This was created to enable !buy fheal @los to use the Point System feature to heal a survivor, but sometimes you end up being unable to find his name, or gibberish name, so this solves it.

This also has the hidden benefit: Whenever a survivor is bugged outside the map, you can stare at him, then !tele @los. This will target that survivor if you stare at him, and because you're staring at a wall, it will teleport him to that wall, inside the map boundaries.

This is better than @aim for two reasons:

1. Works through walls ( Maybe @aim also works through walls, not sure )

2. No need to precisely aim at the target.

Mystik Spiral 04-17-2023 08:00

Re: [L4D2/ANY] Target @los (Line of Sight)
 
Quote:

Originally Posted by eyal282 (Post 2802904)
1. Works through walls ( Maybe @aim also works through walls, not sure )

I may be misunderstanding what you are saying, but Line Of Sight means you can see the target unobstructed... there are no walls or other objects blocking your view.

eyal282 04-17-2023 13:56

Re: [L4D2/ANY] Target @los (Line of Sight)
 
Quote:

Originally Posted by Mystik Spiral (Post 2802916)
I may be misunderstanding what you are saying, but Line Of Sight means you can see the target unobstructed... there are no walls or other objects blocking your view.

You are misunderstanding, any better name for it?

Basically the closest player to your crosshair, so it would take the least effort to mouse your crosshair to him.


All times are GMT -4. The time now is 12:53.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.