• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Shop within a shop

Status
Not open for further replies.
well its possible, you just need invisible dummy shops...

example:

Note: this example is about a shop which sells different types of items... I hope you can pick it up from this...

-create the dummy shop (the visible one)
-create the real shops (invisible but selectable, will have the real items; preferably units with collision size of 0 and model of none.mdx or dummy.mdx, and have the invulnerable ability, movement type of none)
-create dummy items which will act as pointers (to be sold by the dummy shop, should have 0 cost)
-create the items that each real shop will sell and add them to the real shops
-Place the dummy shop on the map
-Place the real shops around it

then create a trigger in which when a unit buys a pointer item:
-remove the sold item
-clear selection for owner of buying unit
-add the real shop corresponding to the pointer item to the selection of that player
 
Status
Not open for further replies.
Back
Top