Steam Avatar
You aren't signed in

Events Set - Vehicle

2 KB, 14 years ago, submitted by Zack0Wack0

Vehicle Events
Information:
Features:
These input events only work on vehicle spawns.
onVehicleEnter: When a player enters a vehicle and becomes a passenger.
onVehicleLeave: When a player leaves a vehicle and is no longer a passenger.
onVehicleDeath: When a vehicle is blown up.
onVehicleSpawn: When a vehicle spawns.

Vehicle -> addHealth: Adds health to the vehicle. First parameter is the amount to add (negative for damage).
Vehicle -> addVelocity: Adds velocity/speed to the vehicle. First parameter is amount to add.
Vehicle -> destroy: Blows the vehicle up.
Vehicle -> respawn: Respawns the vehicle.
Vehicle -> setColor: Sets the color of the vehicle. First parameter is the color to set it to.
Vehicle -> setHealth: Sets the vehicle's health. First parameter is the amount to set it to.
Vehicle -> setShapeName: Sets the vehicle's shape name (name above object). First parameter is the string to set it to.
Vehicle -> setShapeNameColor: Set the color of the vehicle's shape name. First parameter is the color to set it to.
Vehicle -> setShapeNameDistance: Set the distance of the vehicle's shape name before disappearing. First parameter is the distance to set it to.,
Vehicle -> setVehicleScale: Sets the scale of the vehicle. First parameter is the scale to set it to.
Vehicle -> setVelocity: Sets the vehicle's velocity/speed. First parameter is amount to set it to.
Vehicle -> spawnExplosion: Spawns an explosion on the vehicle. Same parameters as Player -> spawnExplosion.
Vehicle -> spawnProjectile: Spawns a projectile from the vehicle. Same parameters as Player -> spawnProjectile.
Vehicle -> toggleWheel: Removes or restores the vehicle's wheels. First parameter is the wheel/hub slot and the second parameter is a bool saying if the wheel should be there or not. Vehicles without wheels will not be able to drive, only slide.
Vehicle -> unMountDriver: Unmounts the driver of the vehicle from the vehicle.
Vehicle -> unMountPlayer: Unmounts a player from the vehicle. First parameter is the vehicle slot that contains the player you want to mount, or you can tick the bool to unmount all players.

<var:player:isPassenger>: Equal to 1 if the player is in a vehicle (driver or non-driver) otherwise equal to 0.
<var:player:isDriving>: Equal to 1 if the player is driving a vehicle, otherwise equal to 0.
Credits:
Chrono: Some of the methods within this add-on were built from his old Vehicle Events.

MagicalAce
Damn nice destiny, i expect more of this from you!

off topic:
Lmfao first comment!!!
Albatross
Thank you! I really needed this!
ChickenMaster
Destiny is god. i wuv it
Tezuni
Whoo, thanks Dest! :D
RedPikmin11
I <3 this so much!!
ricoow
I miss only one inputEvent: onVehicleTouch
BUT STILL A gREAT ADD-ON! KEep it going :D
s0ull3ss2k4
Great now ppl canloop invincible vehicals :c
frontrox
I thought setshapename was disabled?
azlowmana
Idiots response: WOOOOOOOOOOHOOOOOOOOO'
My response: good, needed something like this its fun making an exploding vehicle fly
The Titanium
Destiny ain't a god until he makes that fucking variable old to variable new converter.
narkro555
This looks awesome. The old one stoped working with v13, I think
thecableguy
this looks very useful. 10/10.
BlockStar
Cool! i love it! 10/10
Showdown997
Glitch: If your in a vehicle and some one deletes it you have to reconnect.
meh 4/5
Corbiere
Vehicle events are back :D
koonta
by any chance does it come with something like "vehicle transform" or "movetobrick" ?
w/e either way, im gettin it :P
Sucon
Thank you for adding these i missed them :'D
Melting Plastic
Should Work Good with my zones :)
custardpot10
I would Really like Onvehicletouch
joekirk
5/5 but can you make onvehicletouch please? i want to make brick house's with walls that fakekillblock when a vehicle touch's them for -some thing- im working on
Manga
Plz add onVehicleTouch.
its maby the most important vehicle event.
Thanks anyway.
A Twig
Yes, on vehicle touch would make this an almost perfect event pack..for example:

(Lets say a YouTube Blockhead wants to make a sick WWII Movie..he needs vehicle touch event but lets say it's out and works..not saying you made but if it was made)

"A truck goes by, ripping up dirt and grass as it goes by..suddenly, the convoy truck gets trapped in a heap of quicksand..what shall they do?"

Making a hold with sand colored..sand-like-bricks and onVehicleTouch-Self-Fakekill (Numba)
For a pretty cool vehicle T
Tidalwave
eys a good event lets say someone had a noob blockhead trap Sign "Hye come here for free SUPER ADMIN" onvechiletouch-self-fakekillbrick" On botttom of pit"On vechile touch vechile destroy
Coupon
Could you make an event that is onvehicaltouch? So when the vehical touches teh brick, a door opens?
sniperlive
on vehicle touch world be good. i need it to
BEAST. 100% good thanks!
Sorethin
Onvehicletouch would perfect this.
DarkShadow6
Do you not see all of the people asking for you to bring onTouch back?
Do it, man!
Aber Purchai
onVehicleTouch is absolutely necessary. Plz add it.
Triumphancy
add some more variables for it
davvg
why'd the oncehicle touch you recently subbmitted get failed, and the one on your site has gone missing "No downloads found matching given ID" Please make a new link! Repost the old one, that one seemed to work great, my old computer crashed and now i dont have it, one of the best events! add it to this pack and this will be one of the best event packs
koonta
I highly agree with dawg :)
Mr-Jacksaunt
OnVehicleTouch used to be in the archievs, but nobody can get to anymore.
CameronOwnz
Is there a way i could get OnVehicleTouch?
Fedora the bandit
i know a site where on VehicalTOuch is and also has Payload gamemode but i forgot the site :l
ALso USAF Airman has it on his server
But hes in the Airforce FOR REAL
DarkShadow6
Eh, ZoneBricks' onVehicleEnterZone is a good replacement.
Crymsonblade04
Is there anyway to make like an output event for vehicle shutdown, just like makes it do nothing for an ammount of time that you state, and like -1 would shut it down for good? just a thought, thanks
knockout32
how do you put music on your vehicle?
Failure
Awesome.
Corbiere
@knockout32
That's the stereo addon: /stereo

