HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Making 2 buildings share the same inventory?

10-13-2004, 02:28 AM#1
cattlekiller
Is it possable for 2 buildings to share the same inventory ?Like 2 of the same buildings sell 1 item and both show it missing?

tia
cattlekiller
10-13-2004, 03:41 AM#2
rtm2
Yes it is just ahve two of the same things at the same time...as far as I know...if im wrong dont yell at me because I was never put in this situation so thats a guess.
10-13-2004, 04:23 AM#3
cattlekiller
Ok ive put in 2 of the same shop in my map,now i need it so when u sell out an item from shop A it is also sold out at shop B.
How could i make a trigger to do that ?

thanx for ur response
10-13-2004, 04:28 AM#4
rtm2
Hmm.........oh I just checked look in nuetral building in actions =)
10-13-2004, 03:43 PM#5
Vexorian
Possible somehow, the main problem will be avoiding infinite loops that will crash the game, likelly if building B gets an item, create an item for building B, if Building B gets an item , create an item for building A, though if you do that, the first trigger will fire too, so disable the equivalent trigger before that.

After that it will be Building A uses an item, lower down the charges of the same item in Building B, and so and so
10-13-2004, 04:53 PM#6
Guest
Going of subject to ask a relative question(I think it might be the same question):

How about building two buildings of the same type and then putting an item in one and then taking it out in the other. EG:
You have a tower on one side of the map(Lonely tower) and your hero on the other(with another tower). You need to get a soul gem to your hero. How could you make it so that you put the soulgem in the lonely tower and then the hero could take the gem out of his tower. Is it possible?