• 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.
  • It's time for the first HD Modeling Contest of 2025. Join the theme discussion for Hive's HD Modeling Contest #7! Click here to post your idea!

[Solved] Trouble with Item-Type Hashtable (Remove item from Marketplace with it's ItemID)

Status
Not open for further replies.

Uncle

Warcraft Moderator
Level 71
Joined
Aug 10, 2018
Messages
7,537
EDIT: Got it all working. Accidentally deleted most of the post but here's what I was having issues with. Didn't know how to remove/add Items to and from a Marketplace using Item Integers from my Hashtable. Figured it out:

  • Custom script: call RemoveItemFromStockBJ( LoadInteger(udg_ItemHashtable, udg_key1, udg_key2), udg_tempUnit )
  • Custom script: call AddItemToStockBJ( LoadInteger(udg_ItemHashtable, udg_key1, udg_key2), udg_tempUnit, 1, 1 )
 
Last edited:
Status
Not open for further replies.
Top