Skip to content

DelayAction ​

Inherits: CombatAction < Resource

DelayAction waits for a specified duration before completing. Useful in combo sequences to add timing between attacks.

Description ​

Example: Combo: [Slash, Delay(0.5s), Sweep, Delay(0.8s), Smash]

Properties ​

floatdelay_duration0.5

Variables ​

Timerdelay_timer

Methods ​

boolis_delay_complete()
voidreset()
voidcleanup()

Property descriptions ​

float delay_duration = 0.5 ​

Duration to wait (seconds)

Variable descriptions ​

Timer delay_timer ​

Internal timer

Method descriptions ​

bool is_delay_complete() ​

Check if delay is complete

void reset() ​

Reset for next use

void cleanup() ​

Cleanup