- Joined
- Dec 19, 2007
- Messages
- 1,234
Hi! My question is very simple about the triggers mechanics.
I wanna know weather or not i can use a trigger as a fuction
example:
trigger #1
unit cast a spell = save it
spell name = save it
target unit = save it
target location = saved with real number represents X and Y
call to trigger 71
trigger #2...to...70 etc
unit cast a spell = save it
spell name = save it
target unit = save it
target location = saved with real number represents X and Y
call to trigger 71
trigger #71
damage target unit and make floating test above the caster.
The question is like this: If i do this, will 2 units using the same spell with the same time ruin the outcome of this "fuction" like:
unit 1 is Shaman and unit 2 is Prist that are casting the same spell same time , will it work like this: trigger 1=> trigger 71 . and then trigger 2=> trigger 71
or will it mess the order since it was very near the moment
triggers 1=>2=> 71 =>1=>2
(ops!!! i forgot to change the title and now its impossible to change it into relevant name of title 0.0 SRY)
I wanna know weather or not i can use a trigger as a fuction
example:
trigger #1
unit cast a spell = save it
spell name = save it
target unit = save it
target location = saved with real number represents X and Y
call to trigger 71
trigger #2...to...70 etc
unit cast a spell = save it
spell name = save it
target unit = save it
target location = saved with real number represents X and Y
call to trigger 71
trigger #71
damage target unit and make floating test above the caster.
The question is like this: If i do this, will 2 units using the same spell with the same time ruin the outcome of this "fuction" like:
unit 1 is Shaman and unit 2 is Prist that are casting the same spell same time , will it work like this: trigger 1=> trigger 71 . and then trigger 2=> trigger 71
or will it mess the order since it was very near the moment
triggers 1=>2=> 71 =>1=>2
(ops!!! i forgot to change the title and now its impossible to change it into relevant name of title 0.0 SRY)
Last edited: