| 01-28-2004, 06:27 PM | #1 |
Ok first off I have modified The panda ulty to spawn 4 heros (all the same type). Now i've made a trigger to set their level to equal that of the Primary unit they're spawned from. However this only works the 1st time the ability is used and then spawns lvl 1 heros afterwards. Also note that i've made this a multi level ability and made the trigger multiple times using the different hero splitforms respectively but I'll just post the 1 since they are all the same cept for different units Also when the units timer expires it leaves the your hero has fallen (lvl 1) and it sets their portraits as the side as if they can be revived like normal heros (not acceptable). Anyhow here's the triggers Trig 1: Event - A unit enters playable map area Cond - Entering Unit equal to units owned by player 2 equal to Hero (split form) Action - Unit Group - Pick every units owned by player 2 of type Hero (split form) and do Set random units of type Hero (split form) hero level to hero level of random units owned by played 2 of type Hero Trig 2: Event - A unit owned by player 2 dies Cond - triggering unit equal to random units owned by player 2 of type Hero (split form) Action - Unit Group - Pick every units in units owned by player 2 of type hero (split form) and do Remove units owned by player 2 of type Hero (split form) from the game. and those are the trigs I have. Trig 1 will work once (I'm hoping I don't have to add a Time elapsed Event to it) and wont work afterwards. Trig 2 won't work for me at all... maybe cause i'm they don't technically die when their timer expires. Anyhow any help would be appreciated. |
| 01-28-2004, 07:33 PM | #2 |
Why are you using "random units" in there so many times? And your condition is all wrong... the "Entering unit" will only be equal to "units owned by player 2 equal to Hero (split form)" once; after that there will be more than one Hero (split form) owned by player 2. I assume there's only one hero that can cast this spell? If not, you're in trouble. You want a trigger that does this: E - A unit enters playable map area C - Unit-type of entering unit equal to Hero (split form) A - Pick all units owned by player 2 of type Hero and do Set hero level of entering unit to hero level of picked unit And for "cleanup:" E - A unit owned by player 2 dies C - Unit-type of dying unit equal to Hero (split form) A - Pick all units owned by player 2 of type Hero (split form) and do actions: --------------Hide picked unit --------------Explode picked unit That will erase all Hero (split form)s from the board. I'm not sure about the icons down the left side... there is an action or a unit stat somewhere that controls whether it shows the icon for a hero... Do searches for "icon" or "hero" and see if anything turns up. Good hunting! |
| 01-28-2004, 07:39 PM | #3 |
Well he covered it all... but I haveone thing to say... Its Storm, Earth, and Fire NOt Earth,Fire,WIND :P |
| 01-29-2004, 12:07 AM | #4 |
Thanks for the help... problem solved... however I did need to change one thing and that was instead of using "a unit dies" to "a unit become revivable" and instead of using Hide and Explode commands just used "Remove" unit command, and all is well :) Thanks for the help once again. |
