Venge22
New Member
- Reaction score
- 10
Hmm i hope sum1 finds out and posts it ^^
N I
^
o N < 0
270
N
180 W E 0.00
S 90
set Sector<i> = i * (360/Num)</i>
set Sector<i> = <span style="font-size: 15px"><b>FacingDegOfTarget +</b></span> i * (360/Num)</i>
set Deg = bj_RADTODEG * Atan2(y2 - y1, x2 - x1)
if Deg < 0 then
set Deg = Deg + 360
endif
<b><span style="font-size: 15px">set Deg = bj_RADTODEG * Atan2(y1 - y2, x1 - x2)</span></b>
<span style="font-size: 15px"><b>set Deg = Deg + FacingDegOfTarget</b></span>
if Deg < 0 then
set Deg = Deg + 360
endif
if Deg > 0 then
set Deg = Deg - 360
endif
Casts
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to (==) Tree Trap
Actions
Set flag = False
Set loc = (Position of (Triggering unit))
Destructible - Pick every destructible within 500.00 of loc and do (Actions)
Loop - Actions
Set d = (Picked destructible)
Set loc2 = (Position of (Picked destructible))
Destructible - Pick every destructible within 500.00 of loc and do (Actions)
Loop - Actions
Set loc3 = (Position of (Picked destructible))
Set Real1 = (Angle from loc2 to loc)
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Multiple ConditionsAnd - All (Conditions) are true
Conditions
Real1 Less than (<) 0.00
Then - Actions
Set Real1 = (Real1 + 360.00)
Else - Actions
Set Real2 = (Angle from loc3 to loc)
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Multiple ConditionsAnd - All (Conditions) are true
Conditions
Real2 Less than (<) 0.00
Then - Actions
Set Real2 = (Real2 + 360.00)
Else - Actions
Set Real2 = (Real2 + 180.00)
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Multiple ConditionsAnd - All (Conditions) are true
Conditions
Real2 Greater than (>) 360.00
Then - Actions
Set Real2 = (Real2 - 360.00)
Else - Actions
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Multiple ConditionsAnd - All (Conditions) are true
Conditions
d Not equal to (!=) (Picked destructible)
(Real1 + 40.00) Greater than or equal to (>=) Real2
(Real1 - 40.00) Less than or equal to (<=) Real2
Then - Actions
Set d2 = (Picked destructible)
Set flag = True
Custom script: return
Else - Actions
Custom script: call RemoveLocation(udg_loc3)
Custom script: call RemoveLocation(udg_loc2)
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
flag Equal to (==) True
Then - Actions
Custom script: return
Else - Actions
Custom script: call RemoveLocation(udg_loc)
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
flag Equal to (==) True
Then - Actions
Set loc = (Position of d)
Set loc2 = (Position of d2)
Set Real1 = (Angle from loc to loc2)
Set Real2 = 0.00
Do Multiple ActionsFor each (Integer A) from 1 to 100, do (Actions)
Loop - Actions
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
TT_Unit[(Integer A)] Equal to (==) No unit
Then - Actions
Set Integer = (Integer A)
Set TT_Caster[(Integer A)] = (Triggering unit)
Custom script: exitwhen true
Else - Actions
Do Multiple ActionsFor each (Integer A) from 0 to 2, do (Actions)
Loop - Actions
Set loc3 = (loc offset by Real2 towards Real1 degrees)
Unit - Create 1 Dummy for (Owner of (Triggering unit)) at loc3 facing Default building facing (270.0) degrees
Unit Group - Add (Last created unit) to TT_Group[Integer]
Custom script: set bj_forLoopAIndex = 0
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Multiple ConditionsAnd - All (Conditions) are true
Conditions
(Real2 + 15.00) Greater than or equal to (>=) ((Distance between loc and loc2) / 2.00)
(Real2 - 15.00) Less than or equal to (<=) ((Distance between loc and loc2) / 2.00)
Then - Actions
Unit - Create 1 Anchor for (Owner of (Triggering unit)) at loc3 facing Default building facing (270.0) degrees
Set TT_Unit[Integer] = (Last created unit)
Else - Actions
Set Real2 = (Real2 + 20.00)
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Real2 Greater than or equal to (>=) (Distance between loc and loc2)
Then - Actions
Custom script: exitwhen true
Else - Actions
Custom script: call RemoveLocation(udg_loc3)
Custom script: call RemoveLocation(udg_loc)
Custom script: call RemoveLocation(udg_loc2)
Else - Actions
Near Trap
Events
Time - Every 0.05 seconds of game time
Conditions
Actions
Do Multiple ActionsFor each (Integer A) from 1 to 100, do (Actions)
Loop - Actions
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
TT_Unit[(Integer A)] Not equal to (!=) No unit
Then - Actions
Set flag = False
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(TT_Unit[(Integer A)] is dead) Equal to (==) True
Then - Actions
Unit Group - Pick every unit in TT_Group[(Integer A)] and do (Actions)
Loop - Actions
Unit - Remove (Picked unit) from the game
Set TT_Unit[(Integer A)] = No unit
Else - Actions
Unit Group - Pick every unit in TT_Group[(Integer A)] and do (Actions)
Loop - Actions
Set loc = (Position of (Picked unit))
Set Group = (Units within 30.00 of loc matching ((((Matching unit) belongs to an enemy of (Owner of TT_Caster[(Integer A)])) Equal to (==) True) and ((((Matching unit) is A ground unit) Equal to (==) True) and (((Matching unit) is alive) Equal to (==) True))))
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Number of units in Group) Not equal to (!=) 0
Then - Actions
Set flag = True
Else - Actions
Custom script: call RemoveLocation(udg_loc)
Custom script: call DestroyGroup(udg_Group)
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
flag Equal to (==) True
Then - Actions
Unit Group - Pick every unit in TT_Group[(Integer A)] and do (Actions)
Loop - Actions
Set loc = (Position of (Picked unit))
Special Effect - Create a special effect at loc using Environment\LargeBuildingFire\LargeBuildingFire0.mdl
Special Effect - Destroy (Last created special effect)
Custom script: call RemoveLocation(udg_loc)
Unit - Remove (Picked unit) from the game
Unit - Add Stomp Dummy to TT_Unit[(Integer A)]
Unit - Order TT_Unit[(Integer A)] to Orc Tauren Chieftain - War Stomp
Unit - Add a 3.00 second Generic expiration timer to TT_Unit[(Integer A)]
Set loc = (Position of TT_Unit[(Integer A)])
Special Effect - Create a special effect at loc using Objects\Spawnmodels\Undead\UDeathMedium\UDeath.mdl
Special Effect - Destroy (Last created special effect)
Custom script: call RemoveLocation(udg_loc)
Else - Actions
Else - Actions
LOL! The Assassin is my fav char. I have a lvl 74 or so assassin.(Diablo anyone?)
Reword please, 50+30 does not add up. And I don't understand what you mean by
"15% of the Hero's max hp, for 15% of the hero's hp is taken away."