| 10-26-2004, 03:16 PM | #1 |
I heard from someone aout a JASS function that would get an ability to be permanent for a unit. I have a hero with a morph spell and a spellbook abil, when he morphs it dissapears. Would any1 mind telling me what this function is specifically? :( |
| 10-26-2004, 06:42 PM | #2 |
native UnitMakeAbilityPermanent takes unit whichUnit, boolean permanent, integer abilityId returns boolean I have not really tested this one though I do not know in which cases it works but it is well worth the try I guess. |
| 10-27-2004, 12:03 AM | #3 |
ok, but could i get the exact text to use plz? im a JASS loser.... |
| 10-27-2004, 12:27 AM | #4 |
heh... call UnitMakeAbilityPermanent([unit that has the ability], true, [4 digit code of ability]) Just so you know, im starting my crusade against blantantly giving out functions, but i'll let this one slip by cause it sounds like you just need this 1 line.. and you're just learning jass it sounds like.. |
