| 01-20-2009, 02:28 PM | #1 |
For instance: Unit A casts Thunderbolt to unit B. Unit B (or perhaps a dummy unit owned by unit B) then receives this ability for a brief moment. And also; is it possible to give a unit a spell block ability which only activates every once in a while/with cooldown. It seems like if I gave a unit the spell block ability it can be actively used, which is bollocks because I need it to be passive but with a cooldown. :D I am thinking of an amusing ability with these functions. |
| 01-20-2009, 02:40 PM | #2 |
Yes. |
| 01-20-2009, 06:35 PM | #3 |
Uhh... may I ask how? Mind you I deal mostly with GUI. And by "mostly" I meant "only", due to my incompetence with any other triggering methods. |
| 01-20-2009, 07:15 PM | #4 |
anitarf is a pure jasser |
| 01-20-2009, 09:47 PM | #5 |
For the stormbolt thing, just store the unit that was targetted when A used the spell, and then give him the ability being cast. If you want to set the level you can also do that depending on what you want it to level up on. Also, you can make a timer/wait after X seconds to remove the spell once added to unit B. |
| 01-21-2009, 08:34 AM | #6 |
Oh so that's what "store" is for eh. I assume that this store function can be used to recognise a "unit receiving damage" sort of situation as well? |
| 01-21-2009, 09:17 PM | #7 |
Unit - Add <Ability> to unit? Unit - Set level of ability for unit to #? |
| 01-21-2009, 10:41 PM | #8 |
Don't know what you mean by store, but I meant store as in a variable that stores units inside. |
| 01-23-2009, 01:10 PM | #9 |
Wait, I just realised why I never got this ability to work. I was working on the basis that if Unit A spells Unit B, that a dummy unit can be given unit A's ability. However, Unit A can be a Hero casting a Hero spell, and the dummy will most likely be a normal non-hero unit. Ok I will now experiment with a Hero dummy unit, see if it works, but meanwhile here's another question: can we add a cooldown effect (the icon spin thing, I mean) to a passive ability? I think I've seen it in DotA. |
| 01-23-2009, 03:50 PM | #10 |
you can give hero abilites to normal units without any problems ...(with triggers of course). you can even increase the level of a hero ability on a normal unit ... |
| 01-23-2009, 04:12 PM | #11 | |
Quote:
And akolyt0r is right about the hero skill. |
| 01-23-2009, 04:16 PM | #12 | |
Quote:
the thing in Dota are abilites based of orb of lightning (item ability) .... thats the only way ...and a pretty sucky one, too. If you edit orb of lightnings effect ability to ..some activated (single target) ability... When orb of lightning triggers it will apply that ability to the target ...and show a cooldown on the icon, which will not be the icon specified in orb of lightning, but the disabled one of the "effect ability".. However ...not all single target abilites work with orb of lightning, and orb of lightning only triggers on ordered attacks (will not trigger on autoaquired targets). |
| 01-23-2009, 06:30 PM | #13 |
Thanks guys. Heh I never knew that stuff about the Orb of Lightning thing. Or that normal dummy units can be given Hero abilities (where have I been, eh?). This has been an informative topic. Thanks again. |
