I´m looking for a script to track items. The idea is that the player can select any item on inventory and show it on the game HUD, so he can track it when doing a quest or farming. You can see an example on the next screen of my game 7 Islands:
(http://1.bp.blogspot.com/-OrK_D4tm6ww/T3tMEHW647I/AAAAAAAAB5Q/RHb-zDhCApo/s640/MasterJuliusSecretLab.jpg)
I have no problem to add the item to my HUD but I´m not very familiar with Windows_Selectable so I need help with this. Hope some scripter could help me.
My Item tracker script is working fine but now I need to use it on my Blizz-ABS game (+ Z-Hud). I need to update the HUD each time the player loot an item to refresh the numer of items. I have no idea where Blizz-ABS control the moment when the player loot an item, could some one help me pls?
just create a @local variable with the amount of item and compare it to the actual number of that item
example
def update
if @amount != $game_party.item_number(item_id)
@amount = $game_party.item_number(item_id)
refresh_item
end
end/code]
Quote from: nathmatt on April 04, 2012, 11:27:59 am
just create a @local variable with the amount of item and compare it to the actual number of that item
example
def update
if @amount != $game_party.item_number(item_id)
@amount = $game_party.item_number(item_id)
refresh_item
end
end/code]
I must call this update to refresh the HUD when the player pick/loot the item, isn`t it? (where to call this update in Blizz-ABS is where I´m lost)
add this to the update method in the hud ur using
if @amount != $game_party.item_number(item_id)
@amount = $game_party.item_number(item_id)
refresh_item
end
making sure to change the item id and the
The script is working fine now thanks to nathmatt Blizz-ABS plugin.