HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Quick Trigger Help Please!

08-19-2003, 01:41 AM#1
Dark_Army
I am doing a quest, and I want to create a condition that when a hero walks over a region and the hero has a certain item in any slot then the quest will be completeled. So something like:

(Item carried by (Triggering unit) in slot (Random integer number between 1 and 10)) Equal to (a certain item)

I can't seem to figure out how to do that, just so the trigger activates if a player has a certain item in his/her inventory.

Please Help!



Thanks in advance,

Dark_Army
08-19-2003, 01:44 AM#2
Dark_Army
Will this work?:

((Triggering unit) has an item of type Gem of The Underworld) Equal to True
08-19-2003, 05:50 AM#3
Draco
Yes it will. Use the second one. For the event, you can use unit enters a region btw. And use entering unit, not triggering. (Triggering may work, but entering is more specific.

:D
08-19-2003, 05:58 AM#4
GuidingSpirit
I cannot tell you if the trigger in your second post will work but if not you can try this one:

Event - Unit enters region

Condition - If {Entering Unit} has an Item of Type Questitem in Inventory slot 1
OR
If {Entering Unit} has an Item of Type Questitem in Inventory slot 2
OR
... One If for every Inventoryslot (total of 6)

Action - Your actions
08-19-2003, 06:10 AM#5
Draco
If you use the one in his second post, it checks all item slots which is much better/easier.
08-19-2003, 06:19 AM#6
GuidingSpirit
I could not test his second trigger so I was not sure if it would work. That is why I wrote another trigger that I am sure it would work.

You are right the trigger I wrote is longer then his one and it will do the same.