Dead Actor VS. Vehicle = Floating Actors!
#4

Hi Crayder,

The best bet is to actually use the DestroyActor call and destroy them before respawning them. What you could do is use a timer that loops through all of your actors and uses 'GetActorHealth' and if the health returns 0.
Destroy the actor and respawn them.
Set the timer to mayeb every 5 to 10 seconds to allow you to shoot one down, and let him lie there briefly before respawning as opposed to an almost instant respawn from dying that the animation of them falling to the ground probably wouldn't even finish.

With regards to the collision of them, it's probably the way SAMP initializes them into the server. They will more than likely not have all the same attributes of a normal pedestrian which gives the 'solid effect' when driving over them after they have died.
Reply


Messages In This Thread
Dead Actor VS. Vehicle = Floating Actors! - by Crayder - 03.05.2015, 22:57
Re: Dead Actor VS. Vehicle = Floating Actors! - by Crayder - 02.08.2015, 22:15
Re: Dead Actor VS. Vehicle = Floating Actors! - by Crayder - 20.09.2015, 06:38
Re: Dead Actor VS. Vehicle = Floating Actors! - by LiamM - 20.09.2015, 09:40

Forum Jump:


Users browsing this thread: 2 Guest(s)