Now I personally have never created a ' hero ' or messed with the whole Item/Experience pickup system.
I assume a hero is just another unit but with special properties (Correct me if I am wrong).
I believe hero is just a category you can throw units into in the data editor.
My suggestion is one of two things, one being every time you create a hero for a player, add it to a special unit group and call it something like, ' Heroes '.
With this you can have it run through each unit in the unit group and see if its for example, at a specific location.
You can also use your Unit Type for this, Unit Type is comparable to everything in UNIT in the data editor, so if I make a unit called CANDYMAN, I can verify if unit type == Candy man. You can make a long list of conditions with OR's such as, ' If unit type == Cleric or If unit type == blade master or unit type == Mage ' which would be the base unit.
You have to create a Search Effect. In Search Filter , just set the Heroic to Required.
Haven't tested it but I played a lot with abilities and effects, give me news :P
You have to create a Search Effect. In Search Filter , just set the Heroic to Required. Haven't tested it but I played a lot with abilities and effects, give me news :P
lol, Validator Type - Unit Filters - Heroic Required
DOES not work! very strange...
_______
i cant use search eff , i need an Auto Cast validator for Shop Share Ability (for my shops)
i understand how to make a a validator like - unit type is ULTRALISK
but how to make a validator - Is unit a hero???
any help here? thx
@CEMEHbl4: Go
Now I personally have never created a ' hero ' or messed with the whole Item/Experience pickup system.
I assume a hero is just another unit but with special properties (Correct me if I am wrong).
I believe hero is just a category you can throw units into in the data editor.
My suggestion is one of two things, one being every time you create a hero for a player, add it to a special unit group and call it something like, ' Heroes '.
With this you can have it run through each unit in the unit group and see if its for example, at a specific location.
You can also use your Unit Type for this, Unit Type is comparable to everything in UNIT in the data editor, so if I make a unit called CANDYMAN, I can verify if unit type == Candy man. You can make a long list of conditions with OR's such as, ' If unit type == Cleric or If unit type == blade master or unit type == Mage ' which would be the base unit.
@zachet: Go
are u sure you are talking about Data - VALIDATORS?
I need only validator , to use in other editor data fields , which require it.
@CEMEHbl4: Go
Yes, my bad.
I took the word validator as its definition rather than realizing the fact there's data validators so I assumed you were discussing triggers.
@zachet: Go
Ok...
You have to create a Search Effect. In Search Filter , just set the Heroic to Required. Haven't tested it but I played a lot with abilities and effects, give me news :P
lol, Validator Type - Unit Filters - Heroic Required
DOES not work! very strange...
_______
i cant use search eff , i need an Auto Cast validator for Shop Share Ability (for my shops)
bump