| 12-14-2003, 05:23 PM | #1 |
Ok Here's the deal... I need help with this trigger:I take an empty vial to the fountain, and it is replaced by a full vial. until there its ok. What happens is is that It wont work unless the vial is on slot 1. Can someone tell me the trigger I should use to make the vial be replaced no matter in which slot it is? |
| 12-14-2003, 07:38 PM | #2 |
Add a " wait 0.00 seconds " after you remove the first item and before you create the other one |
| 12-14-2003, 08:01 PM | #3 |
you can use a for loop to determin what slot the item is in and here is the for loop code Code:
for each (iteger 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 carried by (Trigger unit) in slot (integer A) Equal to Empty Vial
Then - Actions
Item- Remove (item carried by (Trigering Unit) in slot (integer A))
Hero-Create Full Vial and give it to (Triggering Unit)
Else - Actions
(endif)
(endLoop)Thats how I would do it. I hope that helps you Neo_Genesis |
| 12-14-2003, 08:05 PM | #4 | |
Quote:
|
