Cross Effect?!

RockmanderZ

New Member
Reaction score
0
Hmm, I have a question, oh well a request I think, How do I create a Cross by using a dummy ability, it damages an oppenent in maybe 650AoE but the effect is just a Cross.. I dont know how to work on it's degrees, Integer Loops,...:(
 

Tinki3

Special Member
Reaction score
418
Use something like this:
Code:
Example
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to Cross
    Actions
        Set Offset_Value = 0.00
        Set Caster_Location = (Position of (Triggering unit))
        For each (Integer A) from 1 to 5, do (Actions)
            Loop - Actions
                Set Offset_Value = (Offset_Value + 125.00)
                Set Caster_Location_Offset[1] = (Caster_Location offset by Offset_Value towards 45.00 degrees)
                Set Caster_Location_Offset[2] = (Caster_Location offset by Offset_Value towards 135.00 degrees)
                Set Caster_Location_Offset[3] = (Caster_Location offset by Offset_Value towards 315.00 degrees)
                Set Caster_Location_Offset[4] = (Caster_Location offset by Offset_Value towards 225.00 degrees)
                Unit - Create 1 Cross Dummy for (Owner of (Triggering unit)) at Caster_Location_Offset[1] facing Default building facing degrees
                Unit - Create 1 Cross Dummy for (Owner of (Triggering unit)) at Caster_Location_Offset[2] facing Default building facing degrees
                Unit - Create 1 Cross Dummy for (Owner of (Triggering unit)) at Caster_Location_Offset[3] facing Default building facing degrees
                Unit - Create 1 Cross Dummy for (Owner of (Triggering unit)) at Caster_Location_Offset[4] facing Default building facing degrees
                Custom script:   call RemoveLocation(udg_Caster_Location_Offset[1])
                Custom script:   call RemoveLocation(udg_Caster_Location_Offset[2])
                Custom script:   call RemoveLocation(udg_Caster_Location_Offset[3])
                Custom script:   call RemoveLocation(udg_Caster_Location_Offset[4])
        Custom script:   call RemoveLocation(udg_Caster_Location)
And as for the damaging, you could just create a dummy unit that has a modified Immolation, and order it to activate it.

Then remove the dummy after a few seconds.
 
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