attachObject: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(wikilinking syntax, seealso cleanup)
Line 22: Line 22:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>myLocation attachObject player</pre> |= Example 1
|x1= <code>myLocation [[attachObject]] [[player]];</code> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[attachedObject]], [[attachObject (VBS2)]] |= See also
| [[attachedObject]], [[createLocation]] |= See also


}}
}}

Revision as of 10:11, 2 August 2014

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

Description

Description:
Attaches a location to the specified object. To detach a location, attach it to objNull.
Groups:
Uncategorised

Syntax

Syntax:
location attachObject object
Parameters:
location: Location
object: Object
Return Value:
Nothing

Examples

Example 1:
myLocation attachObject player;

Additional Information

See also:
attachedObjectcreateLocation

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