View Single Post
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 04-07-2020 , 03:39   Re: [L4D & L4D2] Target Override (2.4) [01-Apr-2020]
Reply With Quote #13

Quote:
Originally Posted by tRololo312312 View Post
Whats wrong?
Code:
2.5 (07-Apr-2020)
    - Added cvar "l4d_target_override_type" to select which method to search for survivors.
    - Fixed "Invalid index 0" when no valid targets are available. Thanks to "tRololo312312".

I haven't actually tested with "l4d_target_override_type" (previous versions used method "1") but I think it should be fine. @sxslmk let me know if option "2" fixes the problem you showed.

@Marttt can you describe more? You want something like for example order option "8" to target survivors with the least health, "9" to target ones with the most health? Combining main and temporary health for the calculation?
__________________

Last edited by Silvers; 04-07-2020 at 03:40.
Silvers is offline