Help Me !

Arash5

New Member
Reaction score
0
Hi i wanna to create a spell that creates a circle of power then if someone enters the circle of power he will healed his 100% of health but If i Enter Circle of power it doesn't heals me
3256663321183358.jpg

5321928025283518.jpg

I Have 2 Questions
1- Why It Doesn't Heal , What Should I Do ?!
2- How Can I Do Something That It Doesn't Heals The Caster ?




Thank,you
 

skyblader

You're living only because it's illegal killing.
Reaction score
159
First, you gotta check the region size. Is it big enough? For the second question, you just have to add a condition, triggering unit is whatever unit = false or etc. Depends on whether you need it MUI or not.(Meaning do you need it for many units casting it at the same time.)

Your triggers leak too, meaning the memory won't be removed and will lag if there is too much memory leak. To clear them up do this instead.

Set TempPointVar = Position of triggering unit
Create unit at TempPoint
custom script: call RemoveLocation(udg_TempPoint)

Instead of using entering unit/casting unit, use triggering unit. I don't think there is any or much difference though.

Hope I helped :)

Edit: Ah, and one more thing. You don't have to take a screenshot of it, instead you can right click on the trigger picture, above the events, beside the name of the trigger, and then click copy as text. Use the [noparse]
Trigger:
[/noparse] tags and paste in between. Or you can also click this
wc3tag.gif
which is above together with the other buttons for the post.
 

skyblader

You're living only because it's illegal killing.
Reaction score
159
Maybe.. you can try using when units get in range of the circle power, then heal them. Can you please upload your map?
 

Arash5

New Member
Reaction score
0
ofcurse but Its Like That The Region Dont Moves And If I do What You say i Cant Do So That The Caster Dont Be Healed Here Is My map It Name is D
 

skyblader

You're living only because it's illegal killing.
Reaction score
159
Lol. I just opened up the action "Region - move" and I saw this.
"This has no effect unless the specified region is a VARIABLE"
Tried setting it to a variable but it didn't work. Anyway I did this instead. It doesn't work for many units though.

Trigger:
  • Spell Cast
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Healing Circle
    • Actions
      • Set TempPoint = (Target point of ability being cast)
      • Unit - Move Circle of Power 0002 <gen> instantly to TempPoint
      • Unit Group - Add (Triggering unit) to UnitGroupVar
      • Custom script: call RemoveLocation(udg_TempPoint)


Trigger:
  • Heal
    • Events
      • Unit - A unit comes within 32.00 of Circle of Power 0002 <gen>
    • Conditions
      • ((Triggering unit) is in UnitGroupVar) Equal to False
    • Actions
      • Unit - Set life of (Triggering unit) to 100.00%
 
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