Now, after testing it out, it does work. The character heals some amount of health for a 100 energy penalty. There's no cool sound, nor effects, but hey, at least it works.
However, after modifying my map to accommodate the WoW style controls that I really like, the ability doesn't work. The WoW style camera and controls require that the character you're playing to be unselected, and unselectable. Basically, the character is given orders via trigger, instead of actually carrying them out when you command it. In this case, the player is required to press T for the unit to use Health Kit.
Unfortunately, I really don't know where I screwed up. You see I made two other custom abilities, and with the help of other forum goers here (Trieva, and ScorpSCII, thank you very much) I DID get those abilities to work. What boggles my mind is that, the Health Kit ability is simpler; no need to target, nothing to aim, no animation required, much like the Marine's stimpack, and yet it doesn't work.
I will upload my maps for any tester to download, if they feel it can help solve this problem.
I have a hunch that your Issue Order action isn't set up properly. If it is an ability without a target you need to select "Issue order without target" in the parenthesis. Other than that, you can check the cost or any validators on the ability. Recheck the Event to make sure the correct player trigger and unit variable are set.
I've made an Instant Self Heal ability using this tutorial:
http://www.sc2mod.com/board/index.php?page=Thread&threadID=119
Now, after testing it out, it does work. The character heals some amount of health for a 100 energy penalty. There's no cool sound, nor effects, but hey, at least it works.
However, after modifying my map to accommodate the WoW style controls that I really like, the ability doesn't work. The WoW style camera and controls require that the character you're playing to be unselected, and unselectable. Basically, the character is given orders via trigger, instead of actually carrying them out when you command it. In this case, the player is required to press T for the unit to use Health Kit.
Unfortunately, I really don't know where I screwed up. You see I made two other custom abilities, and with the help of other forum goers here (Trieva, and ScorpSCII, thank you very much) I DID get those abilities to work. What boggles my mind is that, the Health Kit ability is simpler; no need to target, nothing to aim, no animation required, much like the Marine's stimpack, and yet it doesn't work.
I will upload my maps for any tester to download, if they feel it can help solve this problem.
Thanks.
These are the maps. The only difference between the two is that one has WoW Style Controls and the other does not.
Link Removed: http://www.mediafire.com/?jcwqhyqystqdrsl
The WoW controls are based on a tutorial on YouTube.
@zack_falcon: Go
I have a hunch that your Issue Order action isn't set up properly. If it is an ability without a target you need to select "Issue order without target" in the parenthesis. Other than that, you can check the cost or any validators on the ability. Recheck the Event to make sure the correct player trigger and unit variable are set.
@Monictor: Go
Thanks for the reply. I tested it out with some people from SEA, and according to them, it is set up properly.
The picture in my first post shows that the ability does work, in the normal play style.