| 03-06-2008, 04:14 PM | #1 |
Hello everybody i have a kinda complicated issue : I made a hero that uses a spellbook type of spell each level he gets a new spell in the spell book, the other spell it haves is the chaos thing and now the problem is that for example if the hero had lvl 2 spell book when i learn the chaos and morphs in the second unit (i added the spellbook to the second unit its not that) the spellbook stays there but its empty,but when i learn it to lvl 3 the spell reappear in the spell book anybody knows whats wrong ??? |
| 03-06-2008, 04:39 PM | #2 |
Did you make the learned ability (on level1) permanent? If not, then make it, else i don't really have any idea without taking a look. |
| 03-06-2008, 05:30 PM | #3 |
Ehm i dont understand you very well how do you mean permanent and did you mean the Spellbook ability or the Chaos |
| 03-06-2008, 05:32 PM | #4 |
i mean the learned ability (which you add later into the spell book). you can make it permanent with this command. JASS:native UnitMakeAbilityPermanent takes unit whichUnit, boolean permanent, integer abilityId returns boolean |
| 03-06-2008, 05:35 PM | #5 |
ehm let me explain you a little better the thing :) my hero haves a Support Wards spell - at lvl 1 he gets 1,lvl 2 he haves 2 (gets a new ward) and so on and when i have it on some level it haves x number of spells as soon as i apply the chaos thing he turns and he still haves the ward spell but no ward,then when you learn the next lvl it gets all the spell :D i dont know how much that can help since the spells are made in the spell list i do not add them manualy BTW - I suck in jass :( so forgive me :) |
| 03-06-2008, 06:03 PM | #6 |
Eeek...Chaos is really, really dodgy. As in, avoid if at all possible. |
| 03-07-2008, 01:08 PM | #7 |
Does anybody then know another way of changing the unit model without using chaos to be precise i want my orc warlock to change into a chaos/fel warlock |
| 03-07-2008, 01:48 PM | #8 |
You could add bear / crow form, order the unit to cast it and remove it then. |
| 03-07-2008, 03:15 PM | #9 |
Is he getting Chaos while the spellbook is open? |
| 03-07-2008, 03:20 PM | #10 |
If you 'learn' the spell with triggers then you shouldnt have a problem, it should work ok. The bug you refer to is a known bug. |
| 03-07-2008, 03:58 PM | #11 | |
Quote:
Thanks a lot i did something like this i just made it store the lvl of the spell before morphing,removed the spell,morphed the unit,added the spell again and set the lvl it was before morph thanks a lot +rep to all who helped :D |
