- Joined
- Dec 17, 2011
- Messages
- 355
Hi!
Whats wrong with this? Wc3 cannot run with this script.
Plz help!
Oh and the variable name is fine.
Whats wrong with this? Wc3 cannot run with this script.
Plz help!
Oh and the variable name is fine.
-
Item Sold
-
Events
-
Unit - A unit Sells an item (from shop)
-
-
Conditions
-
Actions
-
Set Sold_Item = (Sold Item)
-
Set BuyerPlayer = (Owner of Sold_Item)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Or - Any (Conditions) are true
-
Conditions
-
(Item-type of Sold_Item) Equal to |c00FFD84FAnub'Rekhan's Legacy|r
-
(Item-type of Sold_Item) Equal to |c00FFFF00Horn of Winter|r
-
(Item-type of Sold_Item) Equal to |c00FFD84FClaw of the Sandreaver|r
-
(Item-type of Sold_Item) Equal to |c00FFD84FGoblin Rocket Louncher|r
-
-
-
-
Then - Actions
-
Custom script: if GetLocalPlayer() == udg_BuyerPlayer then
-
Custom script: call PlaySound(udg_PutDownSmallMEtal , true)
-
Custom script: call endif
-
-
Else - Actions
-
-------- Some other things here --------
-
-
-
-