HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Morph unit at time of the day

04-30-2004, 09:48 AM#1
Iwi
Hi , I have a problem to do a trigger.
It is supposed to transform Waldemar at ,game time 18 pm, to a wolf and then at 6 am it transform the wolf back to Waldemar
And the wolf is a hero who has his own abilities.
and is it possible that Waldemar keeps his items and ability levels when he morphs ?
Thanks!
04-30-2004, 10:26 AM#2
Kamux
Yes, that can be done with the choas abillity. You can find it by the orc unit abillities. Make two copies of a chaos abillity and in the first one set the alternate unit to be the wolf and in the second one the normal hero.

Then you can add the first abillity to make it a wulf and the second to make it normal again.
04-30-2004, 10:30 AM#3
Fladian
Can't you just use a trigger to change the unit when the time is 18.00 and again when the time is 6.00? I don't see too much trouble in that.
04-30-2004, 10:45 AM#4
Kamux
But you can't just 'change' the unit. I explained how you can do that with triggers.
04-30-2004, 10:47 AM#5
Iwi
Thanks for the help , I made 2 chaos abilitys but, how should I do to make Waldemar morph to the alternate form at 18 pm and then the wolf morph back to Waldemar at 6 am ?

Fladian , thats what I did before but it didn't work , try to make it and then tell me how you did :p
04-30-2004, 10:47 AM#6
Fladian
But you can. (Though I am not all that good with triggers) There is an action named 'Unit - Replace'. Isn't it well enough possible with that?

EDIT: Ah well... if it already has been tried, then I take my words back :) Then I was simply wrong. Sorry :D (pretty much same time posted)
04-30-2004, 11:28 AM#7
Kamux
I think the unit - replace command doesn't let the hero keep its items and abillities, only its mana and life.

And to change the unit use this triggers.

Code:
Events:
The in game time becomes 6.00
Actions:
Remove <the chaos abillity that changes the unit to the wolf> to <your hero>
Add <the chaos abillity that changes the unit to the normal hero> to <your hero>


Code:
Events:
The in game time becomes 18.00
Actions:
Remove <the chaos abillity that changes the unit to the normal hero> to <your hero>
Add <the chaos abillity that changes the unit to the wolf> to <your hero>
04-30-2004, 04:04 PM#8
Iwi
Didn't work :-/
Could you please try to make it yourself and then you could tell me how you did :p ?
04-30-2004, 04:16 PM#9
Kamux
OK, I will make the map then. Won't last too long.

Here it is. I havn't tested it, but it should work.
04-30-2004, 07:41 PM#10
Drake Eternal
dude.... it doesn't seem to work

heres another way :D
05-01-2004, 09:03 AM#11
Iwi
Thanks guys, you rock!