HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Set items

08-10-2004, 08:43 PM#1
Jippiex2k
Ok.. i am making a map with Set items but i dont know how to make a event that knows that the hero has the items of the set. so what is the event/condition or whatever you need to do this? Thx to the one who help me!
08-10-2004, 10:35 PM#2
dragnstitch
Code:
Untitled Trigger 001
    Events
        Unit - A unit owned by Player 1 (Red) Acquires an item
    Conditions
        ((Hero manipulating item) has an item of type Orb of Frost) Equal to True
                ((Hero manipulating item) has an item of type Orb of Fire) Equal to True
                ((Hero manipulating item) has an item of type Orb of Lightning) Equal to True
    Actions
                Item - Remove (Item carried by (Hero manipulating item) of type Orb of Frost)
                Item - Remove (Item carried by (Hero manipulating item) of type Orb of Fire)
                Item - Remove (Item carried by (Hero manipulating item) of type Orb of Lightning)
                Hero - Set Agility of(Hero manipulating item) to 680, (Permanent or Temporary:WESTRING_PERMANENTOPTION_PERM)

something like that? the action i just made up basicly

if hero gets some item and the hero has all 3 of them item it will remove them and give the hero 680 agil permantlly..

just a shot in teh dark.. but i used something simlar for picking up items and stacking
08-11-2004, 09:51 AM#3
Jippiex2k
THX ^_^ ^_^ Edit: I cant find That condition what kind of condition is it? Boolean comparison abillity comparison buff comparison etc..... WICH ONE IS IT??
08-11-2004, 05:24 PM#4
Mythmon
boolean, notice the part where it says blah blah is equal to true? well true/false is boolean territory, so next time you'll know
08-11-2004, 06:41 PM#5
dragnstitch
yea took me awhile to find that one myself.. i knew it was there just forgot and kept missing boolean lol

that basic code btw can be edited in like millions of ways for you to make the set.. like morphing it into 1 item and such. or just giving a stat bonus like diablo
08-12-2004, 09:50 AM#6
Jippiex2k
Thanks :D