ID:103716
 
Applies to:DM Language
Status: Open

Issue hasn't been assigned a status value.
Well I would like to request a way to pass information of a button through commands, instead of doing checks, if there is already something like this please just tell me (don't become a troll), so anyway what I'm suggesting is something like this:

"this.width" or "this.text"

so a command could be "GetButtonClicked this.id this.text this.width"

client
verb
GetButtonClicked(ID, Text, Width)
world<<"[ID] which is named [Text] was clicked while having [Width] Width"


or something similar, that way it would be easy to receive information about the button that was clicked!
I'm not sure if there is a way to do this currently.

My interface library lets you create objects in DM to represent interface controls. These objects cache property values so you can reference them without a delay. If you don't have any client-side events that change the button's size or text, the server will only need to request the size/text values from the client once.
Forum_account wrote:
I'm not sure if there is a way to do this currently.

My interface library lets you create objects in DM to represent interface controls. These objects cache property values so you can reference them without a delay. If you don't have any client-side events that change the button's size or text, the server will only need to request the size/text values from the client once.

Saw it but never really tried it, alright then I'll give it a go :).