on_vehicle_unhitched(func_name, name)

Parameters:
func_name (string) name of the function, or "" to unregister the event
name (srting) name of the trailer vehicle
 
Returns:
none

Description:
Register a callback function for when a trailer vehicle becomes detached from the vehicle that was pulling it.

When the callback is executed, the following parameters are passed to it:
 - (string) name of the trailer vehicle
 - (string) name of the tractor vehicle

 

back to indexSR3 Script Action Documentation
Last updated: Tue, 09 Aug 2011 11:32:16