Raised This Month: $ Target: $400
 0% 

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


Post New Thread Reply   
 
Thread Tools Display Modes
Author
eyal282
Veteran Member
Join Date: Aug 2011
Plugin ID:
8442
Plugin Version:
Plugin Category:
All
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Targeting filter @los ( similar to @all or @!me ) to target the closest survivor to your aim
    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 - 85 views - 2.4 KB)
    __________________
    I am available to make plugins for pay.

    Discord: Eyal282#1334
    eyal282 is offline
    Mystik Spiral
    Senior Member
    Join Date: Oct 2020
    Location: Orlando, FL
    Old 04-17-2023 , 08:00   Re: [L4D2/ANY] Target @los (Line of Sight)
    Reply With Quote #2

    Quote:
    Originally Posted by eyal282 View Post
    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.
    Mystik Spiral is offline
    eyal282
    Veteran Member
    Join Date: Aug 2011
    Old 04-17-2023 , 13:56   Re: [L4D2/ANY] Target @los (Line of Sight)
    Reply With Quote #3

    Quote:
    Originally Posted by Mystik Spiral View Post
    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.
    __________________
    I am available to make plugins for pay.

    Discord: Eyal282#1334

    Last edited by eyal282; 04-17-2023 at 13:56.
    eyal282 is offline
    Reply



    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 06:36.


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