I'm trying to change science vessel's irradiate ability so that when I press the button the ability is instantly used on the caster, like the way ghost's cloak works (I'm trying to make something like WC3's immolation spell).
But so far nothing I've tried works and whenever I press the ability button it asks me to select target, at which I have to manually click on the caster to get the desired effect. What do I have to edit to change this?
Look at how cloak is set up. Might be similar. I'm looking at cloak right now and it says it's a behavior. I'm not entirely sure but that sounds to be what you might want. I would try that but would also wait for someone else to say something.
@Keyeszx:
Click twice on Irridiate from Ability tab, and change its nature from Effect - target to Effect - instant.
With some changes on filters and authorized targets, this should do.
I'm trying to change science vessel's irradiate ability so that when I press the button the ability is instantly used on the caster, like the way ghost's cloak works (I'm trying to make something like WC3's immolation spell).
But so far nothing I've tried works and whenever I press the ability button it asks me to select target, at which I have to manually click on the caster to get the desired effect. What do I have to edit to change this?
Look at how cloak is set up. Might be similar. I'm looking at cloak right now and it says it's a behavior. I'm not entirely sure but that sounds to be what you might want. I would try that but would also wait for someone else to say something.
I actually found an easier way. I just took the ghost's cloaking ability and replaced the effect with irradiate and voiala! Worked like a charm ^^