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

[Solved] Simple Neutral Building - Remove Item trigger doesn't work

Status
Not open for further replies.
Level 4
Joined
Sep 25, 2015
Messages
56
1706682778015.png

Yes shop has the Sell Items ability
Yes item is added through triggers
what am i missing?
 

Uncle

Warcraft Moderator
Level 73
Joined
Aug 10, 2018
Messages
7,877
It should only have the Select Hero and Sell Items ability. From there it's guaranteed to work on the latest patch:
  • Untitled Trigger 001
    • Events
      • Time - Elapsed game time is 1.00 seconds
    • Conditions
    • Actions
      • Neutral Building - Add Claws of Attack +15 to Arcane Vault 0001 <gen> with 5 in stock and a max stock of 5
  • Untitled Trigger 002
    • Events
      • Unit - A unit Sells an item (from shop)
    • Conditions
    • Actions
      • Neutral Building - Remove Claws of Attack +15 from (Selling unit)
 
Last edited:
Level 4
Joined
Sep 25, 2015
Messages
56
It only needs the Select Hero and Sell Items ability. From there it's guaranteed to work on the latest patch:
  • Untitled Trigger 002
    • Events
      • Time - Elapsed game time is 1.00 seconds
    • Conditions
    • Actions
      • Neutral Building - Add Claws of Attack +15 to Arcane Vault 0001 <gen> with 5 in stock and a max stock of 5
  • Untitled Trigger 001
    • Events
      • Unit - A unit Sells an item (from shop)
    • Conditions
    • Actions
      • Neutral Building - Remove Claws of Attack +15 from (Selling unit)
so Select Hero was what I was missing, had no idea. Thanx

for those that care, I'm trying to make a trading system between different shops (markets). It seems there is no direct way to change the cost of item so I decided to replace items with another version (copy but with diff price) of them. Any opinions/ideas/advice welcomed but not needed.
 

Uncle

Warcraft Moderator
Level 73
Joined
Aug 10, 2018
Messages
7,877
No problem.

If you want full control over every single detail related to items then a system like this would be great:
But of course it requires a deeper understanding of triggers/code. Also, custom UI stuff can be a little buggy at times, Blizzard likes to break it every patch.
 
Status
Not open for further replies.
Top