attachedObject: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (template:command argument fix)
Line 16: Line 16:
| '''attachedObject''' location |SYNTAX=
| '''attachedObject''' location |SYNTAX=


|p1= location: [[Location]] |= Parameter 1
|p1= location: [[Location]] |PARAMETER1=


| [[Object]] |RETURNVALUE=
| [[Object]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>_locAttachedObj = [[attachedObject]] myLocation;</code> |= Example 1
|x1= <code>_locAttachedObj = [[attachedObject]] myLocation;</code> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 15:28, 7 April 2019

-wrong parameter ("Arma") defined!-1.08
Hover & click on the images for description

Description

Description:
Returns the object a location is attached to. If the location is unattached, then objNull is returned.
Groups:
Uncategorised

Syntax

Syntax:
attachedObject location
Parameters:
location: Location
Return Value:
Object

Examples

Example 1:
_locAttachedObj = attachedObject myLocation;

Additional Information

See also:
attachObjectattachToattachedObjectsattachedTowaypointAttachVehiclewaypointAttachedVehiclelightAttachObjecttriggerAttachVehicle

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