- Joined
- Aug 14, 2006
- Messages
- 7,602
Hey!
I just tested my own campaign and the whole game crashes. I wonder what's wrong. The game crashes after few second after elite boss fight. Here are some triggers that may cause this. Any help? What makes the game crash? What i should fix? The one who helps will gain some REP!
Trigger 1:
I just tested my own campaign and the whole game crashes. I wonder what's wrong. The game crashes after few second after elite boss fight. Here are some triggers that may cause this. Any help? What makes the game crash? What i should fix? The one who helps will gain some REP!
Trigger 1:
-
Anthanex Spell
-
Events
- Unit - ! 0007 <gen> Is attacked
-
Conditions
- (Mana of ELITE_BOSS) Greater than or equal to 150.00
-
Actions
- Trigger - Turn off (This trigger)
- Unit - Set mana of ELITE_BOSS to 0.00%
- Set Elite_Boss_Real_Distance = 150.00
- Set Elite_Boss_Real_Degree = 0.00
- Set Elite_Boss_Real = 0.00
-
For each (Integer Elite_Boss_Integer) from 1 to 25, do (Actions)
-
Loop - Actions
- Set Elite_Boss_Real_Distance = (Elite_Boss_Real_Distance + 30.00)
- Set Elite_Boss_Real_Degree = (Elite_Boss_Real_Degree + 50.00)
- Set TempGroup2 = (Units owned by Player 1 (Red))
- Set TempLoc = ((Position of ELITE_BOSS) offset by Elite_Boss_Real_Distance towards Elite_Boss_Real_Degree degrees)
- Set TempGroup = (Units within 250.00 of TempLoc matching ((((Matching unit) is alive) Equal to True) and ((((Matching unit) is in TempGroup2) Equal to True) and (((Matching unit) has buff Invulnerable) Equal to False))))
- Unit - Create 1 Elite Boss Spell Dummy for Neutral Passive at TempLoc facing Default building facing degrees
- Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
-
Unit Group - Pick every unit in TempGroup and do (Actions)
-
Loop - Actions
- Unit - Cause ELITE_BOSS to damage (Picked unit), dealing 300.00 damage of attack type Spells and damage type Normal
- Special Effect - Create a special effect attached to the head of (Picked unit) using Abilities\Spells\Items\AIob\AIobSpecialArt.mdl
- Special Effect - Destroy (Last created special effect)
-
Loop - Actions
- Custom script: call RemoveLocation(udg_TempLoc)
- Custom script: call DestroyGroup(udg_TempGroup2)
- Custom script: call DestroyGroup(udg_TempGroup)
- Wait 0.10 seconds
-
Loop - Actions
- Wait 15.00 seconds
- Trigger - Turn on (This trigger)
-
Events
-
STR PLUS
-
Events
- Time - Every 2.00 seconds of game time
-
Conditions
- (ELITE_BOSS is alive) Equal to True
-
Actions
- Hero - Modify Strength of ELITE_BOSS: Add 1
-
Events
-
Mana Bonus
-
Events
- Unit - A unit Dies
-
Conditions
-
Or - Any (Conditions) are true
-
Conditions
- (Unit-type of (Dying unit)) Equal to Ice Element (Level 4)
- (Unit-type of (Dying unit)) Equal to Ice Element (Level 5)
- (Unit-type of (Dying unit)) Equal to Ice Element (Level 6)
- (Unit-type of (Dying unit)) Equal to ! (Galeoth)
- (Unit-type of (Dying unit)) Equal to Ice Polar
-
Conditions
- (Killing unit) Equal to ELITE_BOSS
-
Or - Any (Conditions) are true
-
Actions
- Special Effect - Create a special effect attached to the origin of ELITE_BOSS using Abilities\Spells\Other\Charm\CharmTarget.mdl
- Special Effect - Destroy (Last created special effect)
- Unit - Set mana of ELITE_BOSS to 100.00%
-
Events
-
Anthanex Event Spells
-
Events
- Unit - ! 0007 <gen> Is attacked
- Conditions
-
Actions
- Trigger - Turn off (This trigger)
- Set Random = (Random integer number between 1 and 3)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Random Equal to 1
-
Then - Actions
- Unit - Add [] Anthanex (Event 1) to ELITE_BOSS
- Unit - Order ELITE_BOSS to Human Mountain King - Activate Avatar
- Wait 15.00 seconds
- Unit - Remove [] Anthanex (Event 1) from ELITE_BOSS
- Wait 15.00 seconds
- Trigger - Turn on (This trigger)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Random Equal to 2
-
Then - Actions
- Unit - Add [] Anthanex (Event 2) to ELITE_BOSS
- Wait 15.00 seconds
- Unit - Remove [] Anthanex (Event 2) from ELITE_BOSS
- Wait 15.00 seconds
- Trigger - Turn on (This trigger)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Random Equal to 3
-
Then - Actions
- Unit - Add [] Anthanex 3 (Event 3) to ELITE_BOSS
- Unit - Order ELITE_BOSS to Undead Necromancer - Unholy Frenzy ELITE_BOSS
- Wait 15.00 seconds
- Unit - Remove [] Anthanex 3 (Event 3) from ELITE_BOSS
- Wait 15.00 seconds
- Trigger - Turn on (This trigger)
- Else - Actions
-
If - Conditions
-
Events
Last edited: