| 06-29-2005, 04:44 AM | #1 |
OK i got new awesome models of a Goblin War Zepplin and Goblin Skydiver. I decided to make an ability for it. I decided i want the War Zepplin to be able to send out little Goblin Skydivers that can AUTOMATICALLY fly right into a target. The problem is, i already have the suicide ability done but i cant get it to be like autocast. I want it so that when a unit comes with 500 of a unit type (Goblin Skydiver), the skydiver automatically suicides. How do i make the ability autocast??? |
| 06-29-2005, 04:58 AM | #2 |
cant you do something like when that unit comes out, if its created then last created unit, issue order him to suicide to the point of a random unit within 500 of your guy. Or if you have it as like an ability or have him suicide to the target point. does that answer the question? |
| 06-29-2005, 08:30 AM | #3 |
You cant force it to autocast, so you either: A) Make a dummy ability that has autocast and then use a trigger to call a dummy unit to cast the real one. B) Make the entire thing in triggers, and use a passive ability as a dummy unit to show you have the ability. However I'm curious, why not use immolation with a trigger for the special effect? |
| 06-29-2005, 10:31 AM | #4 |
you can force an auto cast, but you'l need to do it in custom script or WEU, and just order the unit (for example) to innerfireON with no target, or change the default active ability in the object editor to kamakazee |
| 06-29-2005, 05:04 PM | #5 |
If any of you have ever used Unstable Concotion from a Troll Batrider, you'll notice its a suicide spell. I based my suicide spell on it so I tried making a trigger thats something like when a unit comes within 500 of a Goblin SKydiver but it doesnt work. That trigger only works for one specific unit. I tried variables but i cant seem to make a trigger that makes when units come within 500 of the Skydiver then orders it to suicide. >< |
| 06-29-2005, 09:42 PM | #6 |
If your dealing with a specific unit you can use a simple event, but Im asuming your not using only one specific unit, and in that case I would asume loops could be the way to go. Then again, it dpeends on how many units your talkin about dealin with within this 500 range. You could add an event at map initialization that uses a variable instead of a specific unit as well. However in that case you need to aply the variable array to every unit of type in the game. |
