- Joined
- Apr 19, 2011
- Messages
- 1,331
I meet a problem on a system of solo boss on my map Survival Arena
From the boss n*3, the bosses are not to create in arenas(bullrings) except for the player 1...
And certainly height of the other still not found bugs...
The Triggers :
From the boss n*3, the bosses are not to create in arenas(bullrings) except for the player 1...
And certainly height of the other still not found bugs...
The Triggers :
-
Map initialisation
-
Evénements
- Map initialization
- Conditions
-
Actions
- -------- POINTS --------
- -------- Position Player Solo Boss Area --------
- Set Pos_SoloAreaPL[1] = (Center of BossSoloP1 <gen>)
- Set Pos_SoloAreaPL[2] = (Center of BossSoloP2 <gen>)
- Set Pos_SoloAreaPL[3] = (Center of BossSoloP3 <gen>)
- Set Pos_SoloAreaPL[4] = (Center of BossSoloP4 <gen>)
- Set Pos_SoloAreaPL[5] = (Center of BossSoloP5 <gen>)
- Set Pos_SoloAreaPL[6] = (Center of BossSoloP6 <gen>)
- Set Pos_SoloAreaPL[7] = (Center of BossSoloP7 <gen>)
- Set Pos_SoloAreaPL[8] = (Center of BossSoloP8 <gen>)
- Set Pos_SoloAreaPL[9] = (Center of BossSoloP9 <gen>)
- Set Pos_SoloAreaPL[10] = (Center of BossSoloP10 <gen>)
- Set Pos_SoloAreaPL[11] = (Center of BossSoloP11 <gen>)
- Set Pos_SoloAreaPL[12] = (Center of BossSoloP12 <gen>)
- -------- Position Boss Solo Boss Area --------
- Set Pos_SoloAreaB[1] = (Center of BossSoloB1 <gen>)
- Set Pos_SoloAreaB[2] = (Center of BossSoloB2 <gen>)
- Set Pos_SoloAreaB[3] = (Center of BossSoloB3 <gen>)
- Set Pos_SoloAreaB[4] = (Center of BossSoloB4 <gen>)
- Set Pos_SoloAreaB[5] = (Center of BossSoloB5 <gen>)
- Set Pos_SoloAreaB[6] = (Center of BossSoloB6 <gen>)
- Set Pos_SoloAreaB[7] = (Center of BossSoloB7 <gen>)
- Set Pos_SoloAreaB[8] = (Center of BossSoloB8 <gen>)
- Set Pos_SoloAreaB[9] = (Center of BossSoloB9 <gen>)
- Set Pos_SoloAreaB[10] = (Center of BossSoloB10 <gen>)
- Set Pos_SoloAreaB[11] = (Center of BossSoloB11 <gen>)
- Set Pos_SoloAreaB[12] = (Center of BossSoloB12 <gen>)
- -------- Position In Arena --------
- Set Pos_InArena[1] = (Center of respawn <gen>)
- -------- UNITS --------
- -------- Boss Solo --------
- Set Unit_BossSolo[1] = Evil Soldier
- Set Unit_BossSolo[2] = Fantassin
- Set Unit_BossSolo[3] = Knight
- Set Unit_BossSolo[4] = NeverDied
- Set Unit_BossSolo[5] = Wyrm des glaces
- -------- ITEMS --------
- -------- Boss Solo Loot --------
- Set Item_SoloBossLoot[1] = Rune de soins
- Set Item_SoloBossLoot[2] = Potion de soins majeurs
- Set Item_SoloBossLoot[3] = Agility Tome +10
- Set Item_SoloBossLoot[4] = Agility Tome +10
- Set Item_SoloBossLoot[5] = Agility Tome +10
-
Evénements
-
GoSoloArea
-
Evénements
- Unité - A unit Acquiert un objet
-
Conditions
- (Item-type of (Item being manipulated)) Egal Ã* Solo Boss Area
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Si - Conditions
- Bol_BossInFight[(Player number of (Owner of (Triggering unit)))] Egal Ã* FALSE
- Alors - Actions
-
Sinon - Actions
- Partie - Display to (Player group((Owner of (Triggering unit)))) the text: |Cfffed312You need ...
- Skip remaining actions
-
Si - Conditions
- Set Nbr_Lvl_BS[(Player number of (Owner of (Triggering unit)))] = (Nbr_Lvl_BS[(Player number of (Owner of (Triggering unit)))] + 1)
- Unité - Move (Triggering unit) instantly to Pos_SoloAreaPL[(Player number of (Owner of (Triggering unit)))]
- Caméra - Pan camera for (Owner of (Triggering unit)) to Pos_SoloAreaPL[(Player number of (Owner of (Triggering unit)))] over 0.01 seconds
- Set Unit_UnitInFight[(Player number of (Owner of (Triggering unit)))] = (Triggering unit)
- Unité - Create 1 Unit_BossSolo[Nbr_Lvl_BS[(Player number of (Owner of (Triggering unit)))]] for Neutre Hostile at Pos_SoloAreaB[(Player number of (Owner of (Triggering unit)))] facing 270.00 degrees
- Set Unit_BossInFight[(Player number of (Owner of (Triggering unit)))] = (Last created unit)
- Set Bol_BossInFight[(Player number of (Owner of (Triggering unit)))] = TRUE
- Déclencheur - Add to ExitSoloArea <gen> the event (Unité - Unit_BossInFight[(Player number of (Owner of (Triggering unit)))] Meurt)
- Déclencheur - Add to KilledbyBoss <gen> the event (Unité - Unit_UnitInFight[(Player number of (Owner of (Triggering unit)))] Meurt)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Evénements
-
KilledbyBoss
- Evénements
- Conditions
-
Actions
- Set Nbr_Lvl_BS[(Player number of (Owner of (Dying unit)))] = (Nbr_Lvl_BS[(Player number of (Owner of (Dying unit)))] - 1)
- Unité - Remove Unit_BossInFight[(Player number of (Owner of (Dying unit)))] from the game
- Set Bol_BossInFight[(Player number of (Owner of (Triggering unit)))] = FALSE
-
ExitSoloArea
- Evénements
- Conditions
-
Actions
- Joueur - Add (Nbr_Lvl_BS[(Player number of (Owner of (Killing unit)))] x 500) to Joueur 1 (Rouge) Or actuel
- Objet - Create Item_SoloBossLoot[Nbr_Lvl_BS[(Player number of (Owner of (Killing unit)))]] at Pos_SoloAreaB[(Player number of (Owner of (Killing unit)))]
- Partie - Display to (Player group((Owner of (Triggering unit)))) the text: In 10 seconds, you ...
- Wait 10.00 seconds
- Unité - Move (Killing unit) instantly to Pos_InArena[1]
- Caméra - Pan camera for (Owner of (Killing unit)) to Pos_InArena[1] over 0.01 seconds
- Wait 50.00 seconds
- Set Bol_BossInFight[(Player number of (Owner of (Triggering unit)))] = FALSE