Blockland Forums > Modification Help

OnEnterWater (for Vehicles)

Pages: << < (3/4) > >>

thaky:

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

Loki:


--- Quote from: thaky on October 23, 2010, 11:37:51 AM ---Well I need it so when like a stunt plane enters the water it blows up and respawns but it does affect the player.

--- End quote ---
VehicleData::OnEnterWater?

thaky:


--- Quote from: Loki on October 23, 2010, 12:05:55 PM ---VehicleData::OnEnterWater?

--- End quote ---
OK I'll try that.
But, how do I make it kill?

Loki:


--- Quote from: thaky on October 23, 2010, 12:50:24 PM ---OK I'll try that.
But, how do I make it kill?

--- End quote ---
%obj.kill();

thaky:


--- Quote from: Loki on October 23, 2010, 04:49:29 PM ---%obj.kill();

--- End quote ---
K thx.

Pages: << < (3/4) > >>

Go to full version