SetObjectAttached
From Onset Developer Wiki
Description
__EDIT_ME__
Syntax
SetObjectAttached(object, attachtype, attachid, x, y, z [, rx, ry, rz, SocketName])
Parameters
- object
The object identifier from CreateObject. - attachtype
AttachType - attachid
The identifier of the other entity you want to attach to. - x
Relative X location. - y
Relative Y location. - z
Relative Z location. - rx (optional)
Relative pitch rotation. - ry (optional)
Relative yaw rotation. - rz (optional)
Relative roll rotation. - SocketName (optional)
Socket where to attach to (PlayerBones). Can be empty.
Return Value
- Returns true on success.
Example
__EDIT_ME__
See also
__EDIT_ME__