Go
Wc3C.net
»
Warcraft III Modding
»
Developer's Corner
»
Triggers & Scripts
»
Making a Unit that can sell items?
Making a Unit that can sell items?
06-29-2006, 03:54 PM
#1
Tobbz
I need help for my orpg how to make a unit that can sell stuff.
I also need to know how to make it uncontrollable and that you cant attack it or your allies.
06-29-2006, 04:53 PM
#2
Undead_Lives
Just change the model file of a Goblin Merchant/Marketplace to a unit.
06-29-2006, 05:04 PM
#3
Tobbz
ahh good idé..thanks for the help
06-29-2006, 05:05 PM
#4
Undead_Lives
No problem.
06-29-2006, 06:42 PM
#5
SFilip
Trigger:
Attack
Events
Unit - A unit Is attacked
Conditions
((Owner of (Attacking unit)) is an ally of (Owner of (Attacked unit))) Equal to True
Actions
Unit - Order (Attacking unit) to Stop
not sure if this is what you wanted, but it should prevent you from attacking your allies.
06-29-2006, 06:44 PM
#6
Undead_Lives
If you just change the model, all of those features that he wanted come with it.