triggerAttachedVehicle: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| arma2 |Game name= | | arma2 |Game name= | ||
Line 8: | Line 7: | ||
|gr1= Triggers |GROUP1= | |gr1= Triggers |GROUP1= | ||
| Returns vehicle attached to the trigger (for example using [[triggerAttachVehicle]]). | | Returns vehicle attached to the trigger (for example using [[triggerAttachVehicle]]). | ||
<br><br>{{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.}}|DESCRIPTION= | <br><br>{{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.}}|DESCRIPTION= | ||
| '''triggerAttachedVehicle''' trigger |SYNTAX= | | '''triggerAttachedVehicle''' trigger |SYNTAX= | ||
Line 28: | Line 25: | ||
|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 03:48, 17 January 2021
Description
- Description:
- Returns vehicle attached to the trigger (for example using triggerAttachVehicle).
- Groups:
- Triggers
Syntax
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