Addon ID

  • justink_telegraphattack

Info

Statistics

  • Download count5 total downloads
  • Latest download count 5 downloads of latest version
  • Average download count2 downloads per day average

Owners

A list of all Actions, Conditions and Expressions supported in this addon.

Telegraph attack

  • Actions

    Start

    Spawn another independent telegraph at the owner's origin and layer. Existing telegraphs keep their settings and progress. LastTelegraphID identifies the new one.

    Telegraph Attack From JSON {0}

    Apply a version 2 preset with durations in seconds (legacy version 1 speeds are converted) and start at the owner's location/Z. Owner angle stays live. Invalid JSON fires On JSON error without changing the existing attack.

    Start telegraph at ({0}, {1})

    Spawn another independent telegraph at a fixed position on the owner's current layer. Existing telegraphs are unchanged.

    Start telegraph after {0} seconds with angle offset {1} degrees

    Queue another independent telegraph at the owner's current position/layer/Z with settings captured now. It begins growth after Delay seconds. The angle offset parameter is also captured now, making this safe with LoopIndex in a Repeat loop without a System Wait.

    Start box telegraph from ({0}, {1}) to ({2}, {3})

    Start a rectangular beam from the midpoint of its near edge at Start X/Y to End X/Y, using Box width. Overrides shape and length for this attack only. Initially aligns to the endpoints, then follows subsequent owner angle changes around the fixed start. Zero distance gives an empty area.

    Clear

    Remove ALL telegraphs belonging to this behavior, active and completed. Does not fire completion.

    Select telegraph {0} for queries

    Choose which telegraph existing conditions/expressions inspect. Invalid IDs select none. Start selects its new telegraph; completion events automatically use the one finishing. This explicit action may override that event selection.

    Clear telegraph {0}

    Remove only this telegraph's visual and geometry without completion. Other telegraphs continue; removing the selected one selects none.

    Clear completed

    Remove all completed telegraphs and their retained geometry. Active telegraphs continue unchanged.

    Set next telegraph shape to {0}

    Choose circle/oval, box/rectangle, donut, pie/wedge, or star. Applies to the next Start; the current telegraph is unchanged.

    Set next telegraph box width to {0}, length to {1}

    Set full box width and length in layer pixels. Start box between points replaces the length for that attack. Applies to the next Start; the current telegraph is unchanged.

    Set next telegraph box anchor to {0}

    Choose whether ordinary Start actions place the box at its starting-edge midpoint or bounding-box center. Start box between points always uses its starting edge. Applies to the next Start; the current telegraph is unchanged.

    Set next telegraph angle offset to {0} degrees

    Set a direction in degrees relative to the owner's live angle. The next spawn captures this offset independently, so later offset changes do not turn existing telegraphs. Owner/parent/Rotate angle changes still rotate all telegraphs live. Applies to the next Start; the current telegraph is unchanged.

    Set next telegraph radii to ({0}, {1})

    Set the final X/Y radii in layer pixels. Applies to the next Start; the current telegraph is unchanged.

    Set next donut hole radius to {0}, outer radius to {1}

    Set the donut's circular Hole radius and outside attack radius. If Hole radius exceeds Outer radius, it clamps to Outer radius. Applies to the next Start; the current telegraph is unchanged.

    Set next telegraph hole radius to {0}

    Set the circular safe-zone radius used when Include hole is enabled. Donuts always use this radius. Applies to the next Start; the current telegraph is unchanged.

    Set next telegraph include hole to {0}

    Enable a circular safe center for circle/oval, box/rectangle, pie/wedge, and star shapes. Donuts always retain their hole. Applies to the next Start; the current telegraph is unchanged.

    Set next pie minimum angle to {0}, maximum angle to {1} degrees

    Set pie/wedge angular limits relative to the telegraph's live facing direction. With Angle offset 0, zero degrees is the owner's current facing. Equal angles make an empty wedge; a difference of 360 degrees makes a full ellipse. Applies to the next Start; the current telegraph is unchanged.

    Set next star to {0} points with point depth {1}%

    Set the number of outer tips and the indentation between them. Radius X/Y set the outer tip distances, and the first tip points along the telegraph's live facing direction. Applies to the next Start; the current telegraph is unchanged.

    Set next telegraph grow to {0}

    Enable or disable outer ring growth. Applies to the next Start; the current telegraph is unchanged.

    Set next telegraph grow duration to {0} seconds

    Set duration in seconds. 2 = two seconds; 0.5 = half a second; 0 = instant. Applies to the next Start; the current telegraph is unchanged.

    Set next telegraph fill grow duration to {0} seconds

    Set duration in seconds. 2 = two seconds; 0.5 = half a second; 0 = instant. Applies to the next Start; the current telegraph is unchanged.

    Set next telegraph ring width to {0}

    Set inward outline thickness in pixels. Applies to the next Start; the current telegraph is unchanged.

    Set next telegraph ring color to RGB ({0}, {1}, {2}), opacity {3}%

    Set RGB color and opacity. Applies to the next Start; the current telegraph is unchanged.

    Set next telegraph fill color to RGB ({0}, {1}, {2}), opacity {3}%

    Set RGB color and opacity. Applies to the next Start; the current telegraph is unchanged.

    Set next telegraph grow easing to {0}

    Choose the growth curve without changing duration. Applies to the next Start; the current telegraph is unchanged.

    Set next telegraph fill grow easing to {0}

    Choose the growth curve without changing duration. Applies to the next Start; the current telegraph is unchanged.

    Set next telegraph hide on complete to {0}

    Choose whether the visual disappears on completion; area queries are retained. Applies to the next Start; the current telegraph is unchanged.

    Set next telegraph draw order to {0}

    Draw behind or in front of every object on the captured layer. Applies to the next Start; the current telegraph is unchanged.

  • Conditions

    On telegraph complete

    Triggered once per telegraph when its fill reaches full size. TelegraphID and existing queries automatically refer to the one finishing, even if Start spawns another during this event.

    On JSON error

    Triggered when Telegraph Attack From JSON rejects settings. LastJSONError describes the error; the previous attack remains unchanged.

    Is active

    True while waiting, growing, or filling; false after completion or removal. Uses the selected telegraph, not all telegraphs.

    Is waiting

    True while the selected delayed telegraph is waiting to begin growth. Uses the selected telegraph, not all telegraphs.

    Is growing

    True while the outer ring is growing. Uses the selected telegraph, not all telegraphs.

    Is filling

    True after ring growth and before fill completion. Uses the selected telegraph, not all telegraphs.

    Has area

    True after Start, including after completion, until Clear. Uses the selected telegraph, not all telegraphs.

    Final attack area contains ({0}, {1})

    Test a point against the final attack area, including its boundary. Safe center holes are excluded. Uses the selected telegraph, not all telegraphs.

    Final attack area contains origin of UID {0}

    Test an instance origin by UID against the final attack area. Does not pick target instances. Uses the selected telegraph, not all telegraphs.

    Shaded fill contains ({0}, {1})

    Test a point against the currently shaded area. Uses the selected telegraph, not all telegraphs.

    Shaded fill contains origin of UID {0}

    Test an instance origin by UID against the currently shaded area. Does not pick target instances. Uses the selected telegraph, not all telegraphs.

    Final attack area overlaps collision polygon of UID {0}

    Test any overlap between the final area and a Sprite's current collision polygon. Safe center holes are excluded. Touching counts; disabled collisions and unsupported targets return false. Does not pick instances. Uses the selected telegraph, not all telegraphs.

    Shaded fill overlaps collision polygon of UID {0}

    Test any overlap between the eased shaded fill and a Sprite's current collision polygon. Touching counts; disabled collisions and unsupported targets return false. Does not pick instances. Uses the selected telegraph, not all telegraphs.

  • Expressions

    IsPointInside

    1 if the point is within the final attack area, otherwise 0. Safe center holes are excluded. Retained after completion until Clear. Uses the selected telegraph, or the one finishing during On telegraph complete.

    IsObjectInside

    1 if the object origin (UID) is inside the final attack area, otherwise 0. Missing/non-world objects return 0. Uses the selected telegraph, or the one finishing during On telegraph complete.

    IsPointInFill

    1 if the point is within the currently shaded area, otherwise 0. Uses the selected telegraph, or the one finishing during On telegraph complete.

    IsObjectInFill

    1 if the object origin (UID) is within the currently shaded area, otherwise 0. Uses the selected telegraph, or the one finishing during On telegraph complete.

    IsObjectOverlappingArea

    1 if a Sprite's collision polygon overlaps or touches the final attack area, otherwise 0. Safe center holes are excluded. Unsupported targets or disabled collisions return 0. Uses the selected telegraph, or the one finishing during On telegraph complete.

    IsObjectOverlappingFill

    1 if a Sprite's collision polygon overlaps or touches the eased shaded fill, otherwise 0. Safe center holes are excluded. Unsupported targets or disabled collisions return 0. Uses the selected telegraph, or the one finishing during On telegraph complete.

    IsPointInRing

    1 if the point is in the area bounded by the currently grown outline, not only its stroke. Active safe holes are excluded. Uses the selected telegraph, or the one finishing during On telegraph complete.

    CenterX

    Frozen anchor X: circle/donut/pie/star center or box center/starting-edge midpoint; 0 before Start. Uses the selected telegraph, or the one finishing during On telegraph complete.

    CenterY

    Frozen anchor Y: circle/donut/pie/star center or box center/starting-edge midpoint; 0 before Start. Uses the selected telegraph, or the one finishing during On telegraph complete.

    CenterZ

    Captured total world Z, including the trigger layer's elevation; 0 before Start. Uses the selected telegraph, or the one finishing during On telegraph complete.

    Angle

    Current telegraph direction in degrees, following owner rotation plus any endpoint alignment offset; 0 before Start. Uses the selected telegraph, or the one finishing during On telegraph complete.

    AngleOffset

    Captured offset from the owner's live angle in degrees, or the configured offset before Start. Uses the selected telegraph, or the one finishing during On telegraph complete.

    RadiusX

    Final horizontal radius of the current/last telegraph, or the configured radius before Start. Uses the selected telegraph, or the one finishing during On telegraph complete.

    RadiusY

    Final vertical radius of the current/last telegraph, or the configured radius before Start. Uses the selected telegraph, or the one finishing during On telegraph complete.

    HoleRadius

    Circular safe-zone radius of the current/last telegraph, or the configured Hole radius before Start. Uses the selected telegraph, or the one finishing during On telegraph complete.

    OuterRadius

    Donut outside radius of the current/last telegraph, or the configured outer radius before Start. Uses the selected telegraph, or the one finishing during On telegraph complete.

    MinAngle

    Pie/wedge minimum angle relative to live facing, in degrees. Uses the selected telegraph, or the one finishing during On telegraph complete.

    MaxAngle

    Pie/wedge maximum angle relative to live facing, in degrees. Uses the selected telegraph, or the one finishing during On telegraph complete.

    StarPoints

    Number of outer tips on the current/last star, or the configured value before Start. Uses the selected telegraph, or the one finishing during On telegraph complete.

    PointDepth

    Star concave-point depth as a percentage for the current/last telegraph, or the configured value before Start. Uses the selected telegraph, or the one finishing during On telegraph complete.

    BoxWidth

    Full box width of the current/last telegraph, or the configured width before Start. Uses the selected telegraph, or the one finishing during On telegraph complete.

    BoxLength

    Full box length of the current/last telegraph, including endpoint-calculated length, or configured length before Start. Uses the selected telegraph, or the one finishing during On telegraph complete.

    BoxAnchor

    Box placement anchor of the current/last telegraph, or configured anchor before Start: start or center. Uses the selected telegraph, or the one finishing during On telegraph complete.

    RingProgress

    Eased outer ring scale from 0 to 1 (not elapsed time fraction). Uses the selected telegraph, or the one finishing during On telegraph complete.

    FillProgress

    Eased shaded fill scale from 0 to 1 (not elapsed time fraction). Uses the selected telegraph, or the one finishing during On telegraph complete.

    Elapsed

    Elapsed time since this telegraph was queued, including any start delay, using the owner's timescale. Uses the selected telegraph, or the one finishing during On telegraph complete.

    DelayRemaining

    Seconds remaining before a delayed telegraph begins growth; zero otherwise. Uses the selected telegraph, or the one finishing during On telegraph complete.

    Duration

    Total delay-plus-ring-plus-fill duration in seconds. Instant stages take zero seconds. Uses the selected telegraph, or the one finishing during On telegraph complete.

    IncludeHole

    1 when the current/last telegraph has a safe center hole (including every donut), otherwise 0. Uses the selected telegraph, or the one finishing during On telegraph complete.

    InnerRadius

    Deprecated compatibility alias for HoleRadius. Uses the selected telegraph, or the one finishing during On telegraph complete.

    State

    Current phase: idle, waiting, growing, filling, or complete. Uses the selected telegraph, or the one finishing during On telegraph complete.

    Shape

    Current/last shape, or configured shape before Start: circle, box, donut, pie, or star. Uses the selected telegraph, or the one finishing during On telegraph complete.

    LastJSONError

    Reason the last preset import failed. Empty after a successful import or load.

    TelegraphID

    Selected telegraph ID, or the one finishing during On telegraph complete; 0 if none. IDs are local to this behavior.

    LastTelegraphID

    ID most recently spawned by this behavior, even if later removed. 0 before any spawn. Save this after Start.

    TelegraphCount

    Number of retained telegraphs, including completed/hidden ones. Use Clear completed to release old geometry.

    ActiveCount

    Number of telegraphs still waiting, growing, or filling, independent of query selection.

    TelegraphIDAt

    Retained ID at zero-based index in spawn order; 0 for an invalid index. Iterate 0 through TelegraphCount-1 and Select telegraph. Do not remove entries during this indexed loop.