HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Grow Wheat

08-24-2004, 08:33 PM#1
warbucket
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
Morre
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
warbucket
Thanks, thats really useful.
08-25-2004, 04:42 PM#4
Morre
Quote:
Originally Posted by warbucket
Thanks, thats really useful. Just one thing, it gives me an option to do Player Owned Unit, Specific Unit and such but I just want any peasant to be able to use this ability.

That'd be "Generic unit".
08-28-2004, 03:24 AM#5
Master-O-Chaos
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
Tiki
Quote:
Originally Posted by Master-O-Chaos
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

im confused at to what the hell u talkin about
11-14-2004, 05:53 PM#7
Guest
Quote:
Originally Posted by Tiki
im confused at to what the hell u talkin about

I cant get my stupid grow trigger to work!
AHHH