• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

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

Status
Not open for further replies.
Level 13
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 13
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