Hello guys, first I tell you I'm noobs & english bad
I'm making MMO map. I made character(unit) and his ability. I made 3rd-view. but there is problem of select.
when I click enemy or other unit, I loss my character's command-board. and I can't control my character.
easly, imagine WOW.
I want thing is that I always control my one-character regardless of any click and can use abil to target.
Now there's a fun problem! And it's a bit complicated. I've made you a map to demonstrate it.
The way I accomplished this, you'll need a dummy ability for each ability with a target that each unit has. This dummy ability should have the cost in it, in order to prevent casting when you don't have enough energy/life/etc. The dummy ability should be enabled/disabled in the NoDeselectingMainUnit trigger based on whether it is valid for the last selected target. I went ahead and double checked validity in the UseAbilityOnTarget trigger.
You should be able to figure out anything else I did based on the comments and triggers in the attached map file.
Is its target a point? To be clear, I've attached an image showing where there are multiple different lists of abilities. Click the parenthesis right before the ability in the Grammar view, or use the Tree parameter view to select a different type of ability.
You need to set a Default Button for every one of your abilities. Once you add a default button to each of your abilities, they DO appear in the ability list as you would expect. (Additionally, the abilities shouldn't be usable on the characters to begin with if they don't have a default button and have that button selected in the unit's command card, where it says Ability Command. See second image.)
Hello guys, first I tell you I'm noobs & english bad
I'm making MMO map. I made character(unit) and his ability. I made 3rd-view. but there is problem of select. when I click enemy or other unit, I loss my character's command-board. and I can't control my character.
easly, imagine WOW. I want thing is that I always control my one-character regardless of any click and can use abil to target.
plz...solve my problem.
Now there's a fun problem! And it's a bit complicated. I've made you a map to demonstrate it.
The way I accomplished this, you'll need a dummy ability for each ability with a target that each unit has. This dummy ability should have the cost in it, in order to prevent casting when you don't have enough energy/life/etc. The dummy ability should be enabled/disabled in the NoDeselectingMainUnit trigger based on whether it is valid for the last selected target. I went ahead and double checked validity in the UseAbilityOnTarget trigger.
You should be able to figure out anything else I did based on the comments and triggers in the attached map file.
@DeProgrammer: Go
Thanks! your DEMO is good!
I don't know it's mechanism, still. but I'm going to study this map, and I will know it.
thanks!! :)
@DeProgrammer: Go
I didn' find my ability in <useAbilityOnTarget>-<act>-<if, then>-<then>-<ability>
How can i choose my ability?
Is it an ability that doesn't require a target? Check the ability type in the trigger.
@DeProgrammer: Go
No, my ability type is <effect-target>. but in your trigger, I didn't find my ability. also, other based ability too.
in <reference-value>, there are few ability list. about 30?. (but sc2 has more than hundreds abil)
again, I'm noobs sc2-tool
Is its target a point? To be clear, I've attached an image showing where there are multiple different lists of abilities. Click the parenthesis right before the ability in the Grammar view, or use the Tree parameter view to select a different type of ability.
@DeProgrammer: Go
in trigger field? ha... I can't find your image in my tool.
@northwind16: Go
ah... your second image used for me. I'll try it
@DeProgrammer: Go
I can't it... could you fix my map? I'm going to mail to you and attach my map.
Sure. :P
The problem:
You need to set a Default Button for every one of your abilities. Once you add a default button to each of your abilities, they DO appear in the ability list as you would expect. (Additionally, the abilities shouldn't be usable on the characters to begin with if they don't have a default button and have that button selected in the unit's command card, where it says Ability Command. See second image.)
@DeProgrammer: Go
Thank you very much! I solved it! :)