triggerAttachedVehicle: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 $2")
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 ")
Line 28: Line 28:
|x1= <code>return <nowiki>=</nowiki> '''triggerAttachedVehicle''' triggerName;</code>
|x1= <code>return <nowiki>=</nowiki> '''triggerAttachedVehicle''' triggerName;</code>


|seealso= [[attachObject]] [[attachTo]] [[attachedObjects]] [[attachedTo]] [[waypointAttachVehicle]] [[waypointAttachedVehicle]] [[lightAttachObject]] [[triggerAttachVehicle]] [[attachedObject]], [[triggerAttachObject]]
|seealso= [[attachObject]] [[attachTo]] [[attachedObjects]] [[attachedTo]] [[waypointAttachVehicle]] [[waypointAttachedVehicle]] [[lightAttachObject]] [[triggerAttachVehicle]] [[attachedObject]] [[triggerAttachObject]]
}}
}}

Revision as of 21:56, 20 January 2022

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 triggerAttachVehicle attachedObject triggerAttachObject

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