You need to download it somewhere.
Kevune
nice but it needs an onVehicleTouch event 4/5
ARMORD RAPTER
Idea: Doggy / Kittie Family Rpg :3 Idea2: Private Admin Car: name: PRIVATE A-CAR lol.. these Events kick ass, 5/5 and a cookie
aplabsProtagonist
SERIOUSALLY? onVehicleTouch?! I NEED THAT!
abledbody
__________
|___ ___|
| |
| |
| |
| |
--- touch T wants a vehicle touch. got it?
Kenkoman
We
Need
OnVehicleTouch
!
!
!
ricoow
Great 5/5

But for V4 make onVehicleTouch and spawnVehicle so that you can pick a car from the list to spawn on that brick :D
DarkWind
im making a TDM and i need the onVehicleTouch to complete it
mitterdoo
Nice. But it needs onVehicleTouch!
DarkShadow6
Zone Bricks > onVehicleInZone

/thread
RagYo
Cool For Example:onVehicleEnter > Client > Center Print > You stole my car!
ARMORD RAPTER
Now I just need to find the RC tool or whatever it is. (Toy car lol wut. this mod allows the vehicle to resize)
adam savidege
i have this and there is NO 'on vehicle touch' event WHAT IS UP WITH THAT!!!!!!?!?!?!??!
Golden Knight
in the future, can you put onvehicletouch? anyway its awesome
Just what I need. Thank you.
Gunny
Found few glitches First If you lower the scale IF the vehicle has a turret the turret doenst change 2nd If vehicle is to big and you mount a turret it crashes the person , not the Blur thing it literaly crashes them
superluigi123
onvehicletouch and onvehicletouched plz!
dogz2k8
cool i love it now i can tell my friend's were to get this epic adon!
BlockoDude1010
EVENT SET - VEHICLE

Nice! I love this add-on!

Image
Marissa
Nice.
Reynolds
on vehicle touch plz
michael9r9r
On vehecal touch!!!!!!!!!!!!!!!!!!NNOOOOOAAAAWWWW!!!lolz
SuperBannanaPickle
Onvehicle touch plz. NAAAAAAOOOOOOOOOOOOOOOOOOWWWWWWWWWWWWWWWWW!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Valkier
ARGH!!!! Why is there no Onvehicletouch yet!?!?!? I need one so badly!!! ON VEHICLE TOUCH PLEASE!!!!!!!!!!
matty1051
How do you get out when in the conrtol?
Ichego
Yes I agree with Valkier I need a: OnVehicleTuch. so i can cheat in races! ^^
mitterdoo
You can use ZoneBricks (event onVehicleEnterZone)
@mitter do yeah but that doesn't work all the time
StevenBR
I WANT ON VECHILE TOUCH TO MAKE MY PORTAL GAMES!!!
ARMORD RAPTER
Onvehicletouch would be great combined with gas mod, since gas mod can't be refilled without it.. :P
slybones
This is great. But it could use the fallowing things.
OnVehicalTouch
SetThrottel
SetBreak
SetTurn
Redoctober2009
onVehicleTouch Please :)
Sauce
onVehicleTouch just crashes servers since as soon as a vehicle touches a brick it explodes in most cases
Infinite Killzone
Yeah. It needs on vehicle touch... 4.9 /5 :/
FluffyJopandjCrap
Thank you soooo much, i have been looking for something like this for a while now! 5/5
Goldenwontong
THIS IS AMAZING!!!!!!
MrLoganator111
This is a great addon, the only thing you need to add is onVehicleEnter --> Player --> SwitchSeats 4.9999/5.
Vergick
OnVehicleLeave doesn't work. Should it work with Slayer team spawns?
Pineapple
I like the vehicle velocity :0
Bazoka81
THANK YOU I'm making an actual mini city YAY MINI CARS :D 10/10 if this works!
dafrandle
caould you add "onvehicletocth" i think thats how you spell, it, the resaon is vehicles that go fast like to go throu bricks so i wnt a way to respawn them if they go throu them without doing it by hand
blocko555
make onvehicletouch
Pie Crust
Add OnVehicleTouch, OnVehicleTouched and OnVehicleActivated. Since Events_Bots have been failed, it would be useful.
applesauce
OnVehicleTouch plz
Black Mesa Defender
Yes! I needed this,but it needs more vehicle events.
dany777
@applesauce

I agree too, WE NEED OnVehicleTouch, so i need it for my Action 52 BL server
Setro2
@dany
Not a big surprise youre the poster.
Use ZONE BRICKS and ZONE EVENTS
WarOfCake
@applesauce

Get zone bricks and events.
SuperDrew25
I want these vehicles!
Blockops
Great i needed this!
WarOfCake
PERFECT WITH ZONEBRICKS
batman
Awesome! 5/5
micheal daken
try make a
onvehicletouch: when a vehicle touches the brick
good for gas mod
Corecska
Great for making cars smaller c:

5/5
Counter
Should have Vehicle - PlayMusic