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

Item trigger (one more)

Status
Not open for further replies.
How can I do a trigger

action
peansant sells an item in unit y
Events related to items:

A Unit sells an item to another unit;
  • Events
    • Unit - A unit Sells an item (from shop)
In other words, you buy an item.

A Unit sells an item to the shop:
  • Events
    • Unit - A unit Pawns an item (to shop)
In other words, you sell an item.

Then you can check the Units involved using the Unit/Unit-Type conditions:

Any unit of a given type:
  • Conditions
    • (Unit-type of (Buying unit)) Equal to Peasant
    • (Unit-type of (Selling unit)) Equal to Peasant
A specific unit:
  • Conditions
    • (Buying unit) Equal to Peasant 0001 <gen>
    • (Selling unit) Equal to Peasant 0001 <gen>
1731129236876.png
 
Last edited:
Status
Not open for further replies.
Back
Top