attachObject: Difference between revisions
Jump to navigation
Jump to search
m (template:command argument fix) |
m (template:command argument fix) |
||
Line 16: | Line 16: | ||
| location '''attachObject''' object |SYNTAX= | | location '''attachObject''' object |SYNTAX= | ||
|p1= location: [[Location]] |= | |p1= location: [[Location]] |PARAMETER1= | ||
|p2= object: [[Object]] |= | |p2= object: [[Object]] |PARAMETER2= | ||
| [[Nothing]] |RETURNVALUE= | | [[Nothing]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>myLocation [[attachObject]] [[player]];</code> |= | |x1= <code>myLocation [[attachObject]] [[player]];</code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 15:28, 7 April 2019
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