| 07-31-2004, 01:33 AM | #1 |
i want t make that when a hero enters a region while carrying a specific item a quest will be marked as completed... i dont know how to make the condition so that hes got to carry the specific item.. plz help!! |
| 07-31-2004, 01:50 AM | #2 | |
Quote:
Here's a basic way of doing it. You'll have to edit it to fit your liking. Code:
Entering
Events
Unit - A unit enters (Quest Region1)
Conditions
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 carried by (Entering unit) in slot (Integer A))) Equal to Wirts Leg
Then - Actions
Quest - Mark (Quest 1) as Completed
Else - Actions
Do nothingFor the condition you needed, use the Item-Type Comparison. |
