where to post what...Two words,"You're Amazing..."
No leaks,no lag, no bugs, very good![]()
Currently, im busy working on my own mod, and i can work quite advanced(or atleast i think so hehe)triggers and abilities, but ive noticed with you're work that, most of it is through variables alone, excluding simple things like , Unit starts effect of ability, and ability equal to Whatever. And I realized through this that, to make skillful and effective abilities, you can go nowhere without variables, I didnt know where else to post this so i just posted it here
.
If you can help me at all or tell me where to post it you'd be,"You're more Amazing.."![]()
Chop and Pull target
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Chop and Pull
Actions
Set Chopandpulltargetability = (Target point of ability being cast)
Set ChopandpullFreshTargets = (Random 0 units from (Units in (Playable map area)))
Set ChopandPulltargets = (Random 0 units from (Units in (Playable map area)))
Set ChopandPullpoint = (Position of (Triggering unit))
Set ChopandPullDegrees = (Integer((Angle from ChopandPullpoint to Chopandpulltargetability)))
Set Chopandpulllevel = (Level of Chop and Pull for (Triggering unit))
Set ChopandPullcasting = (Triggering unit)
For each (Integer A) from 1 to (20 x (Level of Chop and Pull for ChopandPullcasting)), do (Actions)
Loop - Actions
Set Chopandpullcastingpoint = (ChopandPullpoint offset by (10.00 x (Real((Integer A)))) towards (Real(ChopandPullDegrees)) degrees)
Set ChopandpullFreshTargets = (Units within 125.00 of Chopandpullcastingpoint matching (((Matching unit) belongs to an enemy of (Owner of ChopandPullcasting)) Equal to True))
Unit Group - Pick every unit in ChopandpullFreshTargets and do (Unit Group - Add (Picked unit) to ChopandPulltargets)
Custom script: call RemoveLocation (udg_Chopandpullcastingpoint)
Custom script: call DestroyGroup (udg_ChopandpullFreshTargets)
Wait 1.00 seconds
Unit Group - Pick every unit in ChopandPulltargets and do (Unit - Turn collision for (Picked unit) On)
Custom script: call DestroyGroup (udg_ChopandPulltargets)
Custom script: call RemoveLocation (udg_ChopandPullpoint)
Custom script: call RemoveLocation (udg_Chopandpulltargetability)
Custom script: call RemoveLocation (udg_ChopandPullpointtarget)
Chop and Pull Copy
Events
Time - Every 0.04 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in ChopandPulltargets and do (Actions)
Loop - Actions
Set ChopandPullpointtarget = (Position of (Picked unit))
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Distance between ChopandPullpointtarget and ChopandPullpoint) Greater than 100.00
Then - Actions
Set ChopandPullDegrees2 = (Angle from ChopandPullpointtarget to ChopandPullpoint)
Set ChopandPullPoints = (ChopandPullpointtarget offset by 20.00 towards ChopandPullDegrees2 degrees)
Unit - Turn collision for (Picked unit) Off
Unit - Move (Picked unit) instantly to ChopandPullPoints
Custom script: call RemoveLocation (udg_ChopandPullPoints)
Else - Actions
Do nothing
Custom script: call RemoveLocation (udg_ChopandPullpointtarget)
Terror
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to warcrything (Neutral Hostile)
Actions
Set TerrorCasting = (Triggering unit)
Set Terrorcastingpoint = (Position of TerrorCasting)
Set TerroredUnits = (Units within (225.00 + (200.00 x (Real((Level of Terror for TerrorCasting))))) of Terrorcastingpoint matching (((Matching unit) belongs to an enemy of (Owner of TerrorCasting)) Equal to True))
Unit Group - Pick every unit in TerroredUnits and do (Actions)
Loop - Actions
Set schreechpoint = (Position of (Picked unit))
Unit - Create 1 Dummy-schreech for (Owner of TerrorCasting) at schreechpoint facing Default building facing degrees
Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
Unit - Set level of schreech for (Triggering unit) to (Level of Terror for TerrorCasting)
Unit - Order (Last created unit) to Night Elf Druid Of The Talon - Faerie Fire (Picked unit)
Custom script: call RemoveLocation (udg_schreechpoint)
Wait (2.00 + (2.00 x (Real((Level of Terror for TerrorCasting))))) seconds
Custom script: call DestroyGroup (udg_TerroredUnits)
Custom script: call RemoveLocation (udg_TerrorRunPoint)
Custom script: call RemoveLocation (udg_Terrorcastingpoint)
Custom script: call RemoveLocation (udg_Terroredunitspoint)
Run
Events
Time - Every 0.50 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in TerroredUnits and do (Actions)
Loop - Actions
Set Terrorcastingpoint = (Position of TerrorCasting)
Set Terroredunitspoint = (Position of (Picked unit))
Set TerrorRunPoint = (Terroredunitspoint offset by 500.00 towards (Angle from Terrorcastingpoint to Terroredunitspoint) degrees)
Unit - Order (Picked unit) to Move To TerrorRunPoint
Custom script: call RemoveLocation (udg_TerrorRunPoint)
Custom script: call RemoveLocation (udg_Terrorcastingpoint)
Custom script: call RemoveLocation (udg_Terroredunitspoint)