world23wc3
Member
- Reaction score
- 6
Hi!
I've been quite unsure about this question I've had for some time now and I thought that it was time to ask for help now.
Let's say that I have this trigger
What if the trigger is runned twice but from different units, Will it create two instaces of the variable "example_unit" or will the first targeted unit be set to example unit and then the other one override the variable with it's targeted unit? Do I need to create many IF, THEN ACTIONS, ELSE ACTIONS?
Please help me, I hope I made myself as clear as possible.
I've been quite unsure about this question I've had for some time now and I thought that it was time to ask for help now.
Let's say that I have this trigger
Trigger:
- Example
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- (Ability being cast) Equal to Firebolt (Neutral Hostile)
- Actions
- Set example_unit = (Target unit of ability being cast)
- Wait 20.00 seconds
- Unit - Kill example_unit
- Events
What if the trigger is runned twice but from different units, Will it create two instaces of the variable "example_unit" or will the first targeted unit be set to example unit and then the other one override the variable with it's targeted unit? Do I need to create many IF, THEN ACTIONS, ELSE ACTIONS?
Please help me, I hope I made myself as clear as possible.