Skip to content

RadiusMarker ​

Inherits: Node3D

RadiusMarker manages circular visual markers in the game world, typically used to show area of effect or range. It provides functionality to set the color and size of the marker, and handles its removal.

Description ​

Key features:

  • Displays circular markers with customizable colors
  • Allows dynamic resizing of the marker
  • Integrates with the PartyManager for marker reset functionality

Variables ​

Decaldecal

Methods ​

voidset_colour( is_marker_friendly: bool )
voidset_decal_size( x: float, z: float )
voidremove()

Variable descriptions ​

Decal decal ​

Reference to the Decal node used for visual representation

Method descriptions ​

void set_colour( is_marker_friendly: bool ) ​

Sets the color of the marker based on is_marker_friendly friendly = green, hostile = red

void set_decal_size( x: float, z: float ) ​

Sets the size of the decal (marker) x: width of the marker z: depth of the marker (usually same as width for circular markers)

void remove() ​

Removes the marker from the scene Called when the PartyManager signals a marker reset