Warning: file_put_contents(/ff_86322220437cb19a07a9459152e16ee7d28508d7efe6d7f0.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