As the title says does this trigger ( or another with the same structure ) generate lag ?
Ex.
I know that both events could be in one trigger.
Question 1 : does that triggers generate lag because each uses the same variable : Temp_Group
Question 2 : if i put both triggers on one the lag will be reduced ?
Question 3 : if I create Temp_Group[array] for every player the lag will be reduced?
Ex.
Trigger:
- Trigger 1
- Event - Every 1 second
- Condition - None
- Actions -
- Set Temp_Group : units in region owned by player 1
- Custom Script : call DestroyGroup (udg_Temp_Group)
Trigger:
- Trigger 2
- Event - Every 1 second
- Condition - None
- Actions -
- Set Temp_Group : units in region owned by player 2
- Custom Script : call DestroyGroup (udg_Temp_Group)
I know that both events could be in one trigger.
Question 1 : does that triggers generate lag because each uses the same variable : Temp_Group
Question 2 : if i put both triggers on one the lag will be reduced ?
Question 3 : if I create Temp_Group[array] for every player the lag will be reduced?