HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

I have a spell with a trigger, that i cant write help :(

03-19-2004, 05:57 AM#1
L.t
^_^ my first post :D

however i am in need of some help. short in simple i suck at writing triggers, and my team survival calls for the need of triggers which i cant write. Namely spells.

I am basing my team survival off the popular enfos, however like so many rigged version i am trying to make my version balance, fair, and most importantly fun to play. The heros and that are based off of World of Warcraft.

Right now i am working on a spell for my undead Warlock.
The spell gives the warlock to, Morph if you wish, into a Melee combatant. (not on a times bases mind you). The spell would be able to be reverted at anytime. I got the idea from Medivh's Raven spell, cept its a warlock and arthas with frostmourne. When the warlock morphs, the new Unit, the warrior i will use for short, has his own stats(strg, dmg etc ) and his own techtree (abilitys/spells). The only thing the 2 forms have in common are, The same name, have the same items , and the one ability that allows them to morph between forms.


i have no idea where to start, i would appreciate if someone could help me, thanks!!
03-19-2004, 11:34 AM#2
johnfn
Alright i can tell you where to start:

STart with the demon hunter spell 'metamorphisis'. Notice that that spell is exactly what you want (except it morphs into a demon). You can change that, however under the Data - Alternate Form Unit... just change that guy that he morphs into to a guy you made yourself. I assume that you do know how to make your own units (and abilities)...

If that confuses you, as im sure it does (im rushed for time...), just reply, i can help (a little).
03-19-2004, 02:56 PM#3
BattleBotv8.2
Could you make a dummy spell and if uses it change back the the normal unit?
03-20-2004, 12:26 AM#4
L.t
Quote:
Originally Posted by BattleBotv8.2
Could you make a dummy spell and if uses it change back the the normal unit?

Ive already done that i can switch between forms on the dot, i just needed help with keeping seperate tech trees.

and yes i do know how to make my own units and abilitys, im just a newb to triggers :/
03-20-2004, 12:50 AM#5
-={tWiStÄr}=-
ok, wow ive just been dealing with this, but with using all 3 transformation skills. so the trick is, make a dummy spell. when the unit cast the spell, change its owner and move it to the corner THEN, move the new unit that was already in the corner to where the old one was. u may want to move the new one first so u dont have to use a var for the position in fact, do that. change owner and all, then get the exp. of the guy in the corner and put it on the guy in the middle (optional) then have another spell (revert or the same) and when this new unit uses it, do the exact same thing you just did just the other way around. you also may want to force the player to select the new moved unit, just so it looks smoother. OH and you also need to account for different levels if there are. if not, then ur fine. if so, then you will need a different unit for each level. if you want the triggers i can give them to you.
03-20-2004, 01:11 AM#6
L.t
Well it is a Team survival and the max lvl is 125... , i saw a concept of this in a a everquest team survival, the ranger could switch between ranger and wolf no problem, seperate stats techtree etc, no second unit to sub with.

metaphorphis is working except, that certain skills like Attribute bonus and Blink stick between the 2 different characters :/
03-20-2004, 05:20 AM#7
L.t
Quote:
Originally Posted by L.t
Well it is a Team survival and the max lvl is 125... , i saw a concept of this in a a everquest team survival, the ranger could switch between ranger and wolf no problem, seperate stats techtree etc, no second unit to sub with.

metaphorphis is working except, that certain skills like Attribute bonus and Blink stick between the 2 different characters :/


ok, here is progress so far with this skill

I can morph between the 2 forms.
however stats arent different, etc

im thinkin gof using bear form ability. think it will work?
03-20-2004, 02:09 PM#8
-={tWiStÄr}=-
nope. u need two completely different units or they wont have different stats.
03-20-2004, 02:54 PM#9
Bloodlust
(all variables need to be arrays for all possible players.. like "experience" as a 12er array and in the trigger experience[playernumber of triggering player])

1. Make a dummy spell, based on warstomp or something
2. Create both heroes as standalone heroes
3. Make a Variable to store the experience of players heroes.
4. Make a Variable to store items with a 6er arry, one for each possible player
5. Make a trigger like

Warlock casts dummy spell
set variable to experience of hero
loop A 1-6
_ save item in slot A as Itemvariable[A]
remove triggering unit from the game
create a melee unit at position of triggering unit
set exp of unit to variable
loop A 1-6
_ give hero item itemvariable[A]


also save the 3 stats like that 6 items and restore them (cuz of tomes)

now here bring some actions to save (before u remove the unit) and restore the abilities of those heroes, maybe Vex or someone tells you how to do it, i need to go

do the same for melee unit morphing back
03-20-2004, 03:55 PM#10
-={tWiStÄr}=-
I think the corner thing is better because theres nothing you need to recover like stats. all you have to do is transfer items.
03-20-2004, 04:23 PM#11
SirSalute
I doesn't know if different primary attributes would work or not, but the 'chaos' ability that morph hero into almost an entire different unit can be used. The experience gained, and items still remains, and you can have the hero used different spells.
03-21-2004, 12:13 AM#12
L.t
Quote:
Originally Posted by SirSalute
I doesn't know if different primary attributes would work or not, but the 'chaos' ability that morph hero into almost an entire different unit can be used. The experience gained, and items still remains, and you can have the hero used different spells.


I am going to try the Chaos Ability, If it doesnt fail, Bloodlust would you be willing to write me the triggers required? (ill send u the map etc)

Thanks for your help guys. ill let u know hwo this works eh
03-21-2004, 02:45 AM#13
L.t
Quote:
Originally Posted by L.t
I am going to try the Chaos Ability, If it doesnt fail, Bloodlust would you be willing to write me the triggers required? (ill send u the map etc)

Thanks for your help guys. ill let u know hwo this works eh



Ok Chaos didnt work, instead the skill would stay in the heros skill point ot learn area, and whenever i got a skillpoint to learn a skill, iw ould choose it, and it would double my current dmg, and that was all, (ire at lvl 10 i was doing like 5k dmg + )
03-21-2004, 06:47 PM#14
dataangel
Just use unit - remove ability action on any abilities that stick.
03-21-2004, 06:57 PM#15
L.t
Quote:
Originally Posted by dataangel
Just use unit - remove ability action on any abilities that stick.


But stats arent different, plus i dont know how to remove ability :P