Some extra event stuff
This commit is contained in:
13
scripts/Event/Condition/EventIf.gd
Normal file
13
scripts/Event/Condition/EventIf.gd
Normal file
@@ -0,0 +1,13 @@
|
||||
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()
|
Reference in New Issue
Block a user