• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Combine Item Charges, with 6 Slot Full

Status
Not open for further replies.
Level 2
Joined
Dec 25, 2008
Messages
24
Hi All!

Can anyone make a trigger (if is GUI, BEST) for combine the charges of the items, but i want one like dota trigger, there if you have 6 slot, one with healing potion for ex, and you pick up another healing potion from the ground this combines...

Why dont show the error tip with "inventory is full"?, well, Thanks !

EDIT: Oh, and how can i put words with light black in items?, just like items in dota..?
 
Level 9
Joined
May 30, 2008
Messages
430
For the first i think it's posible in GUI but i don't wonna make it (i have alot of work now) for the second search in the site there are like 2-3 things that can color the words (i won't tell u where they are, you will have to explore the site if you wonna find them)
 
Level 5
Joined
Jul 4, 2007
Messages
166
Hi All!

Can anyone make a trigger (if is GUI, BEST) for combine the charges of the items, but i want one like dota trigger, there if you have 6 slot, one with healing potion for ex, and you pick up another healing potion from the ground this combines...

Why dont show the error tip with "inventory is full"?, well, Thanks !

EDIT: Oh, and how can i put words with light black in items?, just like items in dota..?

  • Events
    • Unit - A unit owned by Player 1 (Red) Acquires an item
  • Conditions
    • Or - Any condition is true
      • (Item-type of (Last created item)) Equal to ITEM NAME HERE.
      • ***Repeat for any other items you want stackable***
  • Actions
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • ((Hero manipulating item) has an item of type (Item Type of (Item Being Manipulated))) Equal to True
      • Then - Actions
        • Item - Set charges remaining in (Item carried by (Hero manipulating item) of type (Item Type of (Item Being Manipulated))) to ((Charges remaining in (Item carried by (Hero manipulating item) of type (Item Type of (Item Being Manipulated))) + 1)
        • Item - Remove (Item being Manipulated)
    • Else - Actions
      • Do Nothing
This is what you want for the basic trigger. All you have to do add an additional trigger (I don't have time to type it out right now) that tells it to drop an item if ordered to pick the new one up and in close proximity.
 
Level 2
Joined
Dec 25, 2008
Messages
24
  • Events
    • Unit - A unit owned by Player 1 (Red) Acquires an item
  • Conditions
    • Or - Any condition is true
      • (Item-type of (Last created item)) Equal to ITEM NAME HERE.
      • ***Repeat for any other items you want stackable***
  • Actions
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • ((Hero manipulating item) has an item of type (Item Type of (Item Being Manipulated))) Equal to True
      • Then - Actions
        • Item - Set charges remaining in (Item carried by (Hero manipulating item) of type (Item Type of (Item Being Manipulated))) to ((Charges remaining in (Item carried by (Hero manipulating item) of type (Item Type of (Item Being Manipulated))) + 1)
        • Item - Remove (Item being Manipulated)
    • Else - Actions
      • Do Nothing
This is what you want for the basic trigger. All you have to do add an additional trigger (I don't have time to type it out right now) that tells it to drop an item if ordered to pick the new one up and in close proximity.

Yeah, i have the basic trigger for combine charges, but i want one like Dota, with inventory full you can either combine them.

About the color...i know how to change color, but how to left a line in white and then write, a space, when i put that in the game it just clean all next the space.

P.D: It doesnt work for me...when i pick up an item of the list, it just is remove...
 
Last edited:
Level 2
Joined
Dec 25, 2008
Messages
24
So, nobody can do a trigger for combine items with full inventory?
 
Level 12
Joined
Mar 16, 2006
Messages
992
So you're using automatically used items triggering it so that visually you don't notice a difference?

How do you deal with items that are dropped and have charges that are picked up?
 
Status
Not open for further replies.
Top