• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Trigger] Metamorphosis

Status
Not open for further replies.
Level 6
Joined
Apr 21, 2007
Messages
188
Was wondering if i can give a hero a spell to transform to another unit, while still gaining experiance and having differant stats and skills. Like for instance a druid morphing into a wolf, the wolf has differant stats and skills. Ive given it a skill to transform but it wont have differant stats. Thinking i have to trigger the exp.
 
Level 6
Joined
Apr 21, 2007
Messages
188
thats what i have right now. i made a skill based off bear form and changed the model to the wolf. the only problem is the druid wont level up in that form because the unit the spell comes from is a unit and not a hero, so no leveling involved. i was thinking i could make the wolf a hero. is there a way i can transfer the druids experiance to the wolf? that would have the wolf level up as the druid, but then it would have to change back after you go back to the druid. The stats wont matter as the wolf will have totally differant stats. i have no idea how to go about storing a heros data, much less utilizing it in an rpg.
 
Level 8
Joined
Jul 23, 2005
Messages
329
To store data, you might want to just use variables...
ex. just use a variable to store the wolf's XP before he starts casting the spell, and then, after the spell finishes and he morphs, set the druid's XP to what's stored in the variable.
 
Status
Not open for further replies.
Top