I wonder if it is possible to customize what Army button does (and its icon)? Furthermore is it possible to add additional buttons like that?
If it is, maybe someone could direct me to corresponding tutorials.
I dont know about customizing the button, but creating another button it pretty simple really, you just need to create a dialog button and locate it somewhere on the screen.
Then you could make the the trigger with the event "Dialog item used" (for clicking the button) also have the event of pressing your desired hotkey.
Basically you want a button with a certain action, the action is done with a trigger (obviously) you just need to specify the event to your need; pressing a hotkey or using a dialog item.
Yeah, thats one way of doing it, just wanted to make sure, its not possible to reuse already available resources for cleaner project =]
"Only register for this event when you absolutely need it, as it will generate network traffic from all players for every button they press. This event fires when a player presses a command card button. Use "Button Pressed" to get the button that was pressed."
This was bugging me, pretty inefficient
You want to use the "Key Pressed" - I'm not at a computer with the editor on, but I am nearly 100% sure that's the one. The button pressed event, checks when a button (the Data type) is pressed.
I'm on a page about incorrect corrections, and spent the better part of like two hours trying to get someone to understand that -5^2 = -25, not 25, and then that post had comments get reposted because that group is self sustaining, and that person was in turn trying to explain what I just explained to them. And I'm taking that as a victory