I'm trying to set up a turn on/off ability but I can't seem to get it to work.
The turn-on button is visible in the beginning. When I press the button it vanishes. The Turn-Off button doesn't show up. My unit has no buttons.
Here's what I got:
1. The unit has the ability.
2. The unit has both buttons on the command card in separate slots.
3. The command type of both buttons is set to 'Ability Command'.
4. I made sure to select the right ability for both buttons.
5. Both buttons have the right command type, the same type I specified in the ability under 'Ability Turn On Default Button' and 'Ability Turn Off Default Button'.
6. I tried using a different behavior just to make sure that isn't the problem.
Is the flag "Toggle" checked? And made sure that youre turn off command doesn't have a behavior? These are the two most obvious causes I can think of at the moment.
i never made a toggle ability, but i was thinking if this doent work you could also do it with a requirement right, if the behavior is on restrict the button, when its off allow it.
This is really strange.
Thanks for the toggle flag, I missed that one.
Now I really have no idea what's going on. Using cloak instead of my own effect it's still buggy. The unit gets cloaked but the turn-off button doesn't show up. I wait a few seconds and it reappears. Anywhere from five to thirty seconds. Now I can turn it off and on again. And there is nothing with a timer in this thing.
It makes no sense at all q.q
I'm thinking I'll start over from a new cloak copy so I can see where there is a mistake.
edit:
Nevermind, some trigger was hiding the ability button all along and I didn't know about it cause it's not my own map :7
Hey
I'm trying to set up a turn on/off ability but I can't seem to get it to work.
The turn-on button is visible in the beginning. When I press the button it vanishes. The Turn-Off button doesn't show up. My unit has no buttons.
Here's what I got:
1. The unit has the ability.
2. The unit has both buttons on the command card in separate slots.
3. The command type of both buttons is set to 'Ability Command'.
4. I made sure to select the right ability for both buttons.
5. Both buttons have the right command type, the same type I specified in the ability under 'Ability Turn On Default Button' and 'Ability Turn Off Default Button'.
6. I tried using a different behavior just to make sure that isn't the problem.
Anything I could have missed?
@Thorgan8: Go
Is the flag "Toggle" checked? And made sure that youre turn off command doesn't have a behavior? These are the two most obvious causes I can think of at the moment.
@TheAlmaity: Go
i never made a toggle ability, but i was thinking if this doent work you could also do it with a requirement right, if the behavior is on restrict the button, when its off allow it.
This is really strange.
Thanks for the toggle flag, I missed that one.
Now I really have no idea what's going on. Using cloak instead of my own effect it's still buggy. The unit gets cloaked but the turn-off button doesn't show up. I wait a few seconds and it reappears. Anywhere from five to thirty seconds. Now I can turn it off and on again. And there is nothing with a timer in this thing.
It makes no sense at all q.q
I'm thinking I'll start over from a new cloak copy so I can see where there is a mistake.
edit:
Nevermind, some trigger was hiding the ability button all along and I didn't know about it cause it's not my own map :7