no0bifier
05-16-2009, 03:40
basically the idea is that a player will drop intel when damage is taken (and if possible be stunned eg the sandman for 0.5 seconds).
purpose is to use it for a soccer style map, combining only melee weapons, throw intel and this cvar. So i need scouts hitting the other with a bat to cause the player hit to drop the intel and stun for 0.5 seconds(time doesnt really matter, just 0.5 seconds minimum, 2 max) only if they had the intel, otherwise no stun. If a stun is too hard then just dropping on a melee hit would be awesome.
I have done some coding in C before (but none for sourcemod) so if someone could point me in the general direction(or make this code) that would be awesome.
purpose is to use it for a soccer style map, combining only melee weapons, throw intel and this cvar. So i need scouts hitting the other with a bat to cause the player hit to drop the intel and stun for 0.5 seconds(time doesnt really matter, just 0.5 seconds minimum, 2 max) only if they had the intel, otherwise no stun. If a stun is too hard then just dropping on a melee hit would be awesome.
I have done some coding in C before (but none for sourcemod) so if someone could point me in the general direction(or make this code) that would be awesome.