Description
Returns vehicle attached to the trigger (for example using triggerAttachVehicle).
Important
The trigger could be local or remote but the result returned by this command will be for the vehicle attached locally on the client that executed the command. See createTrigger for more info.
Syntax
triggerAttachedVehicle trigger
Parameters:
trigger: Object
Returns: Object
Examples
Example 1
_result = triggerAttachedVehicle triggerName;
See also
attachObject · attachTo · attachedObjects · attachedTo · waypointAttachVehicle · waypointAttachedVehicle · lightAttachObject · triggerAttachVehicle · attachedObject · triggerAttachObject