• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

[Trigger] Item spell triggering

Status
Not open for further replies.
Level 3
Joined
Jan 13, 2010
Messages
27
I'm in need of help with triggering:

Well, i made a spell thats based on item [Scroll of healing], it basically heals everyone around the hero and himself too.

Spell works fine when i'm playing the hero, but when ai is playing the hero it doesn't use it.

So i made a trigger that would start ai to use the ability:
33911933.png


i've also placed: ''Text - Order String - Use/turn on'' to be thunderclap

I've used pre made trigger that made hero gain the spell, and i'm sure ai hero has it.

Just not sure why isnt ai hero using the ability, can anyone help me?
 
Level 3
Joined
Jan 13, 2010
Messages
27
Axarion said:
You have to order the hero to use the item instead :)


ehm what item?

its spell ability based on item...

or are you telling me it will work if i order ai hero to use item altough he doesn't have it in inventory?
 
Level 3
Joined
Jan 13, 2010
Messages
27
Thanks both, ill make it and test it now, was reading some Jass tutorials -> omg those seem hard to learn. How do you all know what to type rofl =)

+rep for both of ya!

xD
 
Status
Not open for further replies.
Top