HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Trouble with targets

03-20-2006, 09:39 PM#1
knutz
I'm having trouble customising a couple of abilities:

Death Pact
-----------

This can only target undead, but I can't find what it is I have to change to have it target any non-hero unit.

The allowed targets are: Air, Ground, Invulnerable, Non-Hero, Player Units, Vulnerable.

Devour
-------

I'm turning this into a hero ability, but it won't work. I'd like it to work on both hero and non-hero, but I can't seem to get it to do anything.

The allowed targets are: Enemy, Ground, Neutral, Non-Hero, Organic.


I know these can work as I'd like them to - DotA Allstars uses them. I just can't figure out what to do with them.
03-20-2006, 10:11 PM#2
Immoralis
somethings can only be targeted to others, its just hardcoded. and death pact isnt hard to trigger
Quote:
The allowed targets are: Enemy, Ground, Neutral, Non-Hero, Organic.
take out NON-HERO

PS: dont just do things because dota can/does it.
03-20-2006, 10:50 PM#3
Panto
For Devour, the unit also has to have the Cargo ability associated with Devour.
03-21-2006, 07:07 AM#4
Anitarf
For death pact, it's possible that the spell is hard-coded to only work with undead units. You can trigger it instead.
03-21-2006, 11:37 PM#5
knutz
Quote:
Originally Posted by Panto
For Devour, the unit also has to have the Cargo ability associated with Devour.

Cheers for that - got it working now.

Just trying to figure a way to get the hero to spit out his victim after certain time now. Unload all doesn't seem to work, neither does moving the victim instantly. Not a priority though.
03-21-2006, 11:48 PM#6
knutz
Quote:
Originally Posted by Immoralis
PS: dont just do things because dota can/does it.

Just that I'm trying to give every hero different abilities. There aren't that many hero abilities worth using in a DotA style map (as is mine - but with 4 teams) so if I can convert some cool unit abilities into hero ones, it'll make it a bit more interesting.

And if abilities are hard-coded for undead-only, it makes using the hero on another team a little pointless. But I'll ask how to fix that in the trigger forum.
03-21-2006, 11:57 PM#7
Immoralis
you cant 'fix' hardcoded stuff...
03-22-2006, 12:28 AM#8
Panto
You can, however, replicate the effect quite handily. The Triggers and Scripts forum is the right place to go. Good luck :)
03-22-2006, 01:25 AM#9
Immoralis
Quote:
Originally Posted by Panto
You can, however, replicate the effect quite handily. The Triggers and Scripts forum is the right place to go. Good luck :)

replicating the effect by means of another ability doesn't mean you are "fixing" it. you are just useing something else that is totally unrelated to the old one but you are trying to mimic it's effects
03-22-2006, 06:45 AM#10
Panto
No one implied otherwise.
03-24-2006, 10:10 AM#11
knutz
Quote:
Originally Posted by Panto
No one implied otherwise.

Thanks, did that, it worked.