Skip to content

VFXSelectionTelegraph ​

Inherits: VFXSelection < Resource

Telegraph VFX selection - warning/indicator effects for abilities

Properties ​

VFXTelegraph.TelegraphShapetelegraph_shapeVFXTelegraph.TelegraphShape.CIRCLE
Vector2telegraph_sizeVector2(5.0, 5.0)
Colortelegraph_colorColor.RED
VFXTelegraph.TelegraphAttachmentattachment_typeVFXTelegraph.TelegraphAttachment.POINT
floatorientation_offset0.0

Methods ​

Variantprepare_target_for_vfx_type( target: Variant, originator: Variant = null )
Stringget_description()
Stringget_vfx_type()
Stringget_vfx_name()
Dictionaryget_telegraph_config()

Property descriptions ​

VFXTelegraph.TelegraphShape telegraph_shape = VFXTelegraph.TelegraphShape.CIRCLE ​

The shape of the warning (a circle, a cone, a line ...).

Vector2 telegraph_size = Vector2(5.0, 5.0) ​

X,Z for decal

Color telegraph_color = Color.RED ​

The color of the warning.

VFXTelegraph.TelegraphAttachment attachment_type = VFXTelegraph.TelegraphAttachment.POINT ​

What the warning is attached to (a point, the user ...).

float orientation_offset = 0.0 ​

Y rotation in degrees

Method descriptions ​

Variant prepare_target_for_vfx_type( target: Variant, originator: Variant = null ) ​

Telegraph VFX uses target as-is (no special preparation needed)

String get_description() ​

A short text about the visual effect, for the editor.

String get_vfx_type() ​

The kind of visual effect (beam, loop, one shot ...).

String get_vfx_name() ​

The name of the visual effect that is picked.

Dictionary get_telegraph_config() ​

Get telegraph configuration for VFXTelegraph