triggerAttachedVehicle: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (see also)
m (template:command argument fix)
Line 16: Line 16:
| '''triggerAttachedVehicle''' trigger |= Syntax
| '''triggerAttachedVehicle''' trigger |= Syntax


|p1= trigger: [[Object]] |= PARAMETER1
|p1= trigger: [[Object]] |PARAMETER1=  


|p2= |= PARAMETER2
|p2= |PARAMETER2=  


|p3= |= PARAMETER3
|p3= |PARAMETER3=  


| [[Object]] |= RETURNVALUE
| [[Object]] |RETURNVALUE=  




|x1= <code>return <nowiki>=</nowiki> '''triggerAttachedVehicle''' triggerName;</code>|= EXAMPLE1
|x1= <code>return <nowiki>=</nowiki> '''triggerAttachedVehicle''' triggerName;</code>|EXAMPLE1=  


____________________________________________________________________________________________
____________________________________________________________________________________________


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


|  |= MPBEHAVIOUR
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
____________________________________________________________________________________________
}}
}}

Revision as of 10:38, 7 April 2019

Hover & click on the images for description

Description

Description:
Returns vehicle attached to the trigger (for example using triggerAttachVehicle). Note: The trigger could be local or remote but the result returned by this command will be for the trigger condition set up locally on the client that executed the command. See createTrigger for more info.
Groups:
Uncategorised

Syntax

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

Examples

Example 1:
return = triggerAttachedVehicle triggerName;

Additional Information

See also:
attachObjectattachToattachedObjectsattachedTowaypointAttachVehiclewaypointAttachedVehiclelightAttachObjecttriggerAttachVehicleattachedObjecttriggerAttachObject

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

Notes

Bottom Section