Moderator
M
Moderator
12.12
IcemanBo: For long time as NeedsFix. Rejected.
Bribe
Set A_Temp_Loc = (Position of (Picked unit)) -> does not get removed, so there's a lot of memory leaks :O
(Owner of (Triggering unit)) -> (Triggering player)
(Elapsed time for RC_Timer[RC_Index3]) -> store this into a variable as you reference it a lot.
Set RT_CasterLoc[RT_Index2] = (Position of (Triggering unit))
Set RT_TrailLoc[RT_Index2] = (Position of (Triggering unit))
^ Why duplicate the location?
IcemanBo: For long time as NeedsFix. Rejected.
Bribe
Set A_Temp_Loc = (Position of (Picked unit)) -> does not get removed, so there's a lot of memory leaks :O
(Owner of (Triggering unit)) -> (Triggering player)
(Elapsed time for RC_Timer[RC_Index3]) -> store this into a variable as you reference it a lot.
-
Set A_Temp_Loc = (RC_CenterPoint[RC_Index3] offset by (Random real number between 0.00 and RC_Range[RC_Index3]) towards (Random angle) degrees)
-
Set A_Temp_Group = (Units within RC_EffectAoe[RC_Index3] of A_Temp_Loc matching (((Matching unit) belongs to an enemy of (Owner of RC_Caster[RC_Index3])) Equal to true))
-
Unit Group - Pick every unit in A_Temp_Group and do (Actions)
-
Unit - Cause RC_Caster[RC_Index3] to damage (Picked unit) dealing RC_Damage[RC_Index3] damage of attack type Spells and damage type Normal
-
-
Special Effect - Create a special effect at A_Temp_Loc using Abilities\Spells\Orc\WarStomp\WarStompCaster.mdl
-
Special Effect - Destroy (Last created special effect)
-
Custom script: call DestroyGroup(udg_A_Temp_Group)
-
Custom script: call RemoveLocation(udg_A_Temp_Loc)
-
Set A_Temp_Loc = (RC_CenterPoint[RC_Index3] offset by (Random real number between 0.00 and RC_Range[RC_Index3]) towards (Random angle) degrees)
-
Set A_Temp_Group = (Units within RC_EffectAoe[RC_Index3] of A_Temp_Loc matching (((Matching unit) belongs to an enemy of (Owner of RC_Caster[RC_Index3])) Equal to true))
-
Unit Group - Pick every unit in A_Temp_Group and do (Actions)
-
Unit - Cause RC_Caster[RC_Index3] to damage (Picked unit) dealing RC_Damage[RC_Index3] damage of attack type Spells and damage type Normal
-
-
Special Effect - Create a special effect at A_Temp_Loc using Abilities\Spells\Undead\Impale\ImpaleHitTarget.mdl
-
Special Effect - Destroy (Last created special effect)
-
Custom script: call DestroyGroup(udg_A_Temp_Group)
-
Custom script: call RemoveLocation(udg_A_Temp_Loc)
-
Set A_Temp_Loc = (RC_CenterPoint[RC_Index3] offset by (Random real number between 0.00 and RC_Range[RC_Index3]) towards (Random angle) degrees)
-
Set A_Temp_Group = (Units within RC_EffectAoe[RC_Index3] of A_Temp_Loc matching (((Matching unit) belongs to an enemy of (Owner of RC_Caster[RC_Index3])) Equal to true))
-
Unit Group - Pick every unit in A_Temp_Group and do (Actions)
-
Unit - Cause RC_Caster[RC_Index3] to damage (Picked unit) dealing RC_Damage[RC_Index3] damage of attack type Spells and damage type Normal
-
-
Special Effect - Create a special effect at A_Temp_Loc using Abilities\Spells\Other\Volcano\VolcanoDeath.mdl
-
Special Effect - Destroy (Last created special effect)
-
Custom script: call RemoveLocation(udg_A_Temp_Loc)
-
Custom script: call DestroyGroup(udg_A_Temp_Group)
Set RT_CasterLoc[RT_Index2] = (Position of (Triggering unit))
Set RT_TrailLoc[RT_Index2] = (Position of (Triggering unit))
^ Why duplicate the location?
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Current order of (Last created unit)) Equal to (Order(harvest))
-
-
Then - Actions
-
Destructable - Kill (Picked destructible)
-
Unit - Remove (Last created unit) from the game
-
-
Else - Actions
-
Unit - Remove (Last created unit) from the game
-
-