- Joined
- Aug 15, 2010
- Messages
- 53
I try to create wave system for my base def. map but system not working.
I can not find where the problem is.
Can you help me?
I can not find where the problem is.
-
Hero Selection
-
Events
-
Unit - A unit comes within 200.00 of Keskin Nisancı 0001 <gen>
-
-
Conditions
-
(Unit-type of (Triggering unit)) Equal to Seçici
-
-
Actions
-
Set Regionlar[50] = (Center of Base Portal <gen>)
-
Unit - Move SelectHero[1] instantly to Regionlar[50]
-
Hero - Set SelectHero[1] Hero-level to 1, Hide level-up graphics
-
Hero - Create Tome of Retraining and give it to SelectHero[1]
-
Hero - Order SelectHero[1] to use (Last created item)
-
Unit - Change ownership of SelectHero[1] to (Owner of (Triggering unit)) and Change color
-
Camera - Pan camera for (Owner of (Triggering unit)) to (Position of SelectHero[1]) over 0.50 seconds
-
Selection - Select SelectHero[1] for (Owner of (Triggering unit))
-
Unit - Kill SeciciUnit[(Player number of (Owner of (Triggering unit)))]
-
Custom script: call RemoveLocation (udg_Regionlar[50])
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
OyunHazir Equal to False
-
-
Then - Actions
-
Set OyunHazir = True
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
BMinutes01 Greater than 0
-
-
Then - Actions
-
Set BMinutes01 = 0
-
Set BSeconds01 = 30
-
-
Else - Actions
-
-
-
Else - Actions
-
-
Trigger - Turn off (This trigger)
-
-
-
Mob Timer
-
Events
-
Time - Every 1.00 seconds of game time
-
-
Conditions
-
BTUP01 Equal to False
-
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
BSeconds01 Greater than 0
-
-
Then - Actions
-
Set BSeconds01 = (BSeconds01 - 1)
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
BMinutes01 Greater than 0
-
-
Then - Actions
-
Set BMinutes01 = (BMinutes01 - 1)
-
Set BSeconds01 = 59
-
-
Else - Actions
-
-
-
-
-------- Display Values --------
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
BSeconds01 Less than or equal to 0
-
BMinutes01 Less than or equal to 0
-
-
Then - Actions
-
Set BTUP01 = True
-
Set Sure02 = ((0 + (String(BMinutes01))) + (:0 + (String(BSeconds01))))
-
Multiboard - Set the text for Multiboard item in column 4, row 2 to Sure02
-
Set Regionlar[1] = (Center of A01 <gen>)
-
Unit Group - Pick every unit in SolGrup and do (Actions)
-
Loop - Actions
-
Unit - Make (Picked unit) Vulnerable
-
Unit - Unpause (Picked unit)
-
Unit - Move (Picked unit) instantly to (Center of A01 <gen>)
-
-
-
Custom script: call RemoveLocation (udg_Regionlar[1])
-
Unit Group - Remove all units from SolGrup
-
Set Regionlar[4] = (Center of B01 <gen>)
-
Unit Group - Pick every unit in SagGrup and do (Actions)
-
Loop - Actions
-
Unit - Make (Picked unit) Vulnerable
-
Unit - Unpause (Picked unit)
-
Unit - Move (Picked unit) instantly to Regionlar[4]
-
-
-
Custom script: call RemoveLocation (udg_Regionlar[4])
-
Unit Group - Remove all units from SagGrup
-
Trigger - Run Moblar Geliyor <gen> (checking conditions)
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
BSeconds01 Less than or equal to 9
-
-
Then - Actions
-
Set Sure02 = ((0 + (String(BMinutes01))) + (:0 + (String(BSeconds01))))
-
Multiboard - Set the text for Multiboard item in column 4, row 2 to Sure02
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
BSeconds01 Greater than 9
-
-
Then - Actions
-
Set Sure01 = ((0 + (String(BMinutes01))) + (: + (String(BSeconds01))))
-
Multiboard - Set the text for Multiboard item in column 4, row 2 to Sure01
-
-
Else - Actions
-
-
-
-
-
-
-
-
Moblar Geliyor
-
Events
-
Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
WaveLevel Equal to 1
-
LevelUP Less than 3
-
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
LevelUP Equal to 0
-
-
Then - Actions
-
Set KalanMobSayisi = 30
-
Multiboard - Change the title of Multiboard to (Text[8] + ([|c00ff0000 + ((String(WaveLevel)) + (|r] + (( - + Text[7]) + ([|c00ff0000 + ((String(KalanMobSayisi)) + |r])))))))
-
-
Else - Actions
-
-
For each (Integer A) from 1 to 5, do (Actions)
-
Loop - Actions
-
-------- Melee Mobs (create +3) ---------------------------------------------------------------------------- --------
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
RGCount01 Less than 3
-
-
Then - Actions
-
Set RGCount01 = (RGCount01 + 1)
-
Unit - Create 1 Bandit (Lv 01) for Player 11 (Dark Green) at STRegs01[RGCount01] facing (Distance between STRegs01[RGCount01] and (Center of A01 <gen>)) degrees
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
RGCount02 Less than 3
-
-
Then - Actions
-
Set RGCount02 = (RGCount02 + 1)
-
Unit - Create 1 Bandit (Lv 01) for Player 11 (Dark Green) at STRegs02[RGCount02] facing (Distance between STRegs02[RGCount02] and (Center of B01 <gen>)) degrees
-
-
Else - Actions
-
-
-------- Ranged Mobs (create +2) ---------------------------------------------------------------------------- --------
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
RGCount01 Greater than or equal to 3
-
-
Then - Actions
-
Set RGCount01 = (RGCount01 + 1)
-
Unit - Create 1 Assassin (Lv 01) for Player 11 (Dark Green) at STRegs01[RGCount01] facing (Distance between STRegs01[RGCount01] and (Center of A01 <gen>)) degrees
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
RGCount02 Greater than or equal to 3
-
-
Then - Actions
-
Set RGCount02 = (RGCount02 + 1)
-
Unit - Create 1 Assassin (Lv 01) for Player 11 (Dark Green) at STRegs02[RGCount02] facing (Distance between STRegs02[RGCount02] and (Center of B01 <gen>)) degrees
-
-
Else - Actions
-
-
Wait 0.50 seconds
-
-
-
Set LevelUP = (LevelUP + 1)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(RGCount01 Greater than or equal to 5) and (RGCount02 Greater than or equal to 5)
-
-
Then - Actions
-
Set BSeconds01 = 15
-
Set Sure01 = ((0 + (String(BMinutes01))) + (: + (String(BSeconds01))))
-
Multiboard - Set the text for Multiboard item in column 4, row 2 to Sure01
-
Set BTUP01 = False
-
Set RGCount01 = 0
-
Set RGCount02 = 0
-
-
Else - Actions
-
-
-
Else - Actions
-
-
-
Can you help me?