View Single Post
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 05-07-2018 , 14:39   Re: [L4D] Infected No Block On Ladder
Reply With Quote #7

wow, this plugin could be like 50 lines and a config with preset ladder positions. One simple function to create the trigger_multiple instead of repeating the same thing over and over just with different positions for different maps - this is where a config with each specific map could list the various points.

But forget that, it could probably be 50 lines without any config and to support any map. Simply detect when someone is on a ladder by checking if MOVETYPE_LADDER and use SDKHooks: SDKHook_ShouldCollide / SDKHook_StartTouch.
__________________
Silvers is offline