Luan Luciano
Member
Hello, I tried to register more than one onTargetCombat EventCallback in revscript, but it only registers one.
I read here on the forum about putting an integer in the register function to declare priorities, but it didn't work either.
Example 1:
1 - ec:register(-1)
2 - ec:register(-1)
3 - ec:register(-1)
activate only the first
Example 2:
1 - ec:register(2)
2 - ec:register(1)
3 - ec:register(3)
activates the record with the smallest integer, in this case the second one with 1
can anybody help me?
I read here on the forum about putting an integer in the register function to declare priorities, but it didn't work either.
Example 1:
1 - ec:register(-1)
2 - ec:register(-1)
3 - ec:register(-1)
activate only the first
Example 2:
1 - ec:register(2)
2 - ec:register(1)
3 - ec:register(3)
activates the record with the smallest integer, in this case the second one with 1
can anybody help me?