| 08-24-2004, 08:33 PM | #1 |
Is there a way to make an ability, for example: Grow Wheat, with an effect that will creat an item called Wheat. I've seen it done in WoW Reborn with Herbalism. Can somone help me with this. I suspect its most likely made with triggers. |
| 08-25-2004, 09:31 AM | #2 |
It's actually sort of easy. One way is to make an ability and remove it's effects in the object editor. Call that, say, "Grow wheat". In the trigger editor, make a new trigger with the event "Unit finishes casting a spell" and condition "Spell being casted equal to Grow wheat". Use the action "Hero - Create (item of your choice, in this case wheat) and give it to hero (hero of your choice)". That should do it. EDIT: Instead of "hero of your choice" put "triggering unit" to give the item to the unit casting the spell. |
| 08-25-2004, 04:22 PM | #3 |
Thanks, thats really useful. |
| 08-25-2004, 04:42 PM | #4 | |
Quote:
That'd be "Generic unit". |
| 08-28-2004, 03:24 AM | #5 |
im not sure but if u look back in u can make a building with no collision size basicly and then put it in spellbook so it will summon like a ud building or do it his way just make model file be wheat =p |
| 08-28-2004, 04:05 AM | #6 | |
Quote:
im confused at to what the hell u talkin about |
| 11-14-2004, 05:53 PM | #7 | |
Guest | Quote:
I cant get my stupid grow trigger to work! AHHH |
