- Joined
- Aug 14, 2006
- Messages
- 7,602
Hey.
I have one slight problem I can't get rid of. When I save always this script error pops up and I see nothing wrong with my trigger.
Rep for the helpers.
I have one slight problem I can't get rid of. When I save always this script error pops up and I see nothing wrong with my trigger.
-
Volcanic Fissure
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to 1Volcanic Fissure (Fire 2)
-
Actions
- Set TempLoc = (Target point of ability being cast)
- Custom script: if not(IsLocationVisibleToPlayer(udg_TempLoc, GetTriggerPlayer())) then
- Custom script: call SimError(GetTriggerPlayer(), "Cannot cast there.")
- Custom script: call RemoveLocation(udg_TempLoc)
- Skip remaining actions
- Custom script: endif
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Or - Any (Conditions) are true
-
Conditions
- CAMPAIGN_CHAPTER Equal to 1
- CAMPAIGN_CHAPTER Greater than or equal to 4
-
Conditions
-
Or - Any (Conditions) are true
-
Then - Actions
- Trigger - Turn off (This trigger)
- Unit - Create 1 Volcanic Fissure Dummy for Neutral Passive at TempLoc facing Default building facing degrees
- Unit - Add a 3.00 second Generic expiration timer to (Last created unit)
- Set VolcanicFissure_Unit = (Last created unit)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Level of SPELL_SpellBook[2] for Restore_Panel[6]) Equal to 3
-
Then - Actions
- Animation - Change VolcanicFissure_Unit's size to (125.00%, 125.00%, 125.00%) of its original size
- Else - Actions
-
If - Conditions
- Custom script: call RemoveLocation(udg_TempLoc)
- Wait 0.50 seconds
- Set TempLoc = (Position of VolcanicFissure_Unit)
- Set TempGroup2 = (Units owned by Neutral Hostile)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Level of SPELL_SpellBook[2] for Restore_Panel[6]) Equal to 3
-
Then - Actions
- Set TempGroup = (Units within 450.00 of TempLoc matching ((((Matching unit) is alive) Equal to True) and ((((Matching unit) is in TempGroup2) Equal to True) and ((Level of Invulnerable (Neutral) for (Matching unit)) Equal to 0))))
-
Unit Group - Pick every unit in TempGroup and do (Actions)
-
Loop - Actions
- Unit - Create 1 Ability Dummy Unit for Player 1 (Red) at TempLoc facing Default building facing degrees
- Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
- Unit - Set level of STUN (0,5 sec / lvl DUMMY STUN) for (Last created unit) to 12
- Unit - Order (Last created unit) to Human Mountain King - Storm Bolt (Picked unit)
- Unit - Create 1 Ability Dummy Unit 3 for Neutral Passive at TempLoc facing TempLoc
- Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
- Unit - Set level of AAAStagger for (Last created unit) to 6
- Unit - Order (Last created unit) to Neutral Pandaren Brewmaster - Drunken Haze (Picked unit)
- Unit - Cause AAAPhodom to damage (Picked unit), dealing (Real(YMultiboard__SPELL[2])) damage of attack type Spells and damage type Normal
- Special Effect - Create a special effect attached to the origin of (Picked unit) using Abilities\Spells\Other\Volcano\VolcanoDeath.mdl
- Special Effect - Destroy (Last created special effect)
-
Loop - Actions
-
Else - Actions
- Set TempGroup = (Units within 300.00 of TempLoc matching ((((Matching unit) is alive) Equal to True) and ((((Matching unit) is in TempGroup2) Equal to True) and ((Level of Invulnerable (Neutral) for (Matching unit)) Equal to 0))))
-
Unit Group - Pick every unit in TempGroup and do (Actions)
-
Loop - Actions
- Unit - Create 1 Ability Dummy Unit for Player 1 (Red) at TempLoc facing Default building facing degrees
- Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
- Unit - Set level of STUN (0,5 sec / lvl DUMMY STUN) for (Last created unit) to 8
- Unit - Order (Last created unit) to Human Mountain King - Storm Bolt (Picked unit)
- Unit - Create 1 Ability Dummy Unit 3 for Neutral Passive at TempLoc facing TempLoc
- Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
- Unit - Set level of AAAStagger for (Last created unit) to 4
- Unit - Order (Last created unit) to Neutral Pandaren Brewmaster - Drunken Haze (Picked unit)
- Unit - Cause AAAPhodom to damage (Picked unit), dealing (Real(YMultiboard__SPELL[2])) damage of attack type Spells and damage type Normal
- Special Effect - Create a special effect attached to the origin of (Picked unit) using Abilities\Spells\Other\Volcano\VolcanoDeath.mdl
- Special Effect - Destroy (Last created special effect)
-
Loop - Actions
-
If - Conditions
- Custom script: call DestroyGroup(udg_TempGroup2)
- Custom script: call DestroyGroup(udg_TempGroup)
- Custom script: call RemoveLocation(udg_TempLoc)
- Set VolcanicFissure_Unit = No unit
- Trigger - Turn on (This trigger)
-
Else - Actions
- Game - Display to (All players) for 5.00 seconds the text: |c00FF0303You must ...
- Custom script: call RemoveLocation(udg_TempLoc)
-
If - Conditions
-
Events