Weird behaviour with OnPlayerUpdate
#4

Quote:
Originally Posted by CuervO
Посмотреть сообщение
Well this makes sense and actually is good however it doesn't work with all weapons, does this mean the weapon sync is not completely fixed for melee's and others which are not detected at onplayerweaponshot? I've noticed some fails when using melees though; If this isn't the case I would love hit detection callbacks for all the other weapons.
OnPlayerWeaponShot only works on weapons that shoot bullets. It does not work on melee weapons, weapons that shoot particles (flamethrower, spray can) or weapons that shoot projectiles (rocket launcher, grenades).

This is because those other weapons would require completely different methods of detecting them, as Kalcor states somewhere (but can't remember where). This function only detects the actual bullet firing.
Reply


Messages In This Thread
Weird behaviour with OnPlayerUpdate - by CuervO - 20.01.2014, 05:46
Re: Weird behaviour with OnPlayerUpdate - by Basssiiie - 22.01.2014, 12:13
Re: Weird behaviour with OnPlayerUpdate - by CuervO - 22.01.2014, 22:18
Re: Weird behaviour with OnPlayerUpdate - by Basssiiie - 22.01.2014, 23:02

Forum Jump:


Users browsing this thread: 1 Guest(s)