Author Topic: OnEnterWater (for Vehicles)  (Read 1126 times)

I've been searching and I couldn't find out how to make the vehicle get killed when it touches water?
So can you help please.

Code: [Select]
OnRelay-self-setzone-all-"Numbers"
OnVehicleEnterZone-Vehicle-Destroy
To make this work you will need zone events, and vehicle events.

Code: [Select]
OnRelay-self-setzone-all-"Numbers"
OnVehicleEnterZone-Vehicle-Destroy
To make this work you will need zone events, and vehicle events.
coding help not eventing


Eventing would be a replacement.
But it's only for a vehicle, not for all of them.

But it's only for a vehicle, not for all of them.
it does exactly what he asked for




Isn't that adding a Trigger Zone to the Water Brick, which seems kind of stupid since water has his own enter stuff you could use?

Off-Topic: I made the first Zone Events... Trigger Events (Forgot exact name). Trader got them failed for extending beyond the brick, and I couldn't figure out a way of combining different zone bricks efficiently. I left Blockland for a while, and came back to find someone had made Zone Events to my old idea... bastard. :panda:
« Last Edit: October 22, 2010, 10:54:25 AM by MegaScientifical »

Well I need it so when like a stunt plane enters the water it blows up and respawns but it does affect the player.

Well I need it so when like a stunt plane enters the water it blows up and respawns but it does affect the player.
VehicleData::OnEnterWater?

VehicleData::OnEnterWater?
OK I'll try that.
But, how do I make it kill?

OK I'll try that.
But, how do I make it kill?
%obj.kill();