attachedTo: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "(\| * )+\}\}" to "}}") |
Lou Montana (talk | contribs) m (Text replacement - " {3,}\|" to " |") |
||
Line 16: | Line 16: | ||
| [[Object]] - object the given object is attached to | | [[Object]] - object the given object is attached to | ||
|x1= <code>[[if]] ([[isNull]] [[attachedTo]] _obj1) [[then]] { | |x1= <code>[[if]] ([[isNull]] [[attachedTo]] _obj1) [[then]] { | ||
Line 22: | Line 21: | ||
};</code> | };</code> | ||
| [[attachObject]], [[attachTo]], [[attachedObjects]], [[waypointAttachVehicle]], [[waypointAttachedVehicle]], [[lightAttachObject]], [[triggerAttachVehicle]], [[attachedObject]], [[detach]] | | [[attachObject]], [[attachTo]], [[attachedObjects]], [[waypointAttachVehicle]], [[waypointAttachedVehicle]], [[lightAttachObject]], [[triggerAttachVehicle]], [[attachedObject]], [[detach]] |
Revision as of 17:04, 18 January 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