Well here are the triggers, don't telll me that they leak 'couse they were leakless but now i am trying to fix them and don't know how..
And here is the second. Gives me the same error
Well i am spanish and i have my editor in spanish, so i opened the map with WEU for give you some more info...
Here is the error
The Trigger doesn't work.
EDIT: I am using New Gen World Editor. It says that when i test the map
EDIT 2: I am uploading again the img
Code:
Needed level
Events
Time - Every 2.00 seconds of game time
Conditions
Actions
Player Group - Pick every player in Force[1] and do (Actions)
Loop - Actions
Unit Group - Pick every unit in (Units owned by (Picked player) matching ((((Matching unit) is A Hero) Equal to True) and ((Level of (Matching unit)) Greater than or equal to 17))) and do (Actions)
Loop - Actions
Unit Group - Add (Picked unit) to TMP_G[1]
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Number of units in TMP_G[1]) Greater than 0
(Number of units in TMP_G[1]) Equal to (Number of players in Forces[1])
AlreadyinQuest[1] Equal to False
Hasquestedlab[1] Equal to 0
Lab[2] Equal to False
Then - Actions
Unit - Pause all units
Set AlreadyinQuest[1] = True
Game - Display to (All players) the text:some text
Game - Display to Forces[1] for 120.00 seconds the text: more text
Unit Group - Pick every unit in TMP_G[1] and do (Actions)
Loop - Actions
Unit - Move (Picked unit) instantly to (Center of Principio del laberinto <gen>)
Countdown Timer - Start LabTimer[1] as a One-shot timer that will expire in 120.00 seconds
Countdown Timer - Create a timer window for (Last started timer) with title Time
Countdown Timer - Change the color of the title for (Last created timer window) to (100.00%, 0.00%, 20.00%) with 0.00% transparency
Countdown Timer - Change the color of the time for (Last created timer window) to (20.00%, 80.00%, 20.00%) with 0.00% transparency
Set LabTimer[1] = (Last started timer)
Set VentanaLab[1] = (Last created timer window)
Set Lab[1] = True
Trigger - Lose <gen> the event (Time - LabTimer[1] expires)
Unit - Unpause all units
Else - Actions
Player Group - Pick every player in Force[2] and do (Actions)
Loop - Actions
Unit Group - Pick every unit in (Units owned by (Picked player) matching ((((Matching unit) is A Hero) Equal to True) and ((Level of (Matching unit)) Greater than or equal to 17))) and do (Actions)
Loop - Actions
Unit Group - Add (Picked unit) to TMP_G[2]
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Number of units in TMP_G[2]) Greater than 0
(Number of units in TMP_G[2]) Equal to (Number of players in Forces[2])
AlreadyinQuest[2] Equal to False
Hasquestedlab[2] Equal to 0
Lab[1] Equal to False
Then - Actions
Unit - Pause all units
Set AlreadyinQuest[2] = True
Game - Display to (All players) the text:Some text..
Game - Display to Forces[2] for 120.00 seconds the text: more text...
Unit Group - Pick every unit in TMP_G[2] and do (Actions)
Loop - Actions
Unit - Move (Picked unit) instantly to (Center of PLB <gen>)
Countdown Timer - Start LabTimer[2] as a One-shot timer that will expire in 120.00 seconds
Countdown Timer - Create a timer window for (Last started timer) with title Tiempo
Countdown Timer - Change the color of the title for (Last created timer window) to (100.00%, 0.00%, 20.00%) with 0.00% transparency
Countdown Timer - Change the color of the time for (Last created timer window) to (20.00%, 80.00%, 20.00%) with 0.00% transparency
Set LabTimer[2] = (Last started timer)
Set WindowLab[2] = (Last created timer window)
Set Lab[2] = True
Trigger - Add to Lose <gen> the event (Time - LabTimer[2] expires)
Unit - Unpause all units
Else - Actions
Custom script: call DestroyGroup(udg_TMP_G[1])
Custom script: call DestroyGroup(udg_TMP_G[2])
Code:
nivel
Events
Time - Every 3.00 seconds of game time
Conditions
(Searinox 0120 <gen> is alive) Equal to True
Actions
Player Group - Pick every player in Force[1] and do (Actions)
Loop - Actions
Unit Group - Pick every unit in (Units owned by (Picked player) matching ((((Matching unit) is A Hero) Equal to True) and ((Level of (Matching unit)) Greater than or equal to 25))) and do (Actions)
Loop - Actions
Unit Group - Add (Picked unit) to TMP_G[3]
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Number of units in TMP_G[3]) Greater than 0
(Number of units in TMP_G[3]) Equal to (Number of players in Forces[1])
AlreadyinQuest[1] Equal to False
HasquestedSX[1] Equal to 0
Searix[2] Equal to False
Then - Actions
Unit - Pause all units
Set AlreadyinQuest[1] = True
Game - Display to (All players) the text: more text
Game - Display to Forces[1] for 120.00 seconds the text: some text
Unit Group - Pick every unit in TMP_G[3] and do (Actions)
Loop - Actions
Unit - Move (Picked unit) instantly to (Center of Searinox <gen>)
Countdown Timer - Start SeaTimer[1] as a One-shot timer that will expire in 120.00 seconds
Countdown Timer - Create a timer window for (Last started timer) with title Tiempo
Countdown Timer - Change the color of the title for (Last created timer window) to (98.00%, 41.00%, 20.00%) with 0.00% transparency
Countdown Timer - Change the color of the time for (Last created timer window) to (20.00%, 80.00%, 100.00%) with 0.00% transparency
Set VentanaSX[1] = (Last created timer window)
Set SeaTimer[1] = (Last started timer)
Set Searix[1] = True
Trigger - Lose2 <gen> the event (Time - SeaTimer[1] expires)
Unit - Unpause all units
Else - Actions
Player Group - Pick every player in Force[2] and do (Actions)
Loop - Actions
Unit Group - Pick every unit in (Units owned by (Picked player) matching ((((Matching unit) is A Hero) Equal to True) and ((Level of (Matching unit)) Greater than or equal to 25))) and do (Actions)
Loop - Actions
Unit Group - Add (Picked unit) to TMP_G[4]
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Number of units in TMP_G[4]) Greater than 0
(Number of units in TMP_G[4]) Equal to (Number of players in Forces[2])
AlreadyinQuest[2] Equal to False
HasquestedSX[2] Equal to 0
Searix[1] Equal to False
Then - Actions
Unit - Pause all units
Set AlreadyinQuest[2] = True
Game - Display to (All players) the text: some text
Game - Display to Forces[2] for 120.00 seconds the text: more text
Unit Group - Pick every unit in TMP_G[4] and do (Actions)
Loop - Actions
Unit - Move (Picked unit) instantly to (Center of Searinox <gen>)
Countdown Timer - Start SeaTimer[2] as a One-shot timer that will expire in 120.00 seconds
Countdown Timer - Create a timer window for (Last started timer) with title Tiempo
Countdown Timer - Change the color of the title for (Last created timer window) to (98.00%, 41.00%, 20.00%) with 0.00% transparency
Countdown Timer - Change the color of the time for (Last created timer window) to (20.00%, 80.00%, 100.00%) with 0.00% transparency
Set SeaTimer[2] = (Last started timer)
Set VentanaSX[2] = (Last created timer window)
Set Searix[2] = True
Trigger - Add to Lose2 <gen> the event (Time - SeaTimer[2] expires)
Unit - Unpause all units
Else - Actions
Custom script: call DestroyGroup(udg_TMP_G[3])
Custom script: call DestroyGroup(udg_TMP_G[4])
Well i am spanish and i have my editor in spanish, so i opened the map with WEU for give you some more info...
Here is the error
The Trigger doesn't work.
EDIT: I am using New Gen World Editor. It says that when i test the map
EDIT 2: I am uploading again the img