Hadezown
TH.net Regular
- Reaction score
- 5
Can somone tell me if there's any potential for this to crash wc3 anytime?
There is no consistent time in which the game crashes so i duno really what causes it
Code:
Actions
Wait (Random real number between 0.01 and 0.40) seconds
For each (Integer AI_Integer1) from 1 to 8, do (Actions)
Loop - Actions
Set AI_numroll = (Random integer number between 1 and 2)
Wait (Random real number between 0.01 and 0.80) seconds
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
AI_numroll Equal to 1
Then - Actions
Set AA_UnitGroup = (Units in (Playable map area) matching (((Matching unit) belongs to an enemy of (Player(AI_Integer1))) Equal to True))
Set AA_Point = (Position of (Random unit from AA_UnitGroup))
Unit - Order Player_Hero[AI_Integer1] to Orc Tauren Chieftain - Shockwave AA_Point
Custom script: call RemoveLocation(udg_AA_Point)
Custom script: call DestroyGroup(udg_AA_UnitGroup)
Else - Actions
Set AA_UnitGroup = (Units in (Playable map area) matching (((Matching unit) belongs to an enemy of (Player(AI_Integer1))) Equal to True))
Set AA_Point = (Position of (Random unit from AA_UnitGroup))
Unit - Order Player_Hero[AI_Integer1] to Human Archmage - Blizzard AA_Point
Custom script: call RemoveLocation(udg_AA_Point)
Custom script: call DestroyGroup(udg_AA_UnitGroup)
There is no consistent time in which the game crashes so i duno really what causes it