| 09-13-2004, 02:53 AM | #1 |
i need to make when you get two of of a certian item that it takes those items away and gives you a different one help please |
| 09-13-2004, 03:25 AM | #2 |
Here is a simple thing i whipped up, should do what you want. Events Unit - A unit Acquires an item Conditions ((Triggering unit) is A Hero) Equal to True Actions For each (Integer A) from 1 to 6, do (Actions) Loop - Actions If (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions (Item-type of (Item being manipulated)) Equal to (Item-type of (Item carried by (Hero manipulating item) in slot (Integer A))) (Item being manipulated) Not equal to (Item carried by (Hero manipulating item) in slot (Integer A)) Then - Actions If (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions (Item-type of (Item being manipulated)) Equal to Cheese Then - Actions Item - Remove (Item carried by (Hero manipulating item) in slot (Integer A)) Item - Remove (Item being manipulated) Hero - Create Wirt's Leg and give it to (Hero manipulating item) Else - Actions Do nothing Skip remaining actions Else - Actions Do nothing |
| 09-13-2004, 01:16 PM | #3 |
theres been a lot of questions on item merging and classifying lately. i could write a tutorial if i had the time ![]() |
