attachObject: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (adding category)
mNo edit summary
Line 14: Line 14:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Location]] '''attachObject''' [[Object]] |= Syntax
| location '''attachObject''' object |= Syntax


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


| [[Nothing]] |= Return value
| [[Nothing]] |= Return value

Revision as of 00:02, 22 January 2009

-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:
attachedObjectattachObject (VBS2)

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