- Joined
- Oct 22, 2006
- Messages
- 599
This is what I tried and it doesn't work. Also I have another trigger that will drop the item (Since the hero cannot use it) before this trigger is run.
The message is shown but the unit is not ordered to sell the item.
Any Ideas?
-
Wrong Shop
-
Events
-
Unit - A unit Sells an item (from shop)
-
-
Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Owner of (Buying unit)) is in Mages) Equal to False
-
(Unit-type of (Triggering unit)) Equal to Witch
-
-
Then - Actions
-
Unit - Order (Buying unit) to give (Sold Item) to (Triggering unit)
-
Game - Display to (All players) the text: WRONG!!!! Cheking
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Owner of (Buying unit)) is in Warriors) Equal to False
-
(Unit-type of (Triggering unit)) Equal to Blacksmith
-
-
Then - Actions
-
Unit - Order (Buying unit) to give (Sold Item) to (Triggering unit)
-
Game - Display to (All players) the text: WRONG!!!! Cheking
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Owner of (Buying unit)) is in Archers) Equal to False
-
(Unit-type of (Triggering unit)) Equal to Bow Maker
-
-
Then - Actions
-
Unit - Order (Buying unit) to give (Sold Item) to (Triggering unit)
-
Game - Display to (All players) the text: WRONG!!!! Cheking
-
-
Else - Actions
-
-
-
-
-
-
-
Any Ideas?