How to create a skill like Plasma Field (Razor - DotA)

TheAkiraxD

New Member
Reaction score
0
He wanted to know how to build this skill. :banghead:
How to make a special move, coming and going. :confused:
How do I follow the damage effect :confused:
If someone can help me.
Thanks.
 

0WN3D

New Member
Reaction score
15
Well its gonna take some time to make....
WARNING NOT LEAK FREE(Also no damage event)

Trigger:
  • Untitled Trigger 001
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Plasma Actions
      • Set Interger = 0
      • For each (Integer A) from 1 to 36, do (Actions)
        • Loop - Actions
          • Unit - Create 1 Plasma for (Owner of (Casting unit)) at (Position of (Casting unit)) facing Default building facing degrees
          • Set Plasma[(Interger + 1)] = (Last created unit)
      • Trigger - Turn on Plasma Move <gen>
      • Wait 5.00 seconds
      • Trigger - Turn off Plasma Move <gen>
      • Trigger - Turn on Plasma Move Back <gen>
      • Wait 5.00 seconds
      • Trigger - Turn off Plasma Move Back <gen>


Trigger:
  • Plasma Move
    • Events
      • Time - Every 0.05 seconds of game time
    • Conditions
    • Actions
      • Set Angle = 0.00
      • For each (Integer A) from 1 to 36, do (Actions)
        • Loop - Actions
          • Unit - Move Plasma[(Integer A)] instantly to ((Position of Plasma[(Integer A)]) offset by 50.00 towards Angle degrees), facing Default building facing degrees
          • Set Angle = (Angle + 10.00)


Trigger:
  • Plasma Move Back
    • Events
      • Time - Every 0.05 seconds of game time
    • Conditions
    • Actions
      • Set Angle = 180.00
      • For each (Integer A) from 1 to 36, do (Actions)
        • Loop - Actions
          • Unit - Move Plasma[(Integer A)] instantly to ((Position of Plasma[(Integer A)]) offset by 50.00 towards Angle degrees), facing Default building facing degrees
          • Set Angle = (Angle + 10.00)


Btw.. I suck moving units so the plasma may look jerky
 

Whoareyou.

New Member
Reaction score
24
Lol, you could ask in The Spell Request Thread #2. But also remember to explain what spell it is. As its the forum rules [Not all play DotA]
 

0WN3D

New Member
Reaction score
15
Im back ^^ I left the previous incomplete as i jus work up in the morning....
Okay... back to the triggers the
Trigger:
  • Untitled Trigger 001
    • Events
      • Time - Every 0.05 seconds of game time
    • Conditions
    • Actions
      • For each (Integer A) from 1 to 36, do (Actions)
    • Loop - Actions
    • Unit Group - Pick every unit in (Units within 200.00 of (Position of (Plasma[Interger A]))) matching (((Matching unit) is in PlasmaGroup) Equal to False)) and do (Actions)
      • Loop - Actions
        • Unit - Cause Plasma to damage (Picked unit), dealing 50.00 damage of attack type Spells and damage type Normal
        • Unit Group - Add (Picked unit) to Plasma
 

Ayanami

칼리
Reaction score
288
OWN3D's method may work, but not MUI. If you want it MUI, you'd need to use Hashtables.
 

TheAkiraxD

New Member
Reaction score
0
It did not work. :banghead:
The dummy's not moving :nuts:

See how I did:
This trigger is the same as Plasma Move
trigger.png


Around the pink square is what I think is wrong.:thdown:
 

DioD

New Member
Reaction score
57
it wont work cos code contains logical errors, you must fix them before use.

created dummy stored inside invalid array slot.
 

0WN3D

New Member
Reaction score
15
woops.... minor error forgot to give u the destroying code...
Untitled Trigger 001
Trigger:
  • Events
    • Unit - A unit Starts the effect of an ability
    • Conditions
    • (Ability being cast) Equal to Plasma Actions
    • Set Interger = 0
    • For each (Integer A) from 1 to 36, do (Actions)
    • Loop - Actions
    • Unit - Create 1 Plasma for (Owner of (Casting unit)) at (Position of (Casting unit)) facing Default building facing degrees
    • Set Plasma[(Interger + 1)] = (Last created unit)
    • Trigger - Turn on Plasma Move <gen>
    • Wait 5.00 seconds
    • Trigger - Turn off Plasma Move <gen>
    • Trigger - Turn on Plasma Move Back <gen>
    • Wait 5.00 seconds
    • Trigger - Turn off Plasma Move Back <gen>

Add this line in at the very bottom

Trigger:
  • For each (Integer A) from 1 to 36, do (Actions)
    • Loop - Actions
      • Unit - Remove Plasma[(Integer A)] from the game


Also u can change remove plasma to kill plasma if you want the death animation of the plasma to show.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top