A Hard Hard Request

linamus

I r bak!
Reaction score
57
Hello, what am I in need?
I think noone has an advanced loot system.
What do I need is to have a same loot as in WoW - You kill creep, and if you scored the kill, a pop-up with icon comes and lets you choose what to take and what to leave.
I won't do it with dialogs, couse I need to see icons, and proper text over icons when targeted.
Full credits will be given, and the Land of Wonders will thank you






-------------------------
Best Ideas Comes When You're Not Thinking
The Land Of Wonders: http://www.thehelper.net/forums/showthread.php?t=86883
 

Grymlax

Probably not around
Reaction score
138
you could simply create a unit for the owner of the killing unit that looks like a treasure box. this treasure has an inventory with the items that the killed unit had, and then you could just let the units trade with each other like you would with normal units. you could also add an expiration timer to the treasure unit. so it dissapears after a few minutes or so.
 

Grymlax

Probably not around
Reaction score
138
okey then you could create one spell for every item and then add the spells to a treasure unit. and then when he uses the spell you add the item to the hero.
 

konerboy

Run piggy Run!
Reaction score
95
it dosn't have to be advanced. Make a integer varible

Code:
Bear Loot
    Events
        Unit - A unit Dies
    Conditions
        (Unit-type of (Triggering unit)) Equal to Bear
    Actions
        Set bearloot = (Random integer number between 1 and 100)
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                bearloot Less than or equal to 16
            Then - Actions
                Item - Create Crown of Kings +5 at (Position of (Triggering unit))
            Else - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        bearloot Greater than 16
                    Then - Actions
                        Item - Create Bones at (Position of (Triggering unit))
                    Else - Actions


16% chance to drop Crown 84% to drop bones only

___________________

fuck misread

you can use this system

http://www.hiveworkshop.com/resources_new/spells/905/

mixed with that above.
 

trb92

Throwing science at the wall to see what sticks
Reaction score
142
Hello, what am I in need?
I think noone has an advanced loot system.
What do I need is to have a same loot as in WoW - You kill creep, and if you scored the kill, a pop-up with icon comes and lets you choose what to take and what to leave.
I won't do it with dialogs, couse I need to see icons, and proper text over icons when targeted.
Full credits will be given, and the Land of Wonders will thank you

You could try making this from the FSGUI system. It allows for icons to be shown with descriptions over a full screen. It's in JASS though, not sure if that is bad for you or not.

If you want to see a good example of it functioning, check our the HAVOC project in the members area. This is what it uses.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top