Steam Avatar
You aren't signed in

Output - setVehiclePowered

1 KB, 11 years ago, submitted by mitterdoo

This event allows you to enable/disable vehicle movement of a vehicle spawn brick. If the checkbox is checked, then the vehicle will be able to go forward/backward. If it isn't then the vehicle will act as if the gas pedal was removed. Very simple, uses 14 lines of code.

This is an output event for the vehicle spawn, not the vehicle itself.

DISCLAIMER: This has not been stolen from Badspot's server or anybody's server at all. However I found the name of the event in the save file of his server that I made to see how it works. If a mod on RTB or Badspot himself wants me to take this down, please ask me to do so.

Huskykid
So... it makes vehicles non driveable but you can go in them? Eh if im wrong ill find out in about 5 minutes
Black Mesa Defender
Woohoo! Hope it works.... Uhh well never mind,if it works on Badspot's server it must work on this one,maybe that will be useful for something.
Brickster
I think it would be useful for "broken" cars.

Use item on car, car works. See?
batman
Its now a deflaut add on I think
SCP - 096
@batman
No, it isn't.

OT:Very useful, idk why we should even have vehicles powered and unpowered.
5/5