attachObject: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Bot: Reverted to revision 82546 by master85 on 2014-08-02T09:11:09Z)
m (template:command argument fix)
Line 11: Line 11:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Attaches a location to the specified object. To detach a location, attach it to [[objNull]].|= Description
| Attaches a location to the specified object. To detach a location, attach it to [[objNull]].|DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| location '''attachObject''' object |= Syntax
| location '''attachObject''' object |SYNTAX=


|p1= location: [[Location]] |= Parameter 1
|p1= location: [[Location]] |= Parameter 1
|p2= object: [[Object]] |= Parameter 2
|p2= object: [[Object]] |= Parameter 2


| [[Nothing]] |= Return value
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
Line 25: Line 25:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[attachedObject]], [[createLocation]] |= See also
| [[attachedObject]], [[createLocation]] |SEEALSO=


}}
}}

Revision as of 11:26, 7 April 2019

-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