triggerAttachedVehicle

From Bohemia Interactive Community
Revision as of 21:16, 20 January 2022 by Lou Montana (talk | contribs) (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 $2")
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Returns vehicle attached to the trigger (for example using triggerAttachVehicle).
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.
Groups:
Triggers

Syntax

Syntax:
triggerAttachedVehicle trigger
Parameters:
trigger: Object
Return Value:
Object

Examples

Example 1:
return = triggerAttachedVehicle triggerName;

Additional Information

See also:
attachObject attachTo attachedObjects attachedTo waypointAttachVehicle waypointAttachedVehicle lightAttachObject triggerAttachVehicleattachedObjecttriggerAttachObject

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note