I have a simple question about the the variable system and how it works in general.
So my question is:
If i use a Variable for example - Point[100] = (Position of Dying Unit) in a trigger that occurs very often during the game, will it be a problem if i use the same Variable of Point[100] with the same value of (Position of Dying Unit) in another trigger. Is there a chance that they will mess up each other?
I'm thinking of this becuase at the end of both triggers i have the custom script that removes the point for leaks. So if both triggers fire at the same time, thus both setting Point[100] = (Position of Dying Unit), but one of them finishes first and removes the point before the other trigger has done his actions, can that happen ?
So basically the question is: Is the point removed globaly(for both triggers) or it get's removed only in the trigger that it was set?
So my question is:
If i use a Variable for example - Point[100] = (Position of Dying Unit) in a trigger that occurs very often during the game, will it be a problem if i use the same Variable of Point[100] with the same value of (Position of Dying Unit) in another trigger. Is there a chance that they will mess up each other?
I'm thinking of this becuase at the end of both triggers i have the custom script that removes the point for leaks. So if both triggers fire at the same time, thus both setting Point[100] = (Position of Dying Unit), but one of them finishes first and removes the point before the other trigger has done his actions, can that happen ?
So basically the question is: Is the point removed globaly(for both triggers) or it get's removed only in the trigger that it was set?
Last edited: