• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

A quick and easy help needed :)

Status
Not open for further replies.
Level 12
Joined
Mar 16, 2006
Messages
992
Can someone tell me how the heck can i create a trigger to give an item to a hero when he uses a spell?

i tried everything i know and i use the ability and still nothing ... the hero casts the ability but the item isn't given to him ...

help plz ;)

  • Events
  • A unit casts a spell
  • Conditions
  • Unit is a hero
  • Spell being cast is <name>
  • Actions
  • Give item to hero
 
Level 8
Joined
Aug 11, 2007
Messages
272
If it doesn't do:
EVENT - Unit - unit starts the effect of an ability
CONDITION - Casting unit is a hero
- Ability beign cast = your crazy ability

ACTION - Item - create an Item[now thats a good item, right?] at unit position - position of casting unit
- Hero - Give last created item to hero( I don't think the hero worths this item.)
 
Status
Not open for further replies.
Top