Warning: file_put_contents(/ff_6c15ae82720436bdc3d32df2dc336c16b833b91bf80168b0.php): failed to open stream: Permission denied in /home/ofpecsav/public_html/forum/Sources/Subs-ForumFirewall.php on line 1619
attachTo - OFPEC Scripting Command Reference | OFPEC The Editing Center

objectName attachTo [obj, offset, MemPoint]

Operand types

objectName: Object
[obj, offset, MemPoint]: Array

Type of returned value

Description

Attaches an object to another object.
The offset is applied to the object center unless a memory point is provided.

Used In

Arma2

Example

player attachTo [car,[0,2,0],hatch1]

Advertisement