Skip to content

create_tunnel

Description

Places an object between two entities and gives that object a cylinder shape. The radius comes from the radius operand; if that value is 0, the engine uses 5 instead.

Same object for both endpoints

If both endpoints are the same object, the tunnel is placed exactly on that reference—there is no collision check, unlike create_object. The spawned object also faces straight up.

Parameters

<object_a> <object_b> <object_type> <radius> <object_reference_out>

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

Example

megalo
action create_tunnel …

No curated example yet — see Megalo Versions for build availability.

Supported Versions

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

See also action syntax.