View Single Post
Old 12-27-2006, 12:36 AM   #3 (permalink)
Octopor
I still play games
 
Octopor's Avatar
 
Join Date: Nov 2003
Posts: 1,717
I posted this in another thread involving combining items, hope it helps. (This trigger has been checked and does work.)

Quote:
Originally Posted by Octopor
Events
-Unit - A unit Acquires an item
Conditions
-n/a
Actions
-If (All Conditions are True) then do (Then Actions) else do (Else Actions)
--If - Conditions
---And - All (Conditions) are true
----Conditions
-----((Hero manipulating item) has an item of type item1) Equal to True
-----((Hero manipulating item) has an item of type item2) Equal to True
--Then - Actions
-----Item - Remove (Item carried by (Hero manipulating item) of type item1)
-----Item - Remove (Item carried by (Hero manipulating item) of type item2)
-----Hero - Create item3 and give it to (Hero manipulating item)
-----Special Effect - Create a special effect attached to the overhead of (Hero manipulating item) using Abilities\Spells\Items\AIem\AIemTarget.mdl
--Else - Actions
-----Do nothing

Item 1 and 2 represent the items that you would be combining. Item 3 represents the item that you would get as a result of the combination.
Just another condition for the third item and another action to remove that item and you're done.
__________________
Quote:
My perception crit, now I can see why kids love Cinnamon Toast Crunch cereal.
Octopor is online now   Reply With Quote