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