Files
Dawn-Godot/scripts/Event/Flow/EventIf.gd
2025-05-20 08:24:38 -05:00

13 lines
236 B
GDScript

class_name EventIf extends "res://scripts/Event/Flow/EventGroup.gd"
func ifCondition() -> bool:
return false
func shouldAutoStart() -> bool:
return false
func start() -> void:
super.start()
if ifCondition():
startEventGroup()