Skip to main content

trigger_vehiclecontrols

trigger_vehiclecontrols icon
Point entityPorted from Featureful

A trigger_vehiclecontrols locks or unlocks the controls of a func_tracktrain or a func_vehicle, so players can't drive a locked one.

Attributes​

The entity also has these common keys:

KeyDescriptionDefault
Train or vehicletarget

Names the func_tracktrain or func_vehicle, as a name or !activator. It skips other entities with that name.

Notes​

  • On unlocks the controls, Off locks them and Toggle switches them. It does this with the vehicle's flag No User Control
  • Without a target, it does nothing. With developer 1 set in the console, the server console says so

See also​

Changes since 1.38​

  • trigger_vehiclecontrols is new