Jump to content

[SOLVED] How to i pass parameter from button callback?


photo

Recommended Posts

You can pass a string argument:

<callback type="clicked" string="1">TestGui::SelectButton</callback>

 

Or pass a script variable by it's name:

<callback type="clicked" variable="the_name_of_variable">TestGui::SelectButton</callback>

Link to comment
×
×
  • Create New...