Blockland Forums > Suggestions & Requests
OnVehicleTouch
(1/1)
MARBLE MAN:
I searched it on RTB and on these forums..
It turns out that someone made it, and it worked...
Could someone make this again??
Plexious:
Use zone events.
MARBLE MAN:

--- Quote from: Plexious on May 24, 2012, 07:17:00 PM ---Use zone events.

--- End quote ---
datablock fxDTSBrickData(TronnedVehicleBrickData)
{
   brickFile = "./2xCube.blb";
   category = "Baseplates";
   subCategory = "Cube";
   uiName = "";
};

Make that a zone brick that kills people in vehicles + the vehicle when it spawns... and i will accept your idea
Treynolds416:
You are only making minor changes to the tron script, but you somehow need help for every little thing...
MARBLE MAN:

--- Quote from: Treynolds416 on May 24, 2012, 07:53:01 PM ---You are only making minor changes to the tron script, but you somehow need help for every little thing...

--- End quote ---
I have already made it kill players..
function TronnedVehicleBrickData::onPlant(%data, %obj)
{
   %obj.enableTouch = true;

   %enabled     = 1;
   %delay       = 0;
   %inputEvent  = "OnPlayerTouch";
   %target      = "Player";
   %outputEvent = "Kill";
   %obj.addEvent(%enabled, %delay, %inputEvent, %target, %outputEvent);
}

I left some functions out
Also, I know that I am editing stuff to make it what i want - STFU about it
If you say no, I will simply ignore your posts
Navigation
Message Index

Go to full version