help?

laxperson808

New Member
Reaction score
9
So I'm making a spell and everything works 100% fine except the spell doesnt actully work is the dummy units have locust. The action for the trigger is
Trigger:
  • Trigger - Add to fs <gen> the event (Unit - A unit comes within 75.00 of target)

and i guess a unit with locust doesnt count as a unit? any help for fixing?
 

luorax

Invasion in Duskwood
Reaction score
67
Because as I know, some function don't count the units with locust, and don't fires if a unit with the locust abil does it. Maybe you could add the enter region (rect) event to the trigger "fs" to make your spell.
 

laxperson808

New Member
Reaction score
9
yea but that would mean moving the region around.. + if the unit moves itd be wierd having him take damage without being there.... wait im a retard.. nvm..
 

laxperson808

New Member
Reaction score
9
ok.. now its being reallllly stupid... for some reason if the region STARTS on the target it works fine no glitches.. but becuase in a real game the target could be anywhere the region has to move.. and when i move the region to the target the dummy units dont trigger the trigger..
 

luorax

Invasion in Duskwood
Reaction score
67
Yeah, I have problems with the region moves too... Could you post the triggers?
 

laxperson808

New Member
Reaction score
9
Trigger:
  • Spell 2 Copy
    • Events
      • Time - Every 1.50 seconds of game time
    • Conditions
      • Electirc_loop_bool Equal to True
    • Actions
      • Set LoopCount = (LoopCount + 1)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • LoopCount Equal to 2
        • Then - Actions
          • Set Electirc_loop_bool = False
          • Set Temp_Point = (Position of Elec_Target)
          • Region - Center Electric_Region on Temp_Point
          • Custom script: call RemoveLocation (udg_Temp_Point)
          • Wait 0.10 seconds
          • For each (Integer A) from 1 to 60, do (Actions)
            • Loop - Actions
              • Set Temp_Point = (Position of Elec_Target)
              • Unit - Order Electic_Storm_unit[(Integer A)] to Move To Temp_Point
              • Custom script: call RemoveLocation (udg_Temp_Point)
        • Else - Actions

Trigger:
  • SSpell End
    • Events
      • Unit - A unit enters Electic Storm Region <gen>
    • Conditions
      • (Unit-type of (Entering unit)) Equal to Lightning Bolt
    • Actions
      • Unit - Kill (Entering unit)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Electic Storm Region <gen> contains Elec_Target) Equal to True
        • Then - Actions
          • Unit - Cause Elec_caster to damage Elec_Target, dealing 15.00 damage of attack type Spells and damage type Lightning
        • Else - Actions

When i have cinamatic - ping postion of region X it pings the postion of the unit... but..
 

luorax

Invasion in Duskwood
Reaction score
67
Hmm, and what does this spell have to do? Because maybe we can make it without using rects :D
 

laxperson808

New Member
Reaction score
9
basicly.. it summons a spiral of energy circles it around hero (looks cool and i was bored) then sends them into the enemy doing damageXnumber of hits
 

luorax

Invasion in Duskwood
Reaction score
67
You forgot the "Cast" trigger, so I didn't know it exactly :p

Hm, okay. Maybe we can do something with the "Unit comes within XYZ."
 

laxperson808

New Member
Reaction score
9
ugh.. the cast basicly says
a unit casts and ability
ability being cast = name
For loop int 1-60
set tempoint = postion of caster with offset d1 and distance d2
create 1 lighting at temp point
set d1=d1+X
setd2=d2+y
wait 1 second
set loopcheckbool=true

then the swirly thing is just annoying 2 rerite... and ive tried all sorts of fixes with XYZ.. nada..
 
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