Updating vehicle damage - when?
#7

Quote:
Originally Posted by park4bmx
Посмотреть сообщение
simply the worst way you can think of !


What if the player never leaves the car ?
e.g explodes.

A good way is going to be to use the vehicles damage status update callback
OnVehicleDamageStatusUpdate
NOTE: if you want to go fully pro on this u can make it check how fast its updating the status so there is no overwriting.
I could see this getting nasty. IE if someone goes on a rampage smashing into vehicles etc, that's a lot of writes. I'm not sure how I would check the speed it was updating to prevent this.
Reply


Messages In This Thread
Updating vehicle damage - when? - by liam1412 - 11.04.2013, 17:12
Re: Updating vehicle damage - when? - by Faisal_khan - 11.04.2013, 17:14
Re: Updating vehicle damage - when? - by liam1412 - 11.04.2013, 17:14
Re: Updating vehicle damage - when? - by LetsOWN[PL] - 11.04.2013, 17:15
Re: Updating vehicle damage - when? - by park4bmx - 11.04.2013, 17:18
Re: Updating vehicle damage - when? - by Faisal_khan - 11.04.2013, 17:18
Re: Updating vehicle damage - when? - by liam1412 - 11.04.2013, 17:54
Re: Updating vehicle damage - when? - by park4bmx - 11.04.2013, 18:01

Forum Jump:


Users browsing this thread: 2 Guest(s)