.:::*Morphing Skillz*:::.

jetlee

Member!
Joined
Feb 7, 2003
Messages
167
Reaction score
0
Location
Ohio
Website
www.geocities.com
How would u make it so that a hero morphs into a wolf and has new skillz but his original skillz are disabled and when he changes bac he can use his original skillz again but not the skillz he acquired when he was a wolf?
 

Speaker

Premium Member
Joined
Jun 20, 2003
Messages
2,808
Reaction score
2
Location
Computer
can u be a little more clear? Do you mean: A hero morphs>hero is a wolf and gets siff. spells------------Hero turns back to reg hero>has reg. spells?
 

SephirothX89

Member!
Joined
May 19, 2003
Messages
1,074
Reaction score
0
Location
Azeroth
Website
Visit site
do mean if he was a blademaster... and learned Level 2 critical strike. then he morphs into a wolf with new skills, then goes back to a blademaster with lvl 2 critical strike? might have something to do with storing value triggers =/
 

jetlee

Member!
Joined
Feb 7, 2003
Messages
167
Reaction score
0
Location
Ohio
Website
www.geocities.com
lol aight heres the downlow of wat i meant:

example: a beastmaster wats to morph into a little girl...he has the spell morph into little girl...*POOF* he just morphed into a little girl....now he-she has new abilities that the beastmaster in his original form could'nt have but the little girl now does not have the beastmaster's abilities...such as throw teapot...now the little girl wants to become a man again....he-she goes *POOF* and morphs bac into a man...now the beastmaster has his original abilities back!Wow that was fun being a little girl...

Can anyone give me some info on how to make this possible???!!!
 

Garthrs

Member!
Joined
Aug 3, 2003
Messages
130
Reaction score
0
Location
Usually buried at work
Website
Visit site
You will have to create a trigger series that reads something like this...

Untitled Trigger 001
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Morph to little girl
Actions
Set PlayerMorphAlpha[(Player number of (Owner of (Triggering unit)))] = (Casting unit)
Special Effect - Create a special effect attached to the overhead of (Casting unit) using Abilities\Spells\Other\Levelup\LevelupCaster.mdl
Special Effect - Destroy (Last created special effect)
Unit - Replace (Triggering unit) with a (Unit-type of PlayerMorphBeta[(Player number of (Owner of (Casting unit)))]) using The old unit's relative life and mana

Couple of things:

PlayerMorphAlpha PlayerMorphBeta will have to be set in initialization triggers.

It really depends on how many characters there are, cuz you may have to write triggers to set abilities and stuff. That way, the unit you swap to will have the same skills as the last time you used it...


Both Morphs are unit Array Variables
I'll test it out and send you the map, so you can see...
 

New threads

Top