HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

New trigger question

07-18-2003, 08:04 PM#1
Fragmentation
I need to know of a way to activate an action only when the unit triggering the action has said item

for example

something like

Event - Unit enters "blah" region

Condition - Unit has "berserker" item

Action - Open Door 1


but cant find any condition with a hero having an item
07-18-2003, 08:09 PM#2
Zoi
Try making a 2nd trigger.
Event: hero acquires item.
Condition: item is of item type (your key)
Action: Set variable (boolean)HeroHasKey equal to true

do the same thing for if he drops the item and set variable to false

now you can do your old trigger:

Event - Unit enters "blah" region

Condition - HeroHasKey equal to true

Action - Open Door 1
07-18-2003, 10:48 PM#3
Fragmentation
forget it, what I wanna do will require to much unneeded work im scrapping that idea