- Joined
- Jan 25, 2009
- Messages
- 572
Hello. I've made a spell that when i cast a spell does this following it will be an ERROR:
Summons a Icy Tower that slows every unit within 500/550/600/650 AoE for 20% and every 5 second the tower will randomly Frost Nova a unit within the AoE that does 30/40/50/60 target damage and 20/25/30/35 AoE damage. Icy Tower last 15/25/35/45 seconds. Cooldown: 60 seconds.
How the units where slowed where triggered like this:
And this is how i made the Frost Nova:
And this is what the ERROR says when i test the spell. The ERROR appears like after 5-8 seconds when i've cast the spell. Anyway, this is what the ERROR says :
This application has encountered a critical error:
There's not enought free memory to use the command.
Program: c:\program files\warcraft iii\War3.exe
File: .\cmemblock.cpp
Line: 372
Press OK to terminate the application.
I really need help with that! Please!
Summons a Icy Tower that slows every unit within 500/550/600/650 AoE for 20% and every 5 second the tower will randomly Frost Nova a unit within the AoE that does 30/40/50/60 target damage and 20/25/30/35 AoE damage. Icy Tower last 15/25/35/45 seconds. Cooldown: 60 seconds.
How the units where slowed where triggered like this:
-
Scatch Aura init (Trigger 1)
-
Events
- Unit - A unit Spawns a summoned unit
-
Conditions
- (Unit-type of (Summoned unit)) Equal to Icy Tower
-
Actions
- Set SA_CastingUnit = (Summoning unit)
- Set SA_SummonedUnit = (Summoned unit)
- Trigger - Turn on Scatch Aura effect <gen>
-
Events
-
Scatch Aura effect (Trigger 2)
-
Events
- Time - Every 1.00 seconds of game time
- Conditions
-
Actions
-
Unit Group - Pick every unit in (Units within SA_AoE[(Level of Icy Tower for SA_CastingUnit)] of (Position of SA_SummonedUnit) matching (((Picked unit) belongs to an enemy of (Owner of SA_CastingUnit)) Equal to True)) and do (Actions)
-
Loop - Actions
- Unit - Create 1 Dummy Unit for (Owner of SA_CastingUnit) at (Position of SA_SummonedUnit) facing 0.00 degrees
- Unit - Add Slow (Scatch Aura [Icy Tower]) to (Last created unit)
- Unit - Set level of Slow (Scatch Aura [Icy Tower]) for (Last created unit) to (Level of Icy Tower for SA_CastingUnit)
- Unit - Order (Last created unit) to Human Sorceress - Slow (Picked unit)
- Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
-
Loop - Actions
-
Unit Group - Pick every unit in (Units within SA_AoE[(Level of Icy Tower for SA_CastingUnit)] of (Position of SA_SummonedUnit) matching (((Picked unit) belongs to an enemy of (Owner of SA_CastingUnit)) Equal to True)) and do (Actions)
-
Events
-
Scatch Aura turn off (Trigger 3)
-
Events
- Unit - A unit Dies
-
Conditions
- SA_SummonedUnit Equal to (Dying unit)
-
Actions
- Trigger - Turn off Scatch Aura effect <gen>
- Set SA_SummonedUnit = No unit
- Set SA_CastingUnit = No unit
-
Events
And this is how i made the Frost Nova:
-
Frost Nova init (Trigger 1)
-
Events
- Unit - A unit Spawns a summoned unit
-
Conditions
- (Unit-type of (Summoned unit)) Equal to Icy Tower
-
Actions
- Set FN_CastingUnit = (Summoning unit)
- Set FN_SummonedUnit = (Summoned unit)
- Trigger - Turn on Frost Nova Effect <gen>
-
Events
-
Frost Nova Effect (Trigger 2)
-
Events
- Time - Every 5.00 seconds of game time
- Conditions
-
Actions
-
Unit Group - Pick every unit in (Random 1 units from (Units within SA_AoE[(Level of Icy Tower for FN_CastingUnit)] of (Position of FN_SummonedUnit) matching (((Picked unit) belongs to an enemy of (Owner of FN_SummonedUnit)) Equal to True))) and do (Actions)
-
Loop - Actions
- Unit - Create 1 Dummy Unit for (Owner of FN_CastingUnit) at (Position of FN_SummonedUnit) facing 0.00 degrees
- Unit - Add Frost Nova (Icy Tower) to (Last created unit)
- Unit - Set level of Frost Nova (Icy Tower) for (Last created unit) to (Level of Icy Tower for FN_CastingUnit)
- Unit - Order (Last created unit) to Undead Lich - Frost Nova (Picked unit)
- Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
-
Loop - Actions
-
Unit Group - Pick every unit in (Random 1 units from (Units within SA_AoE[(Level of Icy Tower for FN_CastingUnit)] of (Position of FN_SummonedUnit) matching (((Picked unit) belongs to an enemy of (Owner of FN_SummonedUnit)) Equal to True))) and do (Actions)
-
Events
-
Frost Nova turn off (Trigger 3)
-
Events
- Unit - A unit Dies
-
Conditions
- SA_SummonedUnit Equal to (Dying unit)
-
Actions
- Trigger - Turn off Frost Nova Effect <gen>
- Set FN_CastingUnit = No unit
- Set FN_SummonedUnit = No unit
-
Events
And this is what the ERROR says when i test the spell. The ERROR appears like after 5-8 seconds when i've cast the spell. Anyway, this is what the ERROR says :
This application has encountered a critical error:
There's not enought free memory to use the command.
Program: c:\program files\warcraft iii\War3.exe
File: .\cmemblock.cpp
Line: 372
Press OK to terminate the application.
I really need help with that! Please!
Last edited: