Author Topic: how to make a button activate when a vehicle is on top of it?  (Read 530 times)

im making a portal like challenge thing and i need to know this
how do i make the super button from phycontent activate when a vehicle is on it

pretty sure there's a onvehicletouch event somewhere

leme find it

edit: found it
http://forum.blockland.us/index.php?topic=61775.0

no idea if this works anymore tho, i can't check r/n

onvehicletouch sucks ass, there's a much better way for this scenario, I remember getting that button to be activated by a weighted cube by using onvehicleenterzone or something of the sort, toy around with zone events until you get it to work.

use zonebricks
use zonebricks in general. the onPlayerTouch event is as bad as the vehicle version

Create a small trigger above the button (using zone events) and do stuf in onVehicleEnterZone and onVehicleLeaveZone.