attachTo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 10: Line 10:
____________________________________________________________________________________________
____________________________________________________________________________________________


|Object '''attachto''' [TObject,offset] |= Syntax
|Object '''attachTo''' [TObject,Offset] |= Syntax


|p1=  Object: [[Object]] or [[player]] |= Parameter 1
|p1=  Object: [[Object]] or [[player]] |= Parameter 1
|p2=  TObject: [[Object]] or [[player]] |= Parameter 2
|p2=  TObject: [[Object]] or [[player]] |= Parameter 2
|p3=  offset: Array - format Position |= Parameter 3
|p3=  Offset: Array - format Position |= Parameter 3




Line 20: Line 20:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>player attachto [car,[0,0,1]]; </pre> |= Example 1
|x1= <pre>player attachTo [car,[0,0,1]]; </pre> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 19:21, 3 June 2009

Hover & click on the images for description

Description

Description:
Description needed
Multiplayer:
Only has to be executed on one client.
Groups:
Uncategorised

Syntax

Syntax:
Object attachTo [TObject,Offset]
Parameters:
Object: Object or player
TObject: Object or player
Offset: Array - format Position
Return Value:
Return value needed

Examples

Example 1:
player attachTo [car,[0,0,1]]; 

Additional Information

See also:
detach

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