| 02-06-2005, 03:24 AM | #1 |
Ok so heres what I got Code:
Transform
Events
Unit - A unit owned by Player 1 (Red) begins casting an ability
Conditions
(Ability Being Cast) Equal to Transform
(Unit-Type of (Casting Unit)) Equal to Paladin
(Hero Level of (Casting Unit)) Greater than or equal to 0
Actions
Unit - Replace (Casting Unit) with a Demon Hunter using The old units relative life and mana
Hero - Set (Triggering Unit) Hero-level to (Hero-level of Casting Unit)), Hide level-up graphics
Trigger - Turn on Transform TimerCode:
Transform Timer
Events
Countdown Timer - Start Transform_Timer as a One-shot timer that will expire in 120 seconds
Countdown Timer - Create a timer window for Transform_Timer with title Time Left:
Set Transform_TimerWindow = (Last created time window)
Countdown Timer - Show (Last created timer window) for (Picked Player)
Trigger - Turn on Transform Timer OutCode:
Transform Timer Out This the part i need help with |
| 02-06-2005, 08:15 AM | #2 |
There's two things you got a problem with (excluding the third trigger): Code:
Hero - Set (Triggering Unit) Hero-level to (Hero-level of Casting Unit)), Hide level-up graphics Code:
Countdown Timer - Show (Last created timer window) for [b](Picked Player)[/b] |
| 02-06-2005, 08:28 AM | #3 | |
Why are you triggering this? You can just use the metamorphosis ability. Also, this condition is pointless. Quote:
Also, as PatruX noted, using hero level loses any experience gained up to the next level. Just give it the experience, rather than the level. I'll go further if you elaborate on the need to trigger this. |
| 02-06-2005, 03:51 PM | #4 | |
Quote:
*WhiteHorn ehhh I dont know why I dont wanna use the Metamorphisis |
| 02-07-2005, 06:17 PM | #5 |
Either move the hero to a sectioned off part of the screen after giving it to a neutral player, or hold it in a variable. After the timer expires, destroy the timer, the demon hunter, and move back the hero. The metamorphasis ability would indeed be a better option. |
| 02-07-2005, 08:57 PM | #6 |
Guest | Don't search for complications... the error is so easy You write "turn on countdown timer" while you should write "run countdown timer". Thats so dumb and easy lol but dont worry it happens to everyone ^_^ |
