HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Item Detection?

06-15-2004, 06:14 PM#1
Canadian Marmot
I have searched this site for a while now and I can't seam to find a topic on it...
Anways, what I am looking for is:

unit enters Region X, if he has Item Z, then move unit to Region A

I just can't seam to figure this out... o_O
06-15-2004, 08:03 PM#2
vin_gafsel
I opened up one of my maps to see how to do it.... unit enters regoin x.... then use a boolean comparison triggering unit has an item of type b equal to true (you can also use and to use multiple items) ... move unit to region z
06-16-2004, 09:22 PM#3
Canadian Marmot
Yes I tested it and it went great...
Though is it possible to add a Item directly into Hero's Invintory?
The whole idea was:

unit enters Region X, if he has Item Z, then move unit to Region A
then
unit enters Region A, Text Message ..., place Item B in invintory

sorta as if the unit found something when he got moved...

---
I used TheJ89's Triggering Guide, funny enough, the action is under heros.
Hero - Give Item To Hero
Move an item that already is on the map to a hero's inventory.
&
Hero - Create Item For Hero
Makes an item in the hero's inventory. If there is no space, it will be created besides him.
Thanks LunaSeer!
06-17-2004, 02:53 PM#4
LunaSeer
Quote:
Originally Posted by Canadian Marmot
Yes I tested it and it went great...
Though is it possible to add a Item directly into Hero's Invintory?
The whole idea was:

unit enters Region X, if he has Item Z, then move unit to Region A
then
unit enters Region A, Text Message ..., place Item B in invintory

sorta as if the unit found something when he got moved...

create item for hero and remove the item on ground(if there is one)?

forgot if there was a move item action or give item to hero action.

look more throughly through all the actions and functions. the boolean functions are often missed.