View Single Post
Author Message
eyal282
Veteran Member
Join Date: Aug 2011
Old 04-17-2023 , 03:24   [L4D2/ANY] Target @los (Line of Sight)
Reply With Quote #1

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.
Attached Files
File Type: sp Get Plugin or Get Source (TargetLOS.sp - 98 views - 2.4 KB)
__________________
I am available to make plugins for pay.

Discord: Eyal282#1334
eyal282 is offline