HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

only 1 item at time! HELP

01-11-2005, 07:20 PM#1
red_eyes
hello! me need elp with trigger
im my map got items e.g armor and i want to only be able to have 1 at a time
could som1 plz tell me trigger
thx
^_^
01-11-2005, 08:30 PM#2
Guest
Quote:
Originally Posted by red_eyes
hello! me need elp with trigger
im my map got items e.g armor and i want to only be able to have 1 at a time
could som1 plz tell me trigger
thx
^_^

Not 100% sure of your situation. If you want the hero to only ever have one of a certain item eg armor +5, there should be a field in the object editor for that item that will allow you to set it as such.

If you want to trigger it, say, you want a hero to only carry one type of armor - eg either a +5 or a +10 item, or whatever, if you search these forums for "item recipe creation" (posted by sorrento) or download it www.envyoflaziness.com, you can get an idea of how to identify items carried in a heroes' inventory slot and remove them as necessary - of course the trigger sorrento posted is not exactly what you need.

If you're still lost, give a shout, I'll see if I can give you a better idea, after I get over my technical problems...and when I can sit with WE in front of me...
01-12-2005, 04:20 AM#3
yuripro84
look here
http://www.wc3campaigns.com/showthread.php?t=69994
lol, u just need 2 look in the repository
01-12-2005, 04:23 AM#4
Guest
Quote:
Originally Posted by yuripro84
look here
http://www.wc3campaigns.com/showthread.php?t=69994
lol, u just need 2 look in the repository


Even better...I tend to forget the repository...mainly cause I like to make my own original triggers with as less help as possible - increases learning I reckon... ^_^