I've been trying to figure this out, but it never worked like it should.
I want to create an empty button on the command card of a unit, the button will be to my desire, I can place it normally using the command card data of the unit, but I want the button to do absolutely nothing.
Only thing it should do is be able to be pressed, but pressing it would do nothing. That way I can make a trigger work with the event "Button is pressed" following by my personal actions, while the data remains quite.
Create a dummy ability under Effect - Instant which does nothing, add the ability to your unit and add the command card button with the ability set to your dummy ability, the Ability Command field will be blank but this doesn't matter.
In the trigger use the event Any unit is issued order to <your dummy ability>
At first the ability had no effect, so i added one, and make the effect do nothing, didn't work.
Only way to prevent the crash is to remove the dummy empty ability from the unit.
I've been trying to figure this out, but it never worked like it should.
I want to create an empty button on the command card of a unit, the button will be to my desire, I can place it normally using the command card data of the unit, but I want the button to do absolutely nothing.
Only thing it should do is be able to be pressed, but pressing it would do nothing. That way I can make a trigger work with the event "Button is pressed" following by my personal actions, while the data remains quite.
@38dedo: Go
Create a dummy ability under Effect - Instant which does nothing, add the ability to your unit and add the command card button with the ability set to your dummy ability, the Ability Command field will be blank but this doesn't matter.
In the trigger use the event Any unit is issued order to <your dummy ability>
@Elemeno: Go
Still does me the same thing it always does: i test document, and when the bar on loading screen is at around 80% it crashes.
@38dedo: Go
That's odd, this method works perfectly fine on my map. Could something else be at fault for the crash?
@Elemeno: Go
At first the ability had no effect, so i added one, and make the effect do nothing, didn't work. Only way to prevent the crash is to remove the dummy empty ability from the unit.
@38dedo: Go
my dummy abilities are just abilities without any effect applied to it.
they do have a button set on them.
Ability - Commands - Default Button : (Character Sheet|)
Effect - Effect : () <== I've picked (None) from the list.