i have prob whit air units on my trigger they dont follow the path to region.. what is rong?
I have allso some prob whit the ''loseing life'' trigger.. can anyone who know please look into my triggers:
Code:
Melee Initialization
Events
Map initialization
Conditions
Actions
-------- Setting player --------
Set ingameplayers = (All players matching ((((Matching player) slot status) Equal to Is playing) and (((Matching player) controller) Equal to User)))
-------- Creeps spwan --------
Set CreepArry[1] = Footman
Set CreepArry[2] = Sheep
Set CreepArry[3] = Child
Set CreepArry[4] = Swordsman
Set CreepArry[5] = Wagon
Set CreepArry[6] = High Elf (Female)
Set CreepArry[7] = Medivh (Raven Form)
Set CreepArry[8] = High Elf (Male)
Set CreepArry[9] = Crab
Set CreepArry[10] = Battle Golem
Set CreepArry[11] = Rat
Set CreepArry[12] = Penguin
Set CreepArry[13] = Marine
Set CreepArry[14] = Harpy Windwitch
Set CreepArry[15] = Ice Troll
Set CreepArry[16] = Makrura Pooldweller
Set CreepArry[17] = Dark Wizard
Set CreepArry[18] = Magnataur Destroyer
Set CreepArry[19] = Mur'gul Snarecaster
Set CreepArry[20] = Enraged Wildkin
Set CreepArry[21] = Hippogryph
-------- Number of creeps set in the arry --------
Set creepCount_lastindex = 21
-------- Visybility --------
Visibility - Disable fog of war
Visibility - Disable black mask
-------- Coloure codes --------
Set colouregolde = |cffffcc00
-------- Player Coloures --------
Set colourePlayers[1] = |c00ff0303
Set colourePlayers[2] = |c000042ff
Set colourePlayers[3] = |c001ce6b9
Set colourePlayers[4] = |c00540081
-------- For makeing pathing trigger's easier --------
Set hostilecreep = Player 12 (Brown)
-------- Turn bounty on for the ''bad guys'' --------
Player - Turn Gives bounty On for hostilecreep
-------- Amount of ''Lives'' --------
Set liveCount = 100
I have allso some prob whit the ''loseing life'' trigger.. can anyone who know please look into my triggers:
Code:
Lose Lives
Events
Unit - A unit enters END <gen>
Conditions
(Owner of (Triggering unit)) Equal to hostilecreep
Actions
Unit - Remove (Triggering unit) from the game
Set liveCount = (liveCount - 1)
-------- need to updade evry time a player leaks --------
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
LevelCount Equal to 0
Then - Actions
Wait 2.00 seconds
Player Group - Pick every player in ingameplayers and do (Actions)
Loop - Actions
Game - Defeat (Picked player) with the message: Defeat!
Else - Actions