I am creating a ghost hero with an ability I am calling Clairvoyance, which acts like a radar. Each level will add range to the radar as well. I've watched several tutorials but I am still stumped.
Here's what I got so far:
[UNIT]
Ghost Hero
added Ghost Learn (ability)
added Clairvoyance (ability)
added Ghost Level (behavior)
command card(1)
Learn (button) as Submenu (2) > Ghost Learn
command card(2)
Clairvoyance (button) as Ability Command > Ghost Learn > (?, no command to activate)
I have a feeling it is the events on the actor that is causing the problem. The tutorials I've watched never showed a passive ability like this, only usable ones and they set the events like so. However, it may be the command card not actually learning the ability, but if I have multiple skill points I can clearly see myself leveling up the ability.
Thank you, I followed your tut and it works almost completely. The only problem is that the ability seems to have a point in it from the start and thus is already active.
EDIT
Nevermind, I figured it out, forgot to set the requirements for the other levels and they activated.
I am creating a ghost hero with an ability I am calling Clairvoyance, which acts like a radar. Each level will add range to the radar as well. I've watched several tutorials but I am still stumped.
Here's what I got so far:
[UNIT]
[ACTOR]
[ABILITIES]
[BEHAVIORS]
[EFFECTS]
[BUTTONS]
I have a feeling it is the events on the actor that is causing the problem. The tutorials I've watched never showed a passive ability like this, only usable ones and they set the events like so. However, it may be the command card not actually learning the ability, but if I have multiple skill points I can clearly see myself leveling up the ability.
bump
@Craetions: Go
Have you watched my tutorial yet on passive abilities?
http://forums.sc2mapster.com/development/tutorials/8374-data-levelable-passive-hero-abilities/
@Suterusu1337: Go
Also make sure that:
command card(2)
In your learn ability, associate a button with the ability to learn and it will show up when you add the ability command.
Also, you don't need to make effects, that is what you are doing wrong.
[EFFECTS]
Apply the behaviors directly to your unit and create requirements for your behaviors to enable them.
If you follow the guide I posted above this will work.
Thank you, I followed your tut and it works almost completely. The only problem is that the ability seems to have a point in it from the start and thus is already active.
EDIT
Nevermind, I figured it out, forgot to set the requirements for the other levels and they activated.
Now, how to keep the radar from showing on the minimap? it wont do me any good for the other players to see the radars and thus know their location.
EDIT
Found it. Flag on the actor, range flag minimap