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