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

Any way to remove item type from Marketplace that was not added by triggers???

Status
Not open for further replies.
Level 14
Joined
Mar 4, 2009
Messages
1,156
Why not add items via triggers then?
because i would need action for every item :(
i would need about 100 actions...

im making a system that does not allow a unit to buy some item of type (you clink on item but nothing happens,you don't even waste gold or lumber,item stays available)

everything is fine for now but i don't want 100 actions just because i cant remove item added in object editor

so is there anyway to remove item from shop that is added with object editor?
 
Level 14
Joined
Mar 4, 2009
Messages
1,156
i will make dummy regions for each shop :thumbs_down:

set Shop [1] = shop 031
set Shop [2] = shop 008
set Shop [3] = shop 555
...

set Region [1] = Region for shop 031
set Region [2] = Region for shop 008
set Region [3] = Region for shop 555
...

for each integer from 1 to X do action
-pick every item in Region [Integer A] and do actions
--add item of type picked item to Shop [Integer A]
--remove picked item

i guess this IS IMPOSSIBLE to do without something like this -.-
 
Status
Not open for further replies.
Top