- Joined
- Jul 31, 2012
- Messages
- 2,217
there is a shop that has shop sharing ability and shop purshace item ability
when the unit sells an item
the trigger :
when the unit sells an item
the trigger :
-
Go to secretshop
-
Events
-
Unit - A unit Sells an item (from shop)
-
-
Conditions
-
(Item-type of (Sold Item)) Equal to Go to the Secret Shop
-
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Distance between (Position of (Selling unit)) and (Position of Secret Shop 0025 <gen>)) Less than (Distance between (Position of (Selling unit)) and (Position of Secret Shop 0038 <gen>))
-
-
Then - Actions
-
Unit - Order (Selling unit) to Move To (Position of Secret Shop 0025 <gen>)
-
-
Else - Actions
-
Unit - Order (Selling unit) to Move To (Position of Secret Shop 0038 <gen>)
-
-
-
-