Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
You are using an out of date browser. It may not display this or other websites correctly. You should upgrade or use an alternative browser.
Triggers
KitaLock_1.06.w3x
Variables
KitaLock
Time count
Start counting time
Timer Off
KitaLock Settings
KitaLock 1
KitaLock 2
KitaLock 3
KitaLock 4
KitaLock 5
KitaLock 6
KitaLock 7
KitaLock 8
KitaLock 9
KitaLock Change
KitaLock Change LV1
KitaLock Change LV2
KitaLock Change LV3
KitaLock Change LV4
KitaLock Change LV5
KitaLock Change LV6 impossible
KitaLock Change LV7
KitaLock Change LV8
KitaLock Change LV9
KitaLock Change LV10
KitaLock Change LV11
KitaLock Open
KitaLock Reset
Resurrect Destructibles
lost one
reinc
moov
other stuff
antiload
respawn
beginning
victory and new level
Enter map-specific custom script code below. This text will be included in the map script after variables are declared and before any trigger code.
Name
Type
is_array
initial_value
Circletype
unitcode
Yes
KitaLock_Changer
unit
No
KitaLock_Difficulty
integer
No
LostOne
unit
No
Point
location
No
Point_2
location
No
Time
real
No
Timer
timer
No
TimeStuff
real
Yes
Time count
Events
Time - Every 0.01 seconds of game time
Conditions
Actions
Set Variable Set Time = (Time + 0.01)
Set Variable Set TimeStuff[0] = ((Time - (Time mod 60.00)) / 60.00)
Set Variable Set TimeStuff[1] = (Time mod 60.00)
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Player - Set (Picked player) . Current gold to (Integer(TimeStuff[0]))
Player - Set (Picked player) . Current lumber to (Integer(TimeStuff[1]))
Player - Set (Picked player) . Food used to KitaLock_Difficulty
Player - Set (Picked player) . Food max to 10
Player - Set (Picked player) . Food cap to 10
Start counting time
Events
Unit - A unit Is issued an order targeting a point
Conditions
Actions
Trigger - Turn off (This trigger)
Trigger - Turn on Time_count <gen>
Countdown Timer - Start Timer as a One-shot timer that will expire in (60.00 x 60.00) seconds
Countdown Timer - Create a timer window for (Last started timer) with title |cffff0000Time Remaining:|r
Countdown Timer - Show (Last created timer window)
Timer Off
Events
Time - Timer expires
Player - Player 1 (Red) types a chat message containing debuglose (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Countdown Timer - Destroy (Last created timer window)
Countdown Timer - Hide (Last created timer window)
Trigger - Turn off Timer_Off <gen>
Trigger - Turn off respawn <gen>
Game - Display to (All players) the text: |cffff0000The time is up!
Wait 2 seconds
For each (Integer A) from 1 to 200 , do (Actions)
Loop - Actions
Set Variable Set Point = (Random point in Region_014 <gen>)
Special Effect - Create a special effect at Point using Abilities\Spells\Orc\SpikeBarrier\SpikeBarrier.mdl
Special Effect - Destroy (Last created special effect)
Custom script: call RemoveLocation (udg_Point)
Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
Loop - Actions
Unit - Kill (Picked unit)
Cinematic - Fade out over 4.00 seconds using texture White Mask and color ( 0 %, 0 %, 0 %) with 0 % transparency
Wait 5.00 seconds
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Game - Defeat (Picked player) with the message: |cffff0000You have failed!|r
KitaLock Settings
Events
Map initialization
Conditions
Actions
Set Variable Set LostOne =
Set Variable Set KitaLock_Difficulty = "1"
Set Variable Set Circletype[1] = "n001"
Set Variable Set Circletype[2] = "n000"
Set Variable Set Circletype[3] = "n002"
Set Variable Set Circletype[4] = "n003"
Set Variable Set Circletype[5] = "n004"
Set Variable Set Circletype[6] = "n005"
Set Variable Set Circletype[7] = "n006"
Set Variable Set Circletype[8] = "n007"
Set Variable Set Circletype[9] = "n008"
Set Variable Set Circletype[10] = "n009"
Set Variable Set Circletype[11] = "n00A"
Set Variable Set Circletype[12] = "n00B"
Quest - Create a Required quest titled |cff00ff009-lock|r with the description |c00C0C0C0There are 10 levels.|c00808080You cannot win this game because you do not have enough patience.|c00C0C0C0Have fun!|r , using icon path ReplaceableTextures\CommandButtons\BTNCOP.blp
Quest - Create a quest requirement for (Last created quest) with the description |c00C0C0C0You must make all circles |cff00ff00green |c00C0C0C0in order to pass the level.
Quest - Create a quest requirement for (Last created quest) with the description |c00808080A circle will change color when stepped upon.
Quest - Create a quest requirement for (Last created quest) with the description |c00C0C0C0Stepping on one circle will affect all adjacent circles.
Quest - Create a quest requirement for (Last created quest) with the description |c00808080The colours will always change in the same order.
Quest - Create a Required quest titled |cffffff00Credits|r with the description |c00808080Inspiration came from the similar puzzle used in Star Wars: Knights Of The Old Republic. (The puzzle in KOTOR only featured buttons that had 2 states, like the first level of this puzzle)Also thanks to Kill3rbeast for finding out a serious bug. , using icon path ReplaceableTextures\CommandButtons\BTNChestOfGold.blp
Quest - Create a quest requirement for (Last created quest) with the description |c00C0C0C0Created by Kitabatake
Quest - Create a Optional quest titled |cff00ffffHints|r with the description , using icon path ReplaceableTextures\CommandButtons\BTNGreaterRejuvScroll.blp
Quest - Create a quest requirement for (Last created quest) with the description |c00C0C0C0Try to walk in symmetrical patterns
Quest - Create a quest requirement for (Last created quest) with the description |c00808080Patrolling does not help you.
Quest - Create a quest requirement for (Last created quest) with the description |c00C0C0C0Running like a headless chicken rarely helps you.
Quest - Create a quest requirement for (Last created quest) with the description |c00808080Be fast! You only have a limited amount of time!
KitaLock 1
Events
Unit - A unit enters KitaLock_SQ_1 <gen>
Conditions
((Entering unit) is A structure) Equal to False
((Entering unit) is Mechanical) Equal to False
((Entering unit) has buff Banish) Equal to False
Actions
Set Variable Set KitaLock_Changer = (Random unit from (Units in KitaLock_SQ_1 <gen> owned by Neutral Passive))
Trigger - Run KitaLock_Change <gen> (checking conditions)
Set Variable Set KitaLock_Changer = (Random unit from (Units in KitaLock_SQ_2 <gen> owned by Neutral Passive))
Trigger - Run KitaLock_Change <gen> (checking conditions)
Set Variable Set KitaLock_Changer = (Random unit from (Units in KitaLock_SQ_4 <gen> owned by Neutral Passive))
Trigger - Run KitaLock_Change <gen> (checking conditions)
KitaLock 2
Events
Unit - A unit enters KitaLock_SQ_2 <gen>
Conditions
((Entering unit) has buff Banish) Equal to False
((Entering unit) is A structure) Equal to False
((Entering unit) is Mechanical) Equal to False
Actions
Set Variable Set KitaLock_Changer = (Random unit from (Units in KitaLock_SQ_1 <gen> owned by Neutral Passive))
Trigger - Run KitaLock_Change <gen> (checking conditions)
Set Variable Set KitaLock_Changer = (Random unit from (Units in KitaLock_SQ_2 <gen> owned by Neutral Passive))
Trigger - Run KitaLock_Change <gen> (checking conditions)
Set Variable Set KitaLock_Changer = (Random unit from (Units in KitaLock_SQ_3 <gen> owned by Neutral Passive))
Trigger - Run KitaLock_Change <gen> (checking conditions)
Set Variable Set KitaLock_Changer = (Random unit from (Units in KitaLock_SQ_5 <gen> owned by Neutral Passive))
Trigger - Run KitaLock_Change <gen> (checking conditions)
KitaLock 3
Events
Unit - A unit enters KitaLock_SQ_3 <gen>
Conditions
((Entering unit) has buff Banish) Equal to False
((Entering unit) is A structure) Equal to False
((Entering unit) is Mechanical) Equal to False
Actions
Set Variable Set KitaLock_Changer = (Random unit from (Units in KitaLock_SQ_2 <gen> owned by Neutral Passive))
Trigger - Run KitaLock_Change <gen> (checking conditions)
Set Variable Set KitaLock_Changer = (Random unit from (Units in KitaLock_SQ_3 <gen> owned by Neutral Passive))
Trigger - Run KitaLock_Change <gen> (checking conditions)
Set Variable Set KitaLock_Changer = (Random unit from (Units in KitaLock_SQ_6 <gen> owned by Neutral Passive))
Trigger - Run KitaLock_Change <gen> (checking conditions)
KitaLock 4
Events
Unit - A unit enters KitaLock_SQ_4 <gen>
Conditions
((Entering unit) has buff Banish) Equal to False
((Entering unit) is A structure) Equal to False
((Entering unit) is Mechanical) Equal to False
Actions
Set Variable Set KitaLock_Changer = (Random unit from (Units in KitaLock_SQ_1 <gen> owned by Neutral Passive))
Trigger - Run KitaLock_Change <gen> (checking conditions)
Set Variable Set KitaLock_Changer = (Random unit from (Units in KitaLock_SQ_4 <gen> owned by Neutral Passive))
Trigger - Run KitaLock_Change <gen> (checking conditions)
Set Variable Set KitaLock_Changer = (Random unit from (Units in KitaLock_SQ_7 <gen> owned by Neutral Passive))
Trigger - Run KitaLock_Change <gen> (checking conditions)
Set Variable Set KitaLock_Changer = (Random unit from (Units in KitaLock_SQ_5 <gen> owned by Neutral Passive))
Trigger - Run KitaLock_Change <gen> (checking conditions)
KitaLock 5
Events
Unit - A unit enters KitaLock_SQ_5 <gen>
Conditions
((Entering unit) has buff Banish) Equal to False
((Entering unit) is A structure) Equal to False
((Entering unit) is Mechanical) Equal to False
Actions
Set Variable Set KitaLock_Changer = (Random unit from (Units in KitaLock_SQ_8 <gen> owned by Neutral Passive))
Trigger - Run KitaLock_Change <gen> (checking conditions)
Set Variable Set KitaLock_Changer = (Random unit from (Units in KitaLock_SQ_4 <gen> owned by Neutral Passive))
Trigger - Run KitaLock_Change <gen> (checking conditions)
Set Variable Set KitaLock_Changer = (Random unit from (Units in KitaLock_SQ_2 <gen> owned by Neutral Passive))
Trigger - Run KitaLock_Change <gen> (checking conditions)
Set Variable Set KitaLock_Changer = (Random unit from (Units in KitaLock_SQ_5 <gen> owned by Neutral Passive))
Trigger - Run KitaLock_Change <gen> (checking conditions)
Set Variable Set KitaLock_Changer = (Random unit from (Units in KitaLock_SQ_6 <gen> owned by Neutral Passive))
Trigger - Run KitaLock_Change <gen> (checking conditions)
KitaLock 6
Events
Unit - A unit enters KitaLock_SQ_6 <gen>
Conditions
((Entering unit) has buff Banish) Equal to False
((Entering unit) is A structure) Equal to False
((Entering unit) is Mechanical) Equal to False
Actions
Set Variable Set KitaLock_Changer = (Random unit from (Units in KitaLock_SQ_3 <gen> owned by Neutral Passive))
Trigger - Run KitaLock_Change <gen> (checking conditions)
Set Variable Set KitaLock_Changer = (Random unit from (Units in KitaLock_SQ_6 <gen> owned by Neutral Passive))
Trigger - Run KitaLock_Change <gen> (checking conditions)
Set Variable Set KitaLock_Changer = (Random unit from (Units in KitaLock_SQ_9 <gen> owned by Neutral Passive))
Trigger - Run KitaLock_Change <gen> (checking conditions)
Set Variable Set KitaLock_Changer = (Random unit from (Units in KitaLock_SQ_5 <gen> owned by Neutral Passive))
Trigger - Run KitaLock_Change <gen> (checking conditions)
KitaLock 7
Events
Unit - A unit enters KitaLock_SQ_7 <gen>
Conditions
((Entering unit) has buff Banish) Equal to False
((Entering unit) is A structure) Equal to False
((Entering unit) is Mechanical) Equal to False
Actions
Set Variable Set KitaLock_Changer = (Random unit from (Units in KitaLock_SQ_7 <gen> owned by Neutral Passive))
Trigger - Run KitaLock_Change <gen> (checking conditions)
Set Variable Set KitaLock_Changer = (Random unit from (Units in KitaLock_SQ_8 <gen> owned by Neutral Passive))
Trigger - Run KitaLock_Change <gen> (checking conditions)
Set Variable Set KitaLock_Changer = (Random unit from (Units in KitaLock_SQ_4 <gen> owned by Neutral Passive))
Trigger - Run KitaLock_Change <gen> (checking conditions)
KitaLock 8
Events
Unit - A unit enters KitaLock_SQ_8 <gen>
Conditions
((Entering unit) has buff Banish) Equal to False
((Entering unit) is A structure) Equal to False
((Entering unit) is Mechanical) Equal to False
Actions
Set Variable Set KitaLock_Changer = (Random unit from (Units in KitaLock_SQ_7 <gen> owned by Neutral Passive))
Trigger - Run KitaLock_Change <gen> (checking conditions)
Set Variable Set KitaLock_Changer = (Random unit from (Units in KitaLock_SQ_8 <gen> owned by Neutral Passive))
Trigger - Run KitaLock_Change <gen> (checking conditions)
Set Variable Set KitaLock_Changer = (Random unit from (Units in KitaLock_SQ_5 <gen> owned by Neutral Passive))
Trigger - Run KitaLock_Change <gen> (checking conditions)
Set Variable Set KitaLock_Changer = (Random unit from (Units in KitaLock_SQ_9 <gen> owned by Neutral Passive))
Trigger - Run KitaLock_Change <gen> (checking conditions)
KitaLock 9
Events
Unit - A unit enters KitaLock_SQ_9 <gen>
Conditions
((Entering unit) has buff Banish) Equal to False
((Entering unit) is A structure) Equal to False
((Entering unit) is Mechanical) Equal to False
Actions
Set Variable Set KitaLock_Changer = (Random unit from (Units in KitaLock_SQ_6 <gen> owned by Neutral Passive))
Trigger - Run KitaLock_Change <gen> (checking conditions)
Set Variable Set KitaLock_Changer = (Random unit from (Units in KitaLock_SQ_8 <gen> owned by Neutral Passive))
Trigger - Run KitaLock_Change <gen> (checking conditions)
Set Variable Set KitaLock_Changer = (Random unit from (Units in KitaLock_SQ_9 <gen> owned by Neutral Passive))
Trigger - Run KitaLock_Change <gen> (checking conditions)
Circletype
1 = ON
2 = OFF
3 = OFF_2
KitaLock Change
Events
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
KitaLock_Difficulty Equal to 1
Then - Actions
Trigger - Run KitaLock_Change_LV1 <gen> (checking conditions)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
KitaLock_Difficulty Equal to 2
Then - Actions
Trigger - Run KitaLock_Change_LV2 <gen> (checking conditions)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
KitaLock_Difficulty Equal to 3
Then - Actions
Trigger - Run KitaLock_Change_LV3 <gen> (checking conditions)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
KitaLock_Difficulty Equal to 4
Then - Actions
Trigger - Run KitaLock_Change_LV4 <gen> (checking conditions)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
KitaLock_Difficulty Equal to 5
Then - Actions
Trigger - Run KitaLock_Change_LV5 <gen> (checking conditions)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
KitaLock_Difficulty Equal to 6
Then - Actions
Trigger - Run KitaLock_Change_LV7 <gen> (checking conditions)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
KitaLock_Difficulty Equal to 7
Then - Actions
Trigger - Run KitaLock_Change_LV8 <gen> (checking conditions)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
KitaLock_Difficulty Equal to 8
Then - Actions
Trigger - Run KitaLock_Change_LV9 <gen> (checking conditions)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
KitaLock_Difficulty Equal to 9
Then - Actions
Trigger - Run KitaLock_Change_LV10 <gen> (checking conditions)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
KitaLock_Difficulty Equal to 10
Then - Actions
Trigger - Run KitaLock_Change_LV11 <gen> (checking conditions)
Else - Actions
Circletype
1 = ON
2 = OFF
3 = OFF_2
KitaLock Change LV1
Events
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of KitaLock_Changer) Equal to Circletype[1]
Then - Actions
Unit - Replace KitaLock_Changer with a Circletype[2] using The old unit's relative life and mana
Else - Actions
Unit - Replace KitaLock_Changer with a Circletype[1] using The old unit's relative life and mana
Circletype
1 = ON
2 = OFF
3 = OFF_2
KitaLock Change LV2
Events
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of KitaLock_Changer) Equal to Circletype[1]
Then - Actions
Unit - Replace KitaLock_Changer with a Circletype[2] using The old unit's relative life and mana
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of KitaLock_Changer) Equal to Circletype[2]
Then - Actions
Unit - Replace KitaLock_Changer with a Circletype[3] using The old unit's relative life and mana
Else - Actions
Unit - Replace KitaLock_Changer with a Circletype[1] using The old unit's relative life and mana
Circletype
1 = ON
2 = OFF
3 = OFF_2
4 = OFF_3
KitaLock Change LV3
Events
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of KitaLock_Changer) Equal to Circletype[1]
Then - Actions
Unit - Replace KitaLock_Changer with a Circletype[2] using The old unit's relative life and mana
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of KitaLock_Changer) Equal to Circletype[2]
Then - Actions
Unit - Replace KitaLock_Changer with a Circletype[3] using The old unit's relative life and mana
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of KitaLock_Changer) Equal to Circletype[3]
Then - Actions
Unit - Replace KitaLock_Changer with a Circletype[4] using The old unit's relative life and mana
Else - Actions
Unit - Replace KitaLock_Changer with a Circletype[1] using The old unit's relative life and mana
Circletype
1 = ON
2 = OFF
3 = OFF_2
4 = OFF_3
KitaLock Change LV4
Events
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of KitaLock_Changer) Equal to Circletype[1]
Then - Actions
Unit - Replace KitaLock_Changer with a Circletype[2] using The old unit's relative life and mana
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of KitaLock_Changer) Equal to Circletype[2]
Then - Actions
Unit - Replace KitaLock_Changer with a Circletype[3] using The old unit's relative life and mana
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of KitaLock_Changer) Equal to Circletype[3]
Then - Actions
Unit - Replace KitaLock_Changer with a Circletype[4] using The old unit's relative life and mana
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of KitaLock_Changer) Equal to Circletype[4]
Then - Actions
Unit - Replace KitaLock_Changer with a Circletype[5] using The old unit's relative life and mana
Else - Actions
Unit - Replace KitaLock_Changer with a Circletype[1] using The old unit's relative life and mana
Circletype
1 = ON
2 = OFF
3 = OFF_2
4 = OFF_3
KitaLock Change LV5
Events
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of KitaLock_Changer) Equal to Circletype[1]
Then - Actions
Unit - Replace KitaLock_Changer with a Circletype[2] using The old unit's relative life and mana
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of KitaLock_Changer) Equal to Circletype[2]
Then - Actions
Unit - Replace KitaLock_Changer with a Circletype[3] using The old unit's relative life and mana
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of KitaLock_Changer) Equal to Circletype[3]
Then - Actions
Unit - Replace KitaLock_Changer with a Circletype[4] using The old unit's relative life and mana
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of KitaLock_Changer) Equal to Circletype[4]
Then - Actions
Unit - Replace KitaLock_Changer with a Circletype[5] using The old unit's relative life and mana
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of KitaLock_Changer) Equal to Circletype[5]
Then - Actions
Unit - Replace KitaLock_Changer with a Circletype[6] using The old unit's relative life and mana
Else - Actions
Unit - Replace KitaLock_Changer with a Circletype[1] using The old unit's relative life and mana
Circletype
1 = ON
2 = OFF
3 = OFF_2
4 = OFF_3
KitaLock Change LV6 impossible
Events
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of KitaLock_Changer) Equal to Circletype[1]
Then - Actions
Unit - Replace KitaLock_Changer with a Circletype[2] using The old unit's relative life and mana
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of KitaLock_Changer) Equal to Circletype[2]
Then - Actions
Unit - Replace KitaLock_Changer with a Circletype[3] using The old unit's relative life and mana
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of KitaLock_Changer) Equal to Circletype[3]
Then - Actions
Unit - Replace KitaLock_Changer with a Circletype[4] using The old unit's relative life and mana
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of KitaLock_Changer) Equal to Circletype[4]
Then - Actions
Unit - Replace KitaLock_Changer with a Circletype[5] using The old unit's relative life and mana
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of KitaLock_Changer) Equal to Circletype[5]
Then - Actions
Unit - Replace KitaLock_Changer with a Circletype[6] using The old unit's relative life and mana
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of KitaLock_Changer) Equal to Circletype[6]
Then - Actions
Unit - Replace KitaLock_Changer with a Circletype[7] using The old unit's relative life and mana
Else - Actions
Unit - Replace KitaLock_Changer with a Circletype[1] using The old unit's relative life and mana
Circletype
1 = ON
2 = OFF
3 = OFF_2
4 = OFF_3
KitaLock Change LV7
Events
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of KitaLock_Changer) Equal to Circletype[1]
Then - Actions
Unit - Replace KitaLock_Changer with a Circletype[2] using The old unit's relative life and mana
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of KitaLock_Changer) Equal to Circletype[2]
Then - Actions
Unit - Replace KitaLock_Changer with a Circletype[3] using The old unit's relative life and mana
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of KitaLock_Changer) Equal to Circletype[3]
Then - Actions
Unit - Replace KitaLock_Changer with a Circletype[4] using The old unit's relative life and mana
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of KitaLock_Changer) Equal to Circletype[4]
Then - Actions
Unit - Replace KitaLock_Changer with a Circletype[5] using The old unit's relative life and mana
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of KitaLock_Changer) Equal to Circletype[5]
Then - Actions
Unit - Replace KitaLock_Changer with a Circletype[6] using The old unit's relative life and mana
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of KitaLock_Changer) Equal to Circletype[6]
Then - Actions
Unit - Replace KitaLock_Changer with a Circletype[7] using The old unit's relative life and mana
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of KitaLock_Changer) Equal to Circletype[7]
Then - Actions
Unit - Replace KitaLock_Changer with a Circletype[8] using The old unit's relative life and mana
Else - Actions
Unit - Replace KitaLock_Changer with a Circletype[1] using The old unit's relative life and mana
Circletype
1 = ON
2 = OFF
3 = OFF_2
4 = OFF_3
KitaLock Change LV8
Events
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of KitaLock_Changer) Equal to Circletype[1]
Then - Actions
Unit - Replace KitaLock_Changer with a Circletype[2] using The old unit's relative life and mana
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of KitaLock_Changer) Equal to Circletype[2]
Then - Actions
Unit - Replace KitaLock_Changer with a Circletype[3] using The old unit's relative life and mana
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of KitaLock_Changer) Equal to Circletype[3]
Then - Actions
Unit - Replace KitaLock_Changer with a Circletype[4] using The old unit's relative life and mana
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of KitaLock_Changer) Equal to Circletype[4]
Then - Actions
Unit - Replace KitaLock_Changer with a Circletype[5] using The old unit's relative life and mana
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of KitaLock_Changer) Equal to Circletype[5]
Then - Actions
Unit - Replace KitaLock_Changer with a Circletype[6] using The old unit's relative life and mana
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of KitaLock_Changer) Equal to Circletype[6]
Then - Actions
Unit - Replace KitaLock_Changer with a Circletype[7] using The old unit's relative life and mana
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of KitaLock_Changer) Equal to Circletype[7]
Then - Actions
Unit - Replace KitaLock_Changer with a Circletype[8] using The old unit's relative life and mana
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of KitaLock_Changer) Equal to Circletype[8]
Then - Actions
Unit - Replace KitaLock_Changer with a Circletype[9] using The old unit's relative life and mana
Else - Actions
Unit - Replace KitaLock_Changer with a Circletype[1] using The old unit's relative life and mana
Circletype
1 = ON
2 = OFF
3 = OFF_2
4 = OFF_3
KitaLock Change LV9
Events
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of KitaLock_Changer) Equal to Circletype[1]
Then - Actions
Unit - Replace KitaLock_Changer with a Circletype[2] using The old unit's relative life and mana
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of KitaLock_Changer) Equal to Circletype[2]
Then - Actions
Unit - Replace KitaLock_Changer with a Circletype[3] using The old unit's relative life and mana
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of KitaLock_Changer) Equal to Circletype[3]
Then - Actions
Unit - Replace KitaLock_Changer with a Circletype[4] using The old unit's relative life and mana
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of KitaLock_Changer) Equal to Circletype[4]
Then - Actions
Unit - Replace KitaLock_Changer with a Circletype[5] using The old unit's relative life and mana
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of KitaLock_Changer) Equal to Circletype[5]
Then - Actions
Unit - Replace KitaLock_Changer with a Circletype[6] using The old unit's relative life and mana
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of KitaLock_Changer) Equal to Circletype[6]
Then - Actions
Unit - Replace KitaLock_Changer with a Circletype[7] using The old unit's relative life and mana
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of KitaLock_Changer) Equal to Circletype[7]
Then - Actions
Unit - Replace KitaLock_Changer with a Circletype[8] using The old unit's relative life and mana
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of KitaLock_Changer) Equal to Circletype[8]
Then - Actions
Unit - Replace KitaLock_Changer with a Circletype[9] using The old unit's relative life and mana
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of KitaLock_Changer) Equal to Circletype[9]
Then - Actions
Unit - Replace KitaLock_Changer with a Circletype[10] using The old unit's relative life and mana
Else - Actions
Unit - Replace KitaLock_Changer with a Circletype[1] using The old unit's relative life and mana
Circletype
1 = ON
2 = OFF
3 = OFF_2
4 = OFF_3
KitaLock Change LV10
Events
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of KitaLock_Changer) Equal to Circletype[1]
Then - Actions
Unit - Replace KitaLock_Changer with a Circletype[2] using The old unit's relative life and mana
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of KitaLock_Changer) Equal to Circletype[2]
Then - Actions
Unit - Replace KitaLock_Changer with a Circletype[3] using The old unit's relative life and mana
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of KitaLock_Changer) Equal to Circletype[3]
Then - Actions
Unit - Replace KitaLock_Changer with a Circletype[4] using The old unit's relative life and mana
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of KitaLock_Changer) Equal to Circletype[4]
Then - Actions
Unit - Replace KitaLock_Changer with a Circletype[5] using The old unit's relative life and mana
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of KitaLock_Changer) Equal to Circletype[5]
Then - Actions
Unit - Replace KitaLock_Changer with a Circletype[6] using The old unit's relative life and mana
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of KitaLock_Changer) Equal to Circletype[6]
Then - Actions
Unit - Replace KitaLock_Changer with a Circletype[7] using The old unit's relative life and mana
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of KitaLock_Changer) Equal to Circletype[7]
Then - Actions
Unit - Replace KitaLock_Changer with a Circletype[8] using The old unit's relative life and mana
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of KitaLock_Changer) Equal to Circletype[8]
Then - Actions
Unit - Replace KitaLock_Changer with a Circletype[9] using The old unit's relative life and mana
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of KitaLock_Changer) Equal to Circletype[9]
Then - Actions
Unit - Replace KitaLock_Changer with a Circletype[10] using The old unit's relative life and mana
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of KitaLock_Changer) Equal to Circletype[10]
Then - Actions
Unit - Replace KitaLock_Changer with a Circletype[11] using The old unit's relative life and mana
Else - Actions
Unit - Replace KitaLock_Changer with a Circletype[1] using The old unit's relative life and mana
Circletype
1 = ON
2 = OFF
3 = OFF_2
4 = OFF_3
KitaLock Change LV11
Events
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of KitaLock_Changer) Equal to Circletype[1]
Then - Actions
Unit - Replace KitaLock_Changer with a Circletype[2] using The old unit's relative life and mana
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of KitaLock_Changer) Equal to Circletype[2]
Then - Actions
Unit - Replace KitaLock_Changer with a Circletype[3] using The old unit's relative life and mana
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of KitaLock_Changer) Equal to Circletype[3]
Then - Actions
Unit - Replace KitaLock_Changer with a Circletype[4] using The old unit's relative life and mana
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of KitaLock_Changer) Equal to Circletype[4]
Then - Actions
Unit - Replace KitaLock_Changer with a Circletype[5] using The old unit's relative life and mana
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of KitaLock_Changer) Equal to Circletype[5]
Then - Actions
Unit - Replace KitaLock_Changer with a Circletype[6] using The old unit's relative life and mana
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of KitaLock_Changer) Equal to Circletype[6]
Then - Actions
Unit - Replace KitaLock_Changer with a Circletype[7] using The old unit's relative life and mana
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of KitaLock_Changer) Equal to Circletype[7]
Then - Actions
Unit - Replace KitaLock_Changer with a Circletype[8] using The old unit's relative life and mana
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of KitaLock_Changer) Equal to Circletype[8]
Then - Actions
Unit - Replace KitaLock_Changer with a Circletype[9] using The old unit's relative life and mana
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of KitaLock_Changer) Equal to Circletype[9]
Then - Actions
Unit - Replace KitaLock_Changer with a Circletype[10] using The old unit's relative life and mana
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of KitaLock_Changer) Equal to Circletype[10]
Then - Actions
Unit - Replace KitaLock_Changer with a Circletype[11] using The old unit's relative life and mana
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of KitaLock_Changer) Equal to Circletype[11]
Then - Actions
Unit - Replace KitaLock_Changer with a Circletype[12] using The old unit's relative life and mana
Else - Actions
Unit - Replace KitaLock_Changer with a Circletype[1] using The old unit's relative life and mana
KitaLock Open
Events
Unit - A unit enters KitaLock_Open <gen>
Conditions
((Entering unit) is in (Units owned by Neutral Passive.).) Equal to False
((Entering unit) has buff Banish) Equal to False
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Number of units in (Units in KitaLock_FULL <gen> matching ((Unit-type of (Matching unit)) Equal to |cff00ff00Circle of Power ON|r))) Greater than or equal to 9
Then - Actions
Unit Group - Pick every unit in (Units in KitaLock_Open <gen>) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of (Picked unit)) Not equal to Puzzled Footman
Then - Actions
Unit - Replace (Picked unit) with a Circletype[1] using The old unit's relative life and mana
Else - Actions
Destructible - Open Massive Ruined Gate 0000 <gen>
Trigger - Turn off (This trigger)
Trigger - Turn off KitaLock_1 <gen>
Trigger - Turn off KitaLock_2 <gen>
Trigger - Turn off KitaLock_3 <gen>
Trigger - Turn off KitaLock_4 <gen>
Trigger - Turn off KitaLock_5 <gen>
Trigger - Turn off KitaLock_6 <gen>
Trigger - Turn off KitaLock_7 <gen>
Trigger - Turn off KitaLock_8 <gen>
Trigger - Turn off KitaLock_9 <gen>
Trigger - Turn off KitaLock_Reset <gen>
Set Variable Set Point = (Center of KitaLock_FULL <gen>)
Special Effect - Create a special effect at Point using Units\NightElf\Wisp\WispExplode.mdl
Special Effect - Destroy (Last created special effect)
Custom script: call RemoveLocation (udg_Point)
Set Variable Set Point = (Center of KitaLock_Open <gen>)
Special Effect - Create a special effect at Point using Abilities\Spells\Items\TomeOfRetraining\TomeOfRetrainingCaster.mdl
Special Effect - Destroy (Last created special effect)
Custom script: call RemoveLocation (udg_Point)
Game - Display to (All players) the text: |cff00ff00Great job!
Wait 2 seconds
Game - Display to (All players) the text: (|cffff0000LOCK LEVEL |cffff00ff + ((String(KitaLock_Difficulty)) + |cffff0000PASSED!|r))
Else - Actions
Do nothing
KitaLock Reset
Events
Destructible - Lever 0003 <gen> dies
Conditions
Actions
Unit Group - Pick every unit in (Units in KitaLock_FULL <gen>) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of (Picked unit)) Not equal to Puzzled Footman
(Unit-type of (Picked unit)) Not equal to Lost One
Then - Actions
Unit - Replace (Picked unit) with a Circletype[2] using The old unit's relative life and mana
Else - Actions
Unit Group - Pick every unit in (Units in KitaLock_Open <gen>) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of (Picked unit)) Not equal to Lost One
(Unit-type of (Picked unit)) Not equal to Puzzled Footman
Then - Actions
Unit - Replace (Picked unit) with a Circletype[2] using The old unit's relative life and mana
Else - Actions
Game - Display to (All players) for 10.00 seconds the text: |cffff0000LOCK RESET|r
Game - Display to (All players) the text: (|cffc0c0c0: Current lock level is + (String(KitaLock_Difficulty)))
Resurrect Destructibles
Events
Destructible - Lever 0003 <gen> dies
Conditions
Actions
Wait 2 seconds
Destructible - Resurrect Lever 0003 <gen> with (Max life of Lever 0003 <gen>) life and Show birth animation
reinc
Events
Unit - A unit Dies
Conditions
(Dying unit) Equal to LostOne
Actions
Wait 1.50 game-time seconds
Animation - Change LostOne 's animation speed to 0.00 % of its original speed
Wait 2 seconds
Set Variable Set Point = (Position of LostOne)
Unit - Create 1 . Lost One for Neutral Hostile at Point facing (Facing of LostOne) degrees
Animation - Play (Last created unit) 's Birth animation
Unit - Remove LostOne from the game
Set Variable Set LostOne = (Last created unit)
Custom script: call RemoveLocation (udg_Point)
moov
Events
Time - Every 0.50 seconds of game time
Conditions
(Random integer number between 1 and 3) Equal to 1
Actions
Set Variable Set Point = (Position of LostOne)
Set Variable Set Point_2 = (Point offset by (Random real number between 0 and 400.00) towards (Random angle) degrees.)
Unit - Order LostOne to Move To . Point_2
Custom script: call RemoveLocation (udg_Point)
Custom script: call RemoveLocation (udg_Point_2)
antiload
Events
Game - A saved game is loaded
Game - The game is about to be saved
Conditions
Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Game - Defeat (Picked player) with the message: Save/Load prohibited
respawn
Events
Unit - A unit Dies
Conditions
(Unit-type of (Dying unit)) Equal to Puzzled Footman
((Owner of (Dying unit)) slot status) Equal to Is playing
Actions
Set Variable Set Point = (Center of Region_012 <gen>)
Unit - Create 1 . Puzzled Footman for (Owner of (Dying unit)) at Point facing Default building facing degrees
Camera - Pan camera for (Owner of (Dying unit)) to Point over 0.50 seconds
Custom script: call RemoveLocation (udg_Point)
Special Effect - Create a special effect attached to the origin (Unexpected type: 'attachpoint') of (Last created unit) using Abilities\Spells\Other\Charm\CharmTarget.mdl
Special Effect - Destroy (Last created special effect)
beginning
Events
Map initialization
Conditions
Actions
Visibility - Disable fog of war
Visibility - Disable black mask
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Picked player) slot status) Equal to Is playing
((Picked player) controller) Equal to User
Then - Actions
Set Variable Set Point = (Center of Region_012 <gen>)
Unit - Create 1 . Puzzled Footman for (Picked player) at Point facing Default building facing degrees
Custom script: call RemoveLocation (udg_Point)
Else - Actions
Wait 2 seconds
Quest - Flash the quest dialog button
Game - Display to (All players) the text: |cffff0000LOCK LEVEL: 1|r
Wait 4.00 seconds
Game - Display to (All players) the text: The lock has 10 levels
Wait 2 seconds
Game - Display to (All players) the text: You win if you manage to beat all 10 levels.
victory and new level
Events
Unit - A unit enters Region_011 <gen>
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
KitaLock_Difficulty Less than 10
Then - Actions
Unit Group - Pick every unit in (Units of type Puzzled Footman) and do (Kill (Picked unit))
Set Variable Set KitaLock_Difficulty = (KitaLock_Difficulty + 1)
Game - Display to (All players) the text: (|cffff0000LOCK DIFFICULTY LEVEL: |cffff00ff + ((String(KitaLock_Difficulty)) + |cffff0000!|r))
Unit Group - Pick every unit in (Units in KitaLock_FULL <gen>) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of (Picked unit)) Not equal to Puzzled Footman
Then - Actions
Unit - Replace (Picked unit) with a Circletype[2] using The old unit's relative life and mana
Else - Actions
Unit Group - Pick every unit in (Units in KitaLock_Open <gen>) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of (Picked unit)) Not equal to Puzzled Footman
Then - Actions
Unit - Replace (Picked unit) with a Circletype[2] using The old unit's relative life and mana
Else - Actions
Trigger - Turn on KitaLock_1 <gen>
Trigger - Turn on KitaLock_2 <gen>
Trigger - Turn on KitaLock_3 <gen>
Trigger - Turn on KitaLock_4 <gen>
Trigger - Turn on KitaLock_5 <gen>
Trigger - Turn on KitaLock_6 <gen>
Trigger - Turn on KitaLock_7 <gen>
Trigger - Turn on KitaLock_8 <gen>
Trigger - Turn on KitaLock_9 <gen>
Trigger - Turn on KitaLock_Open <gen>
Trigger - Turn on KitaLock_Reset <gen>
Destructible - Close Massive Ruined Gate 0000 <gen>
Else - Actions
Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
Loop - Actions
Unit - Make (Picked unit) Invulnerable
Countdown Timer - Destroy (Last created timer window)
Countdown Timer - Hide (Last created timer window)
Trigger - Turn off Timer_Off <gen>
Trigger - Turn off Time_count <gen>
Trigger - Turn off (This trigger)
Wait 4.00 seconds
Game - Display to (All players) the text: ...
Wait 2 seconds
Game - Display to (All players) the text: You beat all levels??
Wait 2 seconds
Set Variable Set TimeStuff[0] = ((Time - (Time mod 60.00)) / 60.00)
Set Variable Set TimeStuff[1] = (Time mod 60.00)
Game - Display to (All players) the text: (In |cffffcc00 + ((String((Integer(TimeStuff[0])))) + ( minutes and + ((String((Integer(TimeStuff[1])))) + seconds|r??))))
Wait 2 seconds
Game - Display to (All players) the text: Holy shit!
Wait 2 seconds
Game - Display to (All players) the text: CONGRATULATIONS!!!
Wait 1.00 seconds
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Game - Victory (Picked player) ( Show dialogs, Show scores)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.