Morphing Spells

RageF1R3

New Member
Im busy on an AOS map where you choose your Hero's spells. The problem is that I have a Druid spell group, in which I really want a morphing spell put in. Everythings fine except when I morph I lose all spells except the morphing spell. This wouldn't be so bad if at least you got your old spells back when you morph back to normal, but even when i morph back I dont have any spells!!! :confused: Please Help!





:infernal:
 
Werbung:

Daelin

New Member
Do the two units have dependecy equivalents? And I think that is a problem with Bear Form spell. I use tinker's ultimate since it is much more accurate. :)

Daelin
 

RageF1R3

New Member
:infernal: I dont think its a problem in the unit editor, although I am gonna try dependancy equivalents. In the map your Hero starts off with no spells and can only learn attribute bonus with level points . . . you have to find a trainer and buy the spells from him and a trigger calculates your level and gives the spell to your Hero. The problem is that once you have a bunch of spells chosen, when you morph you lose them all, and when you morph back you dont get them back!
arg!
:/ This is really fustrating cos wots a Druid that cant morph?!?! :wtf:
 
Werbung:

Xeridanus

New Member
What you have to do is store the spells that you have already bought in some variable, then when he morphs you have to give them all back because the morphing spell uses only the data in the object editor. So that when he morphs it's like being replaced with a new unit. Just store what spells he has before he morphs then give them to his morphed form. Oh, one more thing. I suggest you store the spells as they change, not right before he morphs.
 
Top