Point Variable always in middle of the map

Jolly chap*

New Member
Reaction score
34
I'm having a problem with a spell I'm trying to make.

Trigger:
  • Thunder Fall
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Thunder Fall
    • Actions
      • Wait 0.75 seconds
      • Set Temp_Location = (Target point of ability being cast)
      • Set TempGroup = (Units within 350.00 of Temp_Location matching ((((Matching unit) belongs to an enemy of (Owner of (Casting unit))) Equal to True) and (((Matching unit) is alive) Equal to True)))
      • Unit Group - Pick every unit in TempGroup and do (Actions)
        • Loop - Actions
          • Unit - Cause (Casting unit) to damage (Picked unit), dealing (75.00 x (Real((Level of Thunder Fall for (Triggering unit))))) damage of attack type Chaos and damage type Universal
          • Special Effect - Create a special effect attached to the origin of (Picked unit) using Abilities\Weapons\Bolt\BoltImpact.mdl
          • Special Effect - Destroy (Last created special effect)
      • Custom script: call RemoveLocation(udg_Temp_Location)
      • Custom script: call DestroyGroup(udg_TempGroup)


Thunder Fall is based on an edited Blizzard that lasts one wave. When the "shards" drop down on the ground, it's supposed to damage the enemies around that location, dealing pure damage. But, it always affects enemies who are in the exact center of the map, not around the target point of ability being cast (Temp_Location), which is very unusual.
 

nabbig2

New Member
Reaction score
43
That's strange, it should work. Try removing the wait and see if anything changes.
 

saw792

Is known to say things. That is all.
Reaction score
280
Target Point of Ability Being Cast is lost after a wait. Set the variable before the wait or skip the wait entirely.
 
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