Hi, Maker. I am using your jump system. Everything was fine until I tried to make two jumps spells with your system. Both spells use "EVENT_JUMP_FINISH" and it seems the two events messed up with each other. Am I doing something wrong?
scope A
private static method onFinish takes nothing returns nothing
.............
endmethod
private static method onInit takes nothing returns nothing
local trigger t = CreateTrigger()
call TriggerRegisterVariableEvent(t, "EVENT_JUMP_FINISH", EQUAL, 1)
call TriggerAddCondition(t, function thistype.onFinish)
.............
endmethod
endscope
scope B
private static method onFinish takes nothing returns nothing
.............
endmethod
private static method onInit takes nothing returns nothing
local trigger t = CreateTrigger()
call TriggerRegisterVariableEvent(t, "EVENT_JUMP_FINISH", EQUAL, 1)
call TriggerAddCondition(t, function thistype.onFinish)
.............
endmethod
endscope
Thanks in advance for your time.