Skip to content

create_object

Description

Spawns an object of the given type at a reference object, with optional filter, flags, and offset.

Parameters

Version 73+

<object_type> at <place_at_object> [set <object_reference_out>] [label <filter name>] [never_garbage] [suppress_effect] [absolute_orientation] [offset <x> <y> <z> (feet)] [variant <name>]

Version <73

<object_type> <object_reference_out> <place_at_object>

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

Example

Version <73

megalo
action create_object "area" main.team_a main

From HREK broken/dmiller_sve.txt.

Version 73+

megalo
action create_object "warthog" at current_object set freebie

Supported Versions

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

See also action syntax.