Hp of attached objects?
#5

Quote:
Originally Posted by Spmn
Посмотреть сообщение
Objects attached with SetPlayerAttachedObject have no collision, so OnPlayerWeaponShot won't get called. I'm not sure about attached global/per-player objects.

However, you can still do some not-so-precise checks whether a player shot an object or not based on the offset reported in OnPlayerWeaponShot and some calculations
I think he's trying to detect with a chainsaw, so OnPlayerWeaponShot won't work in this instance. I think GetObjectPos (assuming you're using actual objects) returns the correct position even if attached.
Reply


Messages In This Thread
Hp of attached objects? - by LaLy17 - 18.06.2017, 14:42
Re: Hp of attached objects? - by Abagail - 18.06.2017, 15:19
Re: Hp of attached objects? - by LaLy17 - 20.06.2017, 17:43
Re: Hp of attached objects? - by Spmn - 21.06.2017, 01:15
Re: Hp of attached objects? - by Abagail - 21.06.2017, 01:29
Re: Hp of attached objects? - by Spmn - 21.06.2017, 01:46

Forum Jump:


Users browsing this thread: 1 Guest(s)