Aiden
Member
- Reaction score
- 0
reading some tutorials
im trying to understand why some trigger couse some lag.
but i dont understand at all...
Events
Time - Every 1.00 seconds of game time
Conditions
Actions
Player Group - Pick every player in (REDTEAM) and do (Actions)
Loop - Actions
Player - Add 1 to (Picked player) Current gold
this will cause lag?
in all examples of memory leaks groups i saw generic group ...
if the answer its yes.
to remove this leaks i need to this?:
Set Temp_Group = (RedTEAM)
then in the end of the trigger
Custom script: call call DestroyGroup(udg_Temp_Point)
2)Second Question, i need to create for every trigger a new variable ? then destroy it?
like ... Temp_Point2,Temp_Point3,Temp_Point4 ....
im trying to understand why some trigger couse some lag.
but i dont understand at all...
Events
Time - Every 1.00 seconds of game time
Conditions
Actions
Player Group - Pick every player in (REDTEAM) and do (Actions)
Loop - Actions
Player - Add 1 to (Picked player) Current gold
this will cause lag?
in all examples of memory leaks groups i saw generic group ...
if the answer its yes.
to remove this leaks i need to this?:
Set Temp_Group = (RedTEAM)
then in the end of the trigger
Custom script: call call DestroyGroup(udg_Temp_Point)
2)Second Question, i need to create for every trigger a new variable ? then destroy it?
like ... Temp_Point2,Temp_Point3,Temp_Point4 ....