| 01-12-2004, 07:08 PM | #1 |
How do I go about activating a custom skill on a unit? I am trying to, with triggers, activate a modified version of the Neutral-Kaboom skill on a dummy unit. The only skill I am able to find to activate on the dummy unit is the default KABOOM skill. Not my custom skill that I have already placed as a skill on the unit. How do I activate the custom skill on the dummy unit? Thanks. |
| 01-12-2004, 07:10 PM | #2 |
To order a unit to cast a custom spell via triggers, you just order the unit to cast the spell that you based the custom spell off of. In this case, Kaboom. Just make sure the unit doesn't have both the base spell and the custom spell, otherwise it will choose to cast the base spell instead. |
| 01-12-2004, 07:29 PM | #3 |
I was already doing that. I was hoping I was doing something wrong. So is there a way to have a kaboom skill that doesnt damage your own units? Because it seems to damage my own units as wel as the enemy units. |
| 01-12-2004, 08:23 PM | #4 |
I already PMed you Nathan, I was wondering if anyone else had any other suggestions for my dilemma? Now let me lay out the scenario in more detail so I can get more specific help. I have a custom skill called 'Ancient Dwarven Bomb'. It launches a bomb intot he air (via the flare skill of the mortar team) and within 2 seconds of launch, there is a large explosion from the bomb at the target area. Now, I would like to deal 500 damage to all units within the damage area (800 radius). Doing this via triggers is difficult, since I would like to had the player earn bounty and experience form this skill. Doing the bounty and experience with triggers works fine, except it does not show the bount number above the units head once it is killed. It is an effect I wish to keep. How would I accomplish this? I have tried using the kaboom! skil but it seems to damage everything, yourself and others, so it is unusable. I have tried making a dummy unit with a splash missile attack, and attack a second dummy unit in the center of the target area, but this doesnt seem to work either. Any help would be appreciated. |
| 01-12-2004, 08:26 PM | #5 |
First off. 1. Damaging yourself adds realism 2. If you don't want it to damge yourself, then in the "Kaboom" ability edit the "Targets" field, and put a checkmark in enemies and it should only hurt your enemies (as long as "Friendly" isn't checked too.) |
| 01-12-2004, 08:31 PM | #6 |
For some weird reason, the targets allowed field in that particular field has no bearing upon the targets actually affected. as default it's nothing. I don't understand it. i've modified every possible field in the skill. Still kills the player who launched it. |
| 01-12-2004, 08:56 PM | #7 |
The Kaboom Ability does NOT defualt to blank targets (unless yor looking at the wrong field, your supposed to be looking at the "Stats - Targets Allowed" not the "Art - Targets") The defualt for Kaboom is "Ground, Structure, Tree, Debris, Ward" change that to "Enemy, Structure, Tree, Debris, Ward" and it will only effect enemy ground units, enemy buildings, enemy wards, Debris and trees. |
| 01-12-2004, 10:37 PM | #8 |
I understand exactly what you are talking about. I was referencing the stats-targets allowed field as well. If you try it for yourself, you will see it does not work. You will kill yourself. I have a trigger set so it creates a unit, orders the unit to kaboom next to me and a few other enemy units. Everyone dies including myself. If you're like, you can try it for yourself. But i've been dealing with it for the better part of today and am fed up. I am going to try a different approach. Thanks for the help though. |
