Zurtrogx
Active Member
- Reaction score
- 24
Problem status: SOLVED
______________________________________________________________
Is there any way me for to set a string, such as udg_string, then add the ability that had the same code as the string?
Sort of like the way you get make a string, and then create a unit of type "custom_ + udg_string".
For example, I want to do something like:
set udg_string = something + something + something + something (with a total of 4 characters in length)
call UnitAddAbilityBJ( udg_string, GetTriggerUnit() )
(The above doesn't work, as you may be able to tell.)
Is anything like this possible?
If you have a solution in JASS, please be as detailed as possible since I have limited JASS knowledge.
______________________________________________________________
Is there any way me for to set a string, such as udg_string, then add the ability that had the same code as the string?
Sort of like the way you get make a string, and then create a unit of type "custom_ + udg_string".
For example, I want to do something like:
set udg_string = something + something + something + something (with a total of 4 characters in length)
call UnitAddAbilityBJ( udg_string, GetTriggerUnit() )
(The above doesn't work, as you may be able to tell.)
Is anything like this possible?
If you have a solution in JASS, please be as detailed as possible since I have limited JASS knowledge.