| 02-03-2005, 01:31 AM | #1 |
I'v got a hero who I want to be able to sink into the ground when he casts a certain spell, but it wont let him go into negative values. Is it even possible? If so, how? |
| 02-03-2005, 01:46 AM | #2 |
Try using Arithmatic: 0 - (flying height you want it to be.) |
| 02-03-2005, 02:57 AM | #3 |
If that does work, it will most likely crash the game. |
| 02-03-2005, 06:55 AM | #4 |
Guest | Do you want the unit to be able to move underground? If you don't, then burrow will work. If you do, you'll probably need a workaround - eg a burrow ability. But after burrowing, trigger to substitute the unit with another of the same stats but with a model of say a burrowed unit (or nothing). |
| 02-03-2005, 07:08 AM | #5 |
The trigger that modifies flying height can only be used on flying units. I've read about a trick how to use it on land units as well, you are supposed to add and then remove the "storm crow form" ability from the unit, and after you do this, you can modify it's flying height like it was flying. However, I don't know if after that, you can set it to any value or are there limits. You just have to try that for yourself. |
| 02-03-2005, 12:46 PM | #6 |
Can you try morphing it into a unit with movement type of hover, then a negative flying height? I haven't tried this, and it may not work. |
| 02-03-2005, 01:53 PM | #7 |
I've heard that negetive flying height is impossible, but there is a better way... Make an ability based off of Burrow and give it to the unit that you want to submerge. Change the unit it changes into to a unit you make called (Burrowed Hero). Make it exactly the same exept make the flying height 0 and the model Burrowed Medium. It will look like your unit just burrowed under ground, if that's what you're going for. |
| 02-03-2005, 07:48 PM | #8 | |
Guest | Quote:
Exactly one of my suggestions above...but better phrased I guess... |
| 02-03-2005, 09:55 PM | #9 |
That won't work, because I'm trying to get him to plain sink into the ground for a creepy effect. Oh well, thanks anyways. |
| 02-03-2005, 11:12 PM | #10 |
Guest | Making a unit go underground is possible, but this is a method that must work: make another version of the unit, set both fly height and minimum fly height to negative, and flag its movement type as fly. Use metamorphosis for the morphing. |
