• 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.

trigger to check shop items.

Status
Not open for further replies.
Level 3
Joined
Feb 7, 2011
Messages
29
Hello,

I'm making a system to check items available in a shop, is there such a thing?

The main idea is, about creating for example different lumber mills [with shop ability] and if they have 10 lumbers being sold for example, it will show on a multiboard that there is 10 available, already did the multiboard which was the easy part, and now i'm a bit stuck with checking how much items are available at the lumber mill, and it should some up all the available ones with together.
Sorry if i didn't explain pretty well and sorry if the idea is kinda dumb, i'm new to the WE.

Regards.
- zheavy -
 
Level 3
Joined
Jan 8, 2011
Messages
70
Have you tried something like:

A unit sells an item
Selling unit equal to lumber mill
Selling item equal to lumber
Set interger +1

Interger = 10
show on multiboard blah blah blah.

Just use an interger and whenever a lumber is sold, + or - accordingly.
 
Status
Not open for further replies.
Top