Author Topic: Vehicle Events - V2 - OnVehicleTouch and a few outputs.  (Read 16816 times)

Vehicle Events - V2
OnVehicleTouch and a few outputs.

Changelog
V1->V2
-Changed tick to 200.
-Changed MissionVehicles from a SimGroup to a SimSet to ensure this will work with other mods.

Description
Contains 1 input and 8 outputs.

Input - OnVehicleTouch - When a vehicle (not a bot) touches the brick.
Targets - Self, Vehicle, Driver, DrivingClient, Owner, Minigame.

Output - Vehicle - SetVelocity Vector - Sets the vehicle's velocity to the output vector.
Output - Vehicle - AddVelocity Vector - Adds the vector to the vehicle's velocity.
Output - Vehicle - SetVehicleScale Scale - Sets the vehicle's scale to the desired scale.
Output - Vehicle - SpawnExplosion Datablock Scale - An explosion is created from the vehicle.
Output - Vehicle - setHealth Health - Sets the vehicle's health. Entering 0 will kill the vehicle.
Output - Vehicle - addHealth Health - Adds health to the Vehicle. Negative numbers damage, and can kill the vehicle.
Output - Vehicle - kill - Destroys the vehicle.
Output - Vehicle - respawn - Deletes the vehicle and spawns it back at the vehicle spawn.

onVehicleTouch by Trigun, modified by Chrono.
Outputs by Chrono.

Download
Event_Vehicle.zip (Last Updated: Sat Feb 28, 2009 12:54 pm)

Installation
Put Event_Vehicle.zip into the Add-Ons folder in your Blockland folder.

Click Here to view this file on the RTB Download Manager
« Last Edit: April 29, 2009, 07:32:04 PM by Chrono »

holystuffthis'llbeuseful



but i get the feeling the mods on RTB will fail it for something like eating up RAM


holystuffthis'llbeuseful



but i get the feeling the mods on RTB will fail it for something like eating up RAM
It's back and all fixed up, no longer looping through missionCleanup.

That and it only runs through the loop every 1/5th second. Which means minimal lag.
« Last Edit: February 28, 2009, 02:39:59 PM by Chrono »


FINALLY, I've been waiting forever for someone to finally make this


someone will soon make AT mines outta this


i was looking for this!  :cookieMonster:


I was Just Going To Sugjest This. :)  :cookie:

Nice job, I like how there are vehicle outputs. Good job Chrono.