In my map I have triggers that has event every 1 second of game time..
I use it to detect if a certain unit in a unit group has buff and if true a specific action would be executed..I want to know if there's a better way to do it?I mean is there any alternative way to detect every second because I think it will cause lag if I have many triggers running at the same time every second.
And also how do I loop an action infinitely?
example >a unit enters playable map>unit type of entering unit=whatever>order entering unit to spirit link something..How do i loop the action such that it would do the same order all over again infinetely..
I use it to detect if a certain unit in a unit group has buff and if true a specific action would be executed..I want to know if there's a better way to do it?I mean is there any alternative way to detect every second because I think it will cause lag if I have many triggers running at the same time every second.
And also how do I loop an action infinitely?
example >a unit enters playable map>unit type of entering unit=whatever>order entering unit to spirit link something..How do i loop the action such that it would do the same order all over again infinetely..