| 01-12-2005, 01:56 PM | #1 |
Hi.. i have tested some maps where they have fixed that the hero can only carry one item of type and also that the item carrier needs to have at least a specific attribute (one example is a sword that need 33strength to be able to wear) and things. But the maps i have downloaded have a lots of codes and things. I wonder if there is any easier way to create items that need for an example 30 strength to work. |
| 01-12-2005, 04:31 PM | #2 |
with trigger you can easily put stats and level requirement, I think you can find the condition in the Hero Attribute. for exemple: Event : -Unit - Aquires an items (Unit - specific unit event) Condition : - Actions : -If (if/then/else) -If - Conditions -(item being manipulate) equal to (item you want) -(integer comparaison) (hero Attribute), strengh less than 30 -then -drop (item being manipulate) -else -do nothing. I tried to explain with all what you need, but if you don't understand with this i will try to explain with all detail. Enjoy and Good luck! |
| 01-12-2005, 04:45 PM | #3 | |
Quote:
Damn... ..I feel so stupid... I forgot that the trigger editor makes me able to use intregers :\ but thanks! |
