attachedTo: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *arma3 * * *\| *([0-2]\.[0-9]{2}) * " to "|game1= arma3 |version1= $1 ") |
Lou Montana (talk | contribs) m (Text replacement - "\|s1= +" to "|s1= ") |
||
Line 10: | Line 10: | ||
|descr= Returns object the given object is attached to or [[objNull]] if the given object is not attached to anything. | |descr= Returns object the given object is attached to or [[objNull]] if the given object is not attached to anything. | ||
|s1= | |s1= '''attachedTo''' obj | ||
|p1= obj: [[Object]] - given object | |p1= obj: [[Object]] - given object |
Revision as of 15:39, 19 June 2021
Description
- Description:
- Returns object the given object is attached to or objNull if the given object is not attached to anything.
- Groups:
- Object Manipulation
Syntax
- Syntax:
- attachedTo obj
- Parameters:
- obj: Object - given object
- Return Value:
- Object - object the given object is attached to
Examples
- Example 1:
if (isNull attachedTo _obj1) then { hint "_obj1 is not attached to anything."; };
Additional Information
- See also:
- attachObjectattachToattachedObjectswaypointAttachVehiclewaypointAttachedVehiclelightAttachObjecttriggerAttachVehicleattachedObjectdetach
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