HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Triggering Help Please. Item Fuses

08-20-2005, 02:11 AM#1
hellzfire74
Hi I was just working on some items and i need a trigger that can fuse 4 items into 1 item and 3 items into 1 item. I asked a friend and he made a fuse that works with 2 items, but whenever he tried 3 or 4 items it didn't work out for him . Could you post here the trigger that would allow me to fuse 3-4 items together to create 1 better item?. If you could thanks alot! and wherever the item is supposed to be in the trigger just make it an (X).
Thanks!
~Hellzfire74

Edit :Please reply by Monday please becuase i was supposed to be done items today, (Almost done map, YAY)[i]
08-20-2005, 04:15 AM#2
MrApples
Just a guess, but

Quote:
Event
A Units Casts a Ability

Conditions
Abilty being cast=Combine

Actions
If
Casting Unit has Item Piece1(X)
Casting Unit has Item Piece2(X)
Casting Unit has Item Piece3(X)

Then
Drop Item Piece1(X) from Casting Unit
Destroy last Dropped Item
Drop Item Piece2(X) from Casting Unit
Destroy last Dropped Item
Drop Item Piece3(X) from Casting Unit
Destroy last Dropped Item
Create Combined Item(X) and give it to Casting Unit

Else
Do Nothing

If
(Continue for each Item Combinations)
08-20-2005, 05:10 PM#3
Vexorian
How do you want it to work, automatically when last item is acquired or with a forge ability?
08-21-2005, 02:34 PM#4
hellzfire74
I want it to work when you acquire the items, not as an ablility. So lets say you picked up Soul Gauntlet and Soul wand and Soul Sword then they all turn into a Soul Amulet (or whatever).
08-21-2005, 05:18 PM#5
MrApples
Quote:
Event
A Units Aquires a Item

Conditions
(none)

Actions
If
Hero Manipulating Item has Item Piece1(X)
Hero Manipulating Item has Item Piece2(X)
Hero Manipulating Item has Item Piece3(X)

Then
Drop Item Piece1(X) from Hero Manipulating Item
Destroy last Dropped Item
Drop Item Piece2(X) from Hero Manipulating Item
Destroy last Dropped Item
Drop Item Piece3(X) from Hero Manipulating Item
Destroy last Dropped Item
Create Combined Item(X) and give it to Hero Manipulating Item

Else
Do Nothing

If
(Continue for each Item Combinations)
08-21-2005, 11:39 PM#6
Vexorian
That doesn't seem to have any sense.

Shouldn't you use Drop - Item owned by hero of type (Piece1(x)

And has item of type Piece1(X) in the condition?
08-22-2005, 02:22 PM#7
hellzfire74
Quote:
Originally Posted by Lord Vexorian
That doesn't seem to have any sense.

Shouldn't you use Drop - Item owned by hero of type (Piece1(x)

And has item of type Piece1(X) in the condition?
b Im Confused, so will what Mr.Apples said work? or not?
08-22-2005, 02:31 PM#8
Thunder_Eye
Well, If youre gonna have more then 1 Piece1(X) etc. It wont work.
08-22-2005, 07:46 PM#9
MrApples
Yeah I was just thinking of multiples.

If you don't need 2 of one item type I think it will work.
08-23-2005, 03:19 PM#10
uberfoop
yah, but you could just keep track of how many of the double-item the hero has as a real/integer with 1 extra trigger...