- Joined
- Jul 12, 2008
- Messages
- 3,137
I am making a map that requires the creation of thousands of triggers if I were to make it for the individual units...
If there is any way to make it find the NAME of a unit, in oppose to the Unit-Type, I could simply make it find the name of the unit, and if the targeted unit and casting unit have the same name and level and are in a specific category, then to do blah blah. Because what I am doing is having units of like 20 different levels for every unit. If I could make the trigger this way, then I could make only ONE trigger to do the work.
Again, anyone who knows how to make a trigger find the name of a unit, please tell me. This would probably be in JASS, which I have limited knowledge of.
If there is any way to make it find the NAME of a unit, in oppose to the Unit-Type, I could simply make it find the name of the unit, and if the targeted unit and casting unit have the same name and level and are in a specific category, then to do blah blah. Because what I am doing is having units of like 20 different levels for every unit. If I could make the trigger this way, then I could make only ONE trigger to do the work.
Again, anyone who knows how to make a trigger find the name of a unit, please tell me. This would probably be in JASS, which I have limited knowledge of.