- Joined
- Jul 18, 2010
- Messages
- 332
This is a complicated set of triggers but their goal is simple. The players need to activate two torches(There are two in the arena and there are also two in the boss stage, this fact doesn't matter that much though).
When activated, all Sorcerors of Seth abd the boss will be able to be hit, they'll be vulnerable and they're not spell immuned.
Everything works fine except for the being vulnerable part. Nothing happens, they are still invulnerable. I think it's the conditions but I'm not sure.
The Sorcerors and the boss btw aren't in the game at the same time.
When activated, all Sorcerors of Seth abd the boss will be able to be hit, they'll be vulnerable and they're not spell immuned.
Everything works fine except for the being vulnerable part. Nothing happens, they are still invulnerable. I think it's the conditions but I'm not sure.
The Sorcerors and the boss btw aren't in the game at the same time.
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Number of units in dungeongroup_Copy_5) Less than or equal to 2
-
Then - Actions
- Set Region1 = (Random point in Lower Region <gen>)
- Unit - Create 1 Sorceror of Seth for Neutral Hostile at Region1 facing Default building facing degrees
- Special Effect - Create a special effect attached to the chest of (Last created unit) using Abilities\Spells\Undead\AntiMagicShell\AntiMagicShell.mdl
- Hashtable - Save Handle Of(Last created special effect) as 3 of (Key (Last created unit)) in aoehashtable
- Unit Group - Add (Last created unit) to mages
- Unit - Add Item Armor Bonus (+100000000) to (Last created unit)
- Unit - Add Evasion (Khufu, Ashtaroth) to (Last created unit)
- Unit - Add Spell Immunity to (Last created unit)
- Unit - Change color of (Last created unit) to Brown
- Custom script: call RemoveLocation(udg_Region1)
- Set Region1 = (Random point in Lower Region <gen>)
- Unit - Create 1 Sorceror of Seth for Neutral Hostile at Region1 facing Default building facing degrees
- Special Effect - Create a special effect attached to the chest of (Last created unit) using Abilities\Spells\Undead\AntiMagicShell\AntiMagicShell.mdl
- Hashtable - Save Handle Of(Last created special effect) as 3 of (Key (Last created unit)) in aoehashtable
- Unit Group - Add (Last created unit) to mages
- Unit - Add Item Armor Bonus (+100000000) to (Last created unit)
- Unit - Add Evasion (Khufu, Ashtaroth) to (Last created unit)
- Unit - Add Spell Immunity to (Last created unit)
- Unit - Change color of (Last created unit) to Brown
- Custom script: call RemoveLocation(udg_Region1)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Number of units in dungeongroup_Copy_5) Less than or equal to 2
-
Then - Actions
- Set Region1 = (Random point in Lower Region <gen>)
- Unit - Create 1 Sorceror of Seth for Neutral Hostile at Region1 facing Default building facing degrees
- Special Effect - Create a special effect attached to the chest of (Last created unit) using Abilities\Spells\Undead\AntiMagicShell\AntiMagicShell.mdl
- Hashtable - Save Handle Of(Last created special effect) as 3 of (Key (Last created unit)) in aoehashtable
- Unit Group - Add (Last created unit) to mages
- Unit - Add Item Armor Bonus (+100000000) to (Last created unit)
- Unit - Add Evasion (Khufu, Ashtaroth) to (Last created unit)
- Unit - Add Spell Immunity to (Last created unit)
- Unit - Change color of (Last created unit) to Brown
- Custom script: call RemoveLocation(udg_Region1)
- Set Region1 = (Random point in Lower Region <gen>)
- Unit - Create 1 Sorceror of Seth for Neutral Hostile at Region1 facing Default building facing degrees
- Special Effect - Create a special effect attached to the chest of (Last created unit) using Abilities\Spells\Undead\AntiMagicShell\AntiMagicShell.mdl
- Hashtable - Save Handle Of(Last created special effect) as 3 of (Key (Last created unit)) in aoehashtable
- Unit Group - Add (Last created unit) to mages
- Unit - Add Item Armor Bonus (+100000000) to (Last created unit)
- Unit - Add Evasion (Khufu, Ashtaroth) to (Last created unit)
- Unit - Add Spell Immunity to (Last created unit)
- Unit - Change color of (Last created unit) to Brown
- Custom script: call RemoveLocation(udg_Region1)
- Else - Actions
-
If - Conditions
- Unit - Create 1 Immortal Sphinx for Neutral Hostile at BossSpot facing 270.00 degrees
- Unit - Change color of (Last created unit) to Brown
- Special Effect - Create a special effect attached to the chest of (Last created unit) using Abilities\Spells\Human\ManaShield\ManaShieldCaster.mdl
- Hashtable - Save Handle Of(Last created special effect) as 3 of (Key (Last created unit)) in aoehashtable
- Unit Group - Add (Last created unit) to mages
- Unit - Add Item Armor Bonus (+100000000) to (Last created unit)
- Unit - Add Evasion (Khufu, Ashtaroth) to (Last created unit)
- Unit - Add Spell Immunity to (Last created unit)
- Set boss = (Last created unit)
- Set oretinajump = 0
-
seth pyramid torch activate
-
Events
- Player - Player 1 (Red) Presses the Down Arrow key
- Player - Player 2 (Blue) Presses the Down Arrow key
- Player - Player 3 (Teal) Presses the Down Arrow key
- Player - Player 4 (Purple) Presses the Down Arrow key
- Player - Player 5 (Yellow) Presses the Down Arrow key
- Player - Player 6 (Orange) Presses the Down Arrow key
- Conditions
-
Actions
- Set bunkergroup = (Units owned by (Triggering player) matching ((((Unit-type of (Matching unit)) Equal to Magnus Dan) or ((((Matching unit) is A Hero) Equal to True) or (((Unit-type of (Matching unit)) Equal to Rin (Dark Goddess)) or ((Unit-type of (Matching unit)) Equal to Ri
-
Unit Group - Pick every unit in bunkergroup and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Boss Stage Entrance Copy <gen> contains (Picked unit)) Equal to True
-
Then - Actions
- Unit - Create 1 burning effect wft for Neutral Hostile at BossStageEntrance_Copy facing Default building facing degrees
- Animation - Change (Last created unit)'s size to (125.00%, 125.00%, 125.00%) of its original size
- Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
- Unit - Create 1 burning effect wft for Neutral Hostile at BossStageEntrance_Copy facing Default building facing degrees
- Animation - Change (Last created unit)'s size to (125.00%, 125.00%, 125.00%) of its original size
- Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
- Unit - Create 1 Seth Torch Activate for Neutral Hostile at BossStageEntrance_Copy facing Default building facing degrees
- Unit Group - Add (Last created unit) to torches
- Hashtable - Save Handle Of(Last created unit) as 2 of (Key (Last created unit)) in aoehashtable
- Hashtable - Save 15 as 1 of (Key (Last created unit)) in aoehashtable
- Set oretinajump = (oretinajump + 1)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- oretinajump Greater than or equal to 2
-
Then - Actions
- Set oretinajump = 2
-
Unit Group - Pick every unit in mages and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Picked unit) Equal to boss
-
Then - Actions
- Special Effect - Create a special effect attached to the origin of (Picked unit) using Abilities\Spells\Human\MassTeleport\MassTeleportCaster.mdl
- Special Effect - Destroy (Last created special effect)
-
Else - Actions
- Special Effect - Create a special effect attached to the origin of (Picked unit) using Abilities\Spells\Undead\AnimateDead\AnimateDeadTarget.mdl
- Special Effect - Destroy (Last created special effect)
-
If - Conditions
- Special Effect - Destroy (Load 3 of (Key (Picked unit)) in aoehashtable)
- Unit - Remove Item Armor Bonus (+100000000) from (Picked unit)
- Unit - Remove Spell Immunity from (Picked unit)
- Unit - Remove Evasion (Khufu, Ashtaroth) from (Picked unit)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
- Else - Actions
-
If - Conditions
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Boss Stage Entrance Copy 2 <gen> contains (Picked unit)) Equal to True
-
Then - Actions
- Unit - Create 1 burning effect wft for Neutral Hostile at BossStageEntrance_Copy_2 facing Default building facing degrees
- Animation - Change (Last created unit)'s size to (125.00%, 125.00%, 125.00%) of its original size
- Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
- Unit - Create 1 burning effect wft for Neutral Hostile at BossStageEntrance_Copy_2 facing Default building facing degrees
- Animation - Change (Last created unit)'s size to (125.00%, 125.00%, 125.00%) of its original size
- Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
- Unit - Create 1 Seth Torch Activate for Neutral Hostile at BossStageEntrance_Copy_2 facing Default building facing degrees
- Unit Group - Add (Last created unit) to torches
- Hashtable - Save Handle Of(Last created unit) as 2 of (Key (Last created unit)) in aoehashtable
- Hashtable - Save 15 as 1 of (Key (Last created unit)) in aoehashtable
- Set oretinajump = (oretinajump + 1)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- oretinajump Greater than or equal to 2
-
Then - Actions
- Set oretinajump = 2
-
Unit Group - Pick every unit in mages and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Picked unit) Equal to boss
-
Then - Actions
- Special Effect - Create a special effect attached to the origin of (Picked unit) using Abilities\Spells\Human\MassTeleport\MassTeleportCaster.mdl
- Special Effect - Destroy (Last created special effect)
-
Else - Actions
- Special Effect - Create a special effect attached to the origin of (Picked unit) using Abilities\Spells\Undead\AnimateDead\AnimateDeadTarget.mdl
- Special Effect - Destroy (Last created special effect)
-
If - Conditions
- Special Effect - Destroy (Load 3 of (Key (Picked unit)) in aoehashtable)
- Unit - Remove Item Armor Bonus (+100000000) from (Picked unit)
- Unit - Remove Spell Immunity from (Picked unit)
- Unit - Remove Evasion (Khufu, Ashtaroth) from (Picked unit)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
- Else - Actions
-
If - Conditions
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (BossSpot Copy 5 <gen> contains (Picked unit)) Equal to True
-
Then - Actions
- Unit - Create 1 burning effect wft for Neutral Hostile at BossSpot_Copy_5 facing Default building facing degrees
- Animation - Change (Last created unit)'s size to (125.00%, 125.00%, 125.00%) of its original size
- Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
- Unit - Create 1 burning effect wft for Neutral Hostile at BossSpot_Copy_5 facing Default building facing degrees
- Animation - Change (Last created unit)'s size to (125.00%, 125.00%, 125.00%) of its original size
- Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
- Unit - Create 1 Seth Torch Activate for Neutral Hostile at BossSpot_Copy_5 facing Default building facing degrees
- Unit Group - Add (Last created unit) to torches
- Hashtable - Save Handle Of(Last created unit) as 2 of (Key (Last created unit)) in aoehashtable
- Hashtable - Save 15 as 1 of (Key (Last created unit)) in aoehashtable
- Set oretinajump = (oretinajump + 1)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- oretinajump Greater than or equal to 2
-
Then - Actions
- Set oretinajump = 2
-
Unit Group - Pick every unit in mages and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Picked unit) Equal to boss
-
Then - Actions
- Special Effect - Create a special effect attached to the origin of (Picked unit) using Abilities\Spells\Human\MassTeleport\MassTeleportCaster.mdl
- Special Effect - Destroy (Last created special effect)
-
Else - Actions
- Special Effect - Create a special effect attached to the origin of (Picked unit) using Abilities\Spells\Undead\AnimateDead\AnimateDeadTarget.mdl
- Special Effect - Destroy (Last created special effect)
-
If - Conditions
- Special Effect - Destroy (Load 3 of (Key (Picked unit)) in aoehashtable)
- Unit - Remove Item Armor Bonus (+100000000) from (Picked unit)
- Unit - Remove Spell Immunity from (Picked unit)
- Unit - Remove Evasion (Khufu, Ashtaroth) from (Picked unit)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
- Else - Actions
-
If - Conditions
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (BossSpot Copy 6 <gen> contains (Picked unit)) Equal to True
-
Then - Actions
- Unit - Create 1 burning effect wft for Neutral Hostile at BossSpot_Copy_6 facing Default building facing degrees
- Animation - Change (Last created unit)'s size to (125.00%, 125.00%, 125.00%) of its original size
- Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
- Unit - Create 1 burning effect wft for Neutral Hostile at BossSpot_Copy_6 facing Default building facing degrees
- Animation - Change (Last created unit)'s size to (125.00%, 125.00%, 125.00%) of its original size
- Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
- Unit - Create 1 Seth Torch Activate for Neutral Hostile at BossSpot_Copy_6 facing Default building facing degrees
- Unit Group - Add (Last created unit) to torches
- Hashtable - Save Handle Of(Last created unit) as 2 of (Key (Last created unit)) in aoehashtable
- Hashtable - Save 15 as 1 of (Key (Last created unit)) in aoehashtable
- Set oretinajump = (oretinajump + 1)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- oretinajump Greater than or equal to 2
-
Then - Actions
- Set oretinajump = 2
-
Unit Group - Pick every unit in mages and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Picked unit) Equal to boss
-
Then - Actions
- Special Effect - Create a special effect attached to the origin of (Picked unit) using Abilities\Spells\Human\MassTeleport\MassTeleportCaster.mdl
- Special Effect - Destroy (Last created special effect)
-
Else - Actions
- Special Effect - Create a special effect attached to the origin of (Picked unit) using Abilities\Spells\Undead\AnimateDead\AnimateDeadTarget.mdl
- Special Effect - Destroy (Last created special effect)
-
If - Conditions
- Special Effect - Destroy (Load 3 of (Key (Picked unit)) in aoehashtable)
- Unit - Remove Item Armor Bonus (+100000000) from (Picked unit)
- Unit - Remove Spell Immunity from (Picked unit)
- Unit - Remove Evasion (Khufu, Ashtaroth) from (Picked unit)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
- Else - Actions
-
If - Conditions
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
Events
-
seth pyramid torches
-
Events
- Time - Every 1.50 seconds of game time
- Conditions
-
Actions
-
Unit Group - Pick every unit in torches 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)) Equal to Seth Torch Activate
-
Then - Actions
- Set aoetime = (Load 1 of (Key (Picked unit)) from aoehashtable)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Load 1 of (Key (Picked unit)) from aoehashtable) Greater than 0.00
-
Then - Actions
- Hashtable - Save (aoetime - 1.50) as 1 of (Key (Picked unit)) in aoehashtable
-
Else - Actions
- Hashtable - Clear all child hashtables of child (Key (Picked unit)) in aoehashtable
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Load 1 of (Key (Picked unit)) from aoehashtable) Equal to 0.00
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- oretinajump Greater than or equal to 2
-
Then - Actions
-
Unit Group - Pick every unit in mages and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Picked unit) Equal to boss
-
Then - Actions
- Special Effect - Create a special effect attached to the chest of (Picked unit) using Abilities\Spells\Human\ManaShield\ManaShieldCaster.mdl
-
Else - Actions
- Special Effect - Create a special effect attached to the chest of (Picked unit) using Abilities\Spells\Undead\AntiMagicShell\AntiMagicShell.mdl
-
If - Conditions
- Hashtable - Save Handle Of(Last created special effect) as 3 of (Key (Picked unit)) in aoehashtable
- Unit - Add Item Armor Bonus (+100000000) to (Picked unit)
- Unit - Add Evasion (Khufu, Ashtaroth) to (Picked unit)
- Unit - Add Spell Immunity to (Picked unit)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
Unit Group - Pick every unit in mages and do (Actions)
- Else - Actions
-
If - Conditions
- Set oretinajump = (oretinajump - 1)
- Unit - Kill (Load 2 of (Key (Picked unit)) in aoehashtable)
- Unit Group - Remove (Picked unit) from torches
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Else - Actions
-
If - Conditions
- Else - Actions
-
If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Number of units in torches) Equal to 0
-
Then - Actions
- Trigger - Turn off (This trigger)
-
Else - Actions
- Do nothing
-
If - Conditions
-
Unit Group - Pick every unit in torches and do (Actions)
-
Events
- Unit - Create 1 Seth Torch for Neutral Hostile at BossStageEntrance_Copy facing 270.00 degrees
- Unit - Create 1 Fire Embrace Aura for Neutral Hostile at BossStageEntrance_Copy facing 270.00 degrees
- Animation - Change (Last created unit)'s size to (120.00%, 120.00%, 120.00%) of its original size
- Unit - Create 1 Seth Torch for Neutral Hostile at BossStageEntrance_Copy_2 facing 270.00 degrees
- Unit - Create 1 Fire Embrace Aura for Neutral Hostile at BossStageEntrance_Copy_2 facing 270.00 degrees
- Animation - Change (Last created unit)'s size to (120.00%, 120.00%, 120.00%) of its original size
- Trigger - Turn on seth pyramid torch activate <gen>
- Set oretinajump = 0
- Unit - Create 1 Anubis Statue for Neutral Hostile at riflemanpoint_Copy_3 facing 180.00 degrees
- Hashtable - Save 15 as 5 of (Key (Last created unit)) in aoehashtable
- Unit Group - Add (Last created unit) to statues
- Unit - Create 1 Anubis Statue for Neutral Hostile at riflemanpoint_Copy_2 facing 0.00 degrees
- Hashtable - Save 15 as 5 of (Key (Last created unit)) in aoehashtable
- Unit Group - Add (Last created unit) to statues
- Unit - Create 1 Anubis Statue for Neutral Hostile at riflemanpoint_Copy_8 facing 0.00 degrees
- Hashtable - Save 15 as 5 of (Key (Last created unit)) in aoehashtable
- Unit Group - Add (Last created unit) to statues
- Unit - Create 1 Anubis Statue for Neutral Hostile at riflemanpoint_Copy_9 facing 180.00 degrees
- Hashtable - Save 15 as 5 of (Key (Last created unit)) in aoehashtable
- Unit Group - Add (Last created unit) to statues
- Set Region1 = (Random point in Lower Region <gen>)
- Unit - Create 1 Pyramid Trap for Neutral Hostile at Region1 facing Default building facing degrees
- Unit Group - Add (Last created unit) to torches
- Custom script: call RemoveLocation(udg_Region1)
- Set Region1 = (Random point in Lower Region <gen>)
- Unit - Create 1 Pyramid Trap for Neutral Hostile at Region1 facing Default building facing degrees
- Unit Group - Add (Last created unit) to torches
- Custom script: call RemoveLocation(udg_Region1)
- Set Region1 = (Random point in Lower Region <gen>)
- Unit - Create 1 Pyramid Trap for Neutral Hostile at Region1 facing Default building facing degrees
- Unit Group - Add (Last created unit) to torches
- Custom script: call RemoveLocation(udg_Region1)
- Set Region1 = (Random point in Lower Region <gen>)
- Unit - Create 1 Pyramid Trap for Neutral Hostile at Region1 facing Default building facing degrees
- Unit Group - Add (Last created unit) to torches
- Custom script: call RemoveLocation(udg_Region1)
- Set Region1 = (Random point in Upper Region <gen>)
- Unit - Create 1 Pyramid Trap for Neutral Hostile at Region1 facing Default building facing degrees
- Unit Group - Add (Last created unit) to torches
- Custom script: call RemoveLocation(udg_Region1)
- Set Region1 = (Random point in Upper Region <gen>)
- Unit - Create 1 Pyramid Trap for Neutral Hostile at Region1 facing Default building facing degrees
- Unit Group - Add (Last created unit) to torches
- Custom script: call RemoveLocation(udg_Region1)
- Set Region1 = (Random point in Upper Region <gen>)
- Unit - Create 1 Pyramid Trap for Neutral Hostile at Region1 facing Default building facing degrees
- Unit Group - Add (Last created unit) to torches
- Custom script: call RemoveLocation(udg_Region1)
- Set Region1 = (Random point in Upper Region <gen>)
- Unit - Create 1 Pyramid Trap for Neutral Hostile at Region1 facing Default building facing degrees
- Unit Group - Add (Last created unit) to torches
- Custom script: call RemoveLocation(udg_Region1)
- Game - Pause the game
- Environment - Set fog to style Linear, z-start 0.00, z-end 5000.00, density 0.00 and color (10.00%, 10.00%, 10.00%)
- Quest - Display to (All players) the Quest Update message: |cff77bbffEvent Dun...
- Wait 3.00 seconds
- Game - Unpause the game
- Environment - Reset fog to default values
- Quest - Display to (All players) the Quest Update message: |cff77bbffNew Dunge...
- Trigger - Turn on seth pyramid torches <gen>
- Trigger - Turn on seth pyramid statues <gen>
- Else - Actions