EventIf
This commit is contained in:
@@ -1,7 +1,40 @@
|
||||
class_name EventFlagOn extends "res://scripts/Event/Event.gd"
|
||||
|
||||
@export var event:EventSystem.SpecialEvent;
|
||||
@export_flags("1:1", "2:2", "3:4", "4:8", "5:16", "6:32", "7:64", "8:128", "9:256", "10:512", "11:1024", "12:2048", "13:4096", "14:8192", "15:16384", "16:32768")
|
||||
@export_flags(
|
||||
"1:1",
|
||||
"2:2",
|
||||
"3:4",
|
||||
"4:8",
|
||||
"5:16",
|
||||
"6:32",
|
||||
"7:64",
|
||||
"8:128",
|
||||
"9:256",
|
||||
"10:512",
|
||||
"11:1024",
|
||||
"12:2048",
|
||||
"13:4096",
|
||||
"14:8192",
|
||||
"15:16384",
|
||||
"16:32768",
|
||||
"17:65536",
|
||||
"18:131072",
|
||||
"19:262144",
|
||||
"20:524288",
|
||||
"21:1048576",
|
||||
"22:2097152",
|
||||
"23:4194304",
|
||||
"24:8388608",
|
||||
"25:16777216",
|
||||
"26:33554432",
|
||||
"27:67108864",
|
||||
"28:134217728",
|
||||
"29:268435456",
|
||||
"30:536870912",
|
||||
"31:1073741824",
|
||||
"32:2147483648"
|
||||
)
|
||||
var eventFlag:int = 0;
|
||||
|
||||
func start() -> void:
|
||||
|
Reference in New Issue
Block a user