Author Topic: How can I permanently have vehicles destroyed?  (Read 860 times)

     I want vehicles (mainly turrets) to not respawn after they are destroyed, I've tried editing them in Slayer so that the vehicle respawn time is 999 and stuff like that, but they instantly respawn. I've already also tampered with the events of the vehicle spawn, to make the vehicle set itself to NONE after it dies, but still no luck, same for bots by the way. Can someone help me? I'm sure the answer is obvious but I can't find it.

onVehicleDeath > Self > setVehicle > None

onVehicleDeath > Self > setVehicle > None
     I want vehicles (mainly turrets) to not respawn after they are destroyed, I've tried editing them in Slayer so that the vehicle respawn time is 999 and stuff like that, but they instantly respawn. I've already also tampered with the events of the vehicle spawn, to make the vehicle set itself to NONE after it dies, but still no luck, same for bots by the way. Can someone help me? I'm sure the answer is obvious but I can't find it.

onVehicleDeath > Self > setVehicle > None
The problem is turrets happen to be BOTS, but bot events don't work either.

the tank turret doesn't trigger onbotdeath, and I don't have onvehicledeath to test with
but, I did find a way to clear it if it dies or gets launched away

onbottouch>self>setvehicle[none] - delayed 1000
onbottouch>self>cancelevents

the tank turret doesn't trigger onbotdeath, and I don't have onvehicledeath to test with
but, I did find a way to clear it if it dies or gets launched away

onbottouch>self>setvehicle[none] - delayed 1000
onbottouch>self>cancelevents
I just tried that, did not work.

Scratch that, but it took longer to disappear.

I want the turret to disappear immediately after it's destroyed, when I tried this it only disappeared right after I got in it.

with my tests, it died, and the brick had the vehicle set to none before the turret respawned
try changing the delay to 500 if you need to

What weapon did you use to kill the turret?

ephi's shotgun

the events work based on the turret not being there for half a second

the turret not being there for half a second
That is my problem, the turret respawns INSTANTLY, so fast that if you got rid of the smoke and sound you wouldn't even be aware that you actually killed it. It must be an addon I have causing the instant respawn.