Nova Wave

HydraRancher

Truth begins in lies
Reaction score
197
Trigger:
  • Nova Wave
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Nova Wave
    • Actions
      • Unit - Pause (Triggering unit)
      • For each (Integer A) from 1 to (2 x (3 + (Level of Nova Wave for (Triggering unit)))), do (Actions)
        • Loop - Actions
          • Set Temp_Point = (Position of (Triggering unit))
          • Set Temp_Point_2 = (Temp_Point offset by (100.00 x (Real((Integer A)))) towards (Facing of (Triggering unit)) degrees)
          • Unit - Create 1 Dummy for (Owner of (Triggering unit)) at Temp_Point_2 facing Default building facing degrees
          • Unit - Set level of Frost Nova for (Last created unit) to (Level of Nova Wave for (Triggering unit))
          • Unit - Order (Last created unit) to Undead Lich - Frost Nova (Last created unit)
          • Custom script: call RemoveLocation (udg_Temp_Point_2)
          • Custom script: call RemoveLocation (udg_Temp_Point)
          • Wait 0.10 seconds
      • Unit - Unpause (Triggering unit)


Here is my home-made spell, the only problem is, I dont want to pause the unit, but if I DONT pause it, the unit can change the way its facing and re-direct the missile, how do I make it not pause the unit, but be MUI without using Custom Value.

EDIT: New problem, people attack my footman dummy, can u fix this?
 

Ayanami

칼리
Reaction score
288
I really discourage you to use waits in loops. Anyways, maybe this will work.

Trigger:
  • Events
    • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Nova Wave
    • Actions
      • Set RealAngle = (Facing of (Triggering unit))
      • For each (Integer A) from 1 to (2 x (3 + (Level of Nova Wave for (Triggering unit)))), do (Actions)
        • Loop - Actions
          • Set Temp_Point = (Position of (Triggering unit))
          • Set Temp_Point_2 = (Temp_Point offset by (100.00 x (Real((Integer A)))) towards RealAngle
          • Unit - Create 1 Dummy for (Owner of (Triggering unit)) at Temp_Point_2 facing Default building facing degrees
          • Unit - Set level of Frost Nova for (Last created unit) to (Level of Nova Wave for (Triggering unit))
          • Unit - Order (Last created unit) to Undead Lich - Frost Nova (Last created unit)
          • Custom script: call RemoveLocation (udg_Temp_Point_2)
          • Custom script: call RemoveLocation (udg_Temp_Point)
          • Wait 0.10 seconds


Glenphir
 

crazyfanatic

New Member
Reaction score
20
make RealAngle a real with array and set the array equal to the user player number. BTW here you need MUI only if you think 2 users are going to cast it at the exact 1/100 of the second, MUI is used mainly for continuously working triggers.
 

HydraRancher

Truth begins in lies
Reaction score
197
make RealAngle a real with array and set the array equal to the user player number.

I am not stupid. :)

That would be MPI, I will only do that if I cant do anything else.

BTW here you need MUI only if you think 2 users are going to cast it at the exact 1/100 of the second, MUI is used mainly for continuously working triggers.

Not really.
 

Ayanami

칼리
Reaction score
288
Sadly that trigger is not MUI.

Have you got a better Idea than using waits in loops?

Yes I do have a better idea, although it might be a bit lengthier than your current trigger. I'll try making the spell ASAP. But note, it uses Custom Value.

Edit

Uploaded the map.
 

HydraRancher

Truth begins in lies
Reaction score
197
Yes I do have a better idea, although it might be a bit lengthier than your current trigger. I'll try making the spell ASAP. But note, it uses Custom Value.

Edit

Uploaded the map.

I can very easily use custom value, but I dont want to, I want to save it for a more important use.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top