darth_ilidan
New Member
- Reaction score
- 0
I made this trigger
event
-A dialog button is clicked for dialog
conditions
-(Clicked dialog button) equal to DialogButton[1]
actions
-Set ScourgeHeroesNormal[1] = Deeplord
-Set ScourgeHeroesNormal[2] = Undead Warrior
-Set ScourgeHeroesNormal[3] = Fire Lord
-Set ScourgeHeroesNormal[4] = Fallen Warrior
-Set ScourgeHeroesNormal[5] = Crypt Lord
-Set ScourgeHeroesNormal[6] = Assasin
-Set ScourgeHeroesNormal[7] = Death Knight
-Set ScourgeHeroesNormal[8] = Lich
-Set ScourgeHeroesNormal[9] = Weapon Master
-For each (Integer A) from 1 to 9, do (Actions)
--Set Point_temp = ((Center of sPit <gen>) offset by 200.00 towards
((Real((Integer A))) x 40.00 deegres.
--Unit - Create 1 ScourgeHeroesNormal[(IntegerA)] for Player12 (Brown)
at Point_temp facing (Center of sPit <gen>)
--Unit - Pause (Last Created Unit)
--Unit - Make (Las Created Unit) Invulnerable
--Custom Script: call RemoveLocation (udg_Point_temp)
-Dialog - Clear Dialog
-Dialog - Hide Dialog for Player 1
This trigger is runned 2 times in different places at the same time, and it works fine but it lags, nybody knows a way to fix the lag?
event
-A dialog button is clicked for dialog
conditions
-(Clicked dialog button) equal to DialogButton[1]
actions
-Set ScourgeHeroesNormal[1] = Deeplord
-Set ScourgeHeroesNormal[2] = Undead Warrior
-Set ScourgeHeroesNormal[3] = Fire Lord
-Set ScourgeHeroesNormal[4] = Fallen Warrior
-Set ScourgeHeroesNormal[5] = Crypt Lord
-Set ScourgeHeroesNormal[6] = Assasin
-Set ScourgeHeroesNormal[7] = Death Knight
-Set ScourgeHeroesNormal[8] = Lich
-Set ScourgeHeroesNormal[9] = Weapon Master
-For each (Integer A) from 1 to 9, do (Actions)
--Set Point_temp = ((Center of sPit <gen>) offset by 200.00 towards
((Real((Integer A))) x 40.00 deegres.
--Unit - Create 1 ScourgeHeroesNormal[(IntegerA)] for Player12 (Brown)
at Point_temp facing (Center of sPit <gen>)
--Unit - Pause (Last Created Unit)
--Unit - Make (Las Created Unit) Invulnerable
--Custom Script: call RemoveLocation (udg_Point_temp)
-Dialog - Clear Dialog
-Dialog - Hide Dialog for Player 1
This trigger is runned 2 times in different places at the same time, and it works fine but it lags, nybody knows a way to fix the lag?