Army Button Customization

exortas

New Member
Reaction score
0
Hello,

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.
 

X-maul

AKA: Demtrod
Reaction score
201
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.
 

exortas

New Member
Reaction score
0
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
 

X-maul

AKA: Demtrod
Reaction score
201
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.
 

exortas

New Member
Reaction score
0
=]] No, i really don't want to use that. that limits me only to the keyboard event listening and it has same firing process as the button pressed
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top