Spell Trigger Wont Work

megaflame566

New Member
Reaction score
4
Everything works fine untill it gets to Order Dummy to Human Dragonhawk Rider - Aerial shackles any help :/

Trigger:
  • Bite
    • Events
      • Unit - A unit Begins channeling an ability
    • Conditions
      • (Ability being cast) Equal to Life Drain
    • Actions
      • Set Target = (Target unit of ability being cast)
      • Unit - Create 1 Dummy for (Triggering player) at (Position of (Triggering unit)) facing Default building facing (270.0) degrees
      • Set Dummy = (Last created unit)
      • Unit - Add Aerial Shackles to Dummy
      • Unit - Order Dummy to Human Dragonhawk Rider - Aerial shackles (Target unit of ability being cast)
      • Wait 5.00 seconds
      • Unit - Remove (Last created unit) from the game
 

Accname

2D-Graphics enthusiast
Reaction score
1,462
first thing to check is the targets allowed, mana cost, range, etc of your aerial shackle spell in object editor.

next to mention is that your trigger is leaking and will most probably not remove the dummy unit.

instead of "Unit - Remove (Last Created Unit) from Game" you should do "Unit - Add 5.00 seconds expiration timer to (Last Created Unit)" this way you wont need the wait.

and to clean the leaks you would need a temporary point variable set to the position of the triggering unit to spawn your dummy at. if you dont know what i am talking about use the search function for "leaks" or "memory leaks".
 

megaflame566

New Member
Reaction score
4
It was the mana haha and about expiration timer and remove point i did that right after i posted haha but can you help me with one more thing im trying to make it so if the hero stops channeling the spell so does the dummy this is what i tried so far

Trigger:
  • Untitled Trigger 001
    • Events
      • Unit - A unit Stops casting an ability
    • Conditions
      • (Ability being cast) Equal to Life Drain
    • Actions
      • Trigger - Turn off Bite <gen>
 

Accname

2D-Graphics enthusiast
Reaction score
1,462
2 possibilitys:

Easy one:
(if the spell doesnt need to be MUI but only MPI)
save the dummy which is casting the spell in a unit variable for each player, if the hero stops casting remove the dummy unit.

More Advanced one:
(Makes it fully MUI)
give the set rally point ability, raw code 'Aral' to your dummy unit and make the dummy unit set its rally point to the hero once its created. now when the hero stops casting pick all units which rally point matches the hero and remove them if they are of the dummy unit type.

i hope you understood.
 

megaflame566

New Member
Reaction score
4
I just went with the easy trigger haha thanks but i have one more question heh :) im trying to make a breath of frost spell and i downloaded a missile for it but it stays on the ground even if the dummy is in the air
 

hgkjfhfdsj

Active Member
Reaction score
55
i dont think 'normal' sfx are adjusted to the casting unit's height. you will need to trigger the projectile instead..
 

mapguy

New Member
Reaction score
46
MAN!

seryous!

read some tutorials!

you triger is full of leaks and will crash the game!

and if ur trying to make an AOS as your first map... LOL!
don't try it, because in the future U'll have soo much bugs to correct that it's easyer to start a new map.

try doing symple maps fastto finish in the beggining. when u become a good maper than u try and AOS, RTS or tower defense...
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • WildTurkey WildTurkey:
    is there a stephen green in the house?
    +1
  • The Helper The Helper:
    What is up WildTurkey?
  • The Helper The Helper:
    Looks like Google fixed whatever mistake that made the recipes on the site go crazy and we are no longer trending towards a recipe site lol - I don't care though because it motivated me to spend alot of time on the site improving it and at least now the content people are looking at is not stupid and embarrassing like it was when I first got back into this like 5 years ago.
  • The Helper The Helper:
    Plus - I have a pretty bad ass recipe collection now! That section of the site is 10 thousand times better than it was before
  • The Helper The Helper:
    We now have a web designer at my job. A legit talented professional! I am going to get him to redesign the site theme. It is time.
  • Varine Varine:
    I got one more day of community service and then I'm free from this nonsense! I polished a cop car today for a funeral or something I guess
  • Varine Varine:
    They also were digging threw old shit at the sheriff's office and I tried to get them to give me the old electronic stuff, but they said no. They can't give it to people because they might use it to impersonate a cop or break into their network or some shit? idk but it was a shame to see them take a whole bunch of radios and shit to get shredded and landfilled
  • The Helper The Helper:
    whatever at least you are free
  • Monovertex Monovertex:
    How are you all? :D
    +1
  • Ghan Ghan:
    Howdy
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?

      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