HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Items from Corpses

06-29-2006, 01:07 PM#1
ViciousBunny
I am VERY new to triggers and I am having trouble making a spell that a campfire casts that converts corpses into an item called "Tasty Snacks" this is what i got so far:
________________________________________________________________
Events
Unit - Campfire 0005 <gen> Starts the effect of an ability
Conditions
(Ability being cast) Equal to Tasty Snacks
Actions
If (Tasty Snacks Equal to Animate Dead) then do (Item - Create Roasted Body at (Target point of ability being cast)) else do (Do nothing)
Item - Create Roasted Body at (Target point of ability being cast)
06-29-2006, 01:15 PM#2
harshateja
what you'll want to do is use the pick every unit function. I have to go talk to my professor (yes, I actually get to talk to him personally for once instead of his assistant...) I'll edit my post with the exact code when I get back.
06-29-2006, 01:17 PM#3
Captain Griffen
Use an ability based off of raise skeletons, and then use the location of the summoned unit.