Skip to content

object_attach

Description

Attaches one object to another with offset and constraint parameters.

Parameters

<child_object> <parent_object> <offset_x> <offset_y> <offset_z> (feet) [absolute_orientation]

  • <name> — required operand
  • {a|b|c} — choose one alternative
  • [ … ] — optional clause

Example

megalo
action object_attach the_flag current_team.goal 0 0 0.15

Example from HREK broken/1Flag_Boneyard.txt.

Supported Versions

VersionSupported
49Yes
73Yes
106Yes
107Yes
107 (MCC)Yes

See also action syntax.