Jump to content

[SOLVED] Howto convert GUI_ALIGN_*


photo

Recommended Posts

Hello together,

 

I have a little problem:

 

I would like to cast a string with "GUI_ALIGN_CENTER" to the defined Ungine -> https://developer.unigine.com/en/docs/1.0/scripting/library/gui/class.gui#GUI_ALIGN_CENTER

Is this possible? int("GUI_ALIGN_CENTER") or call("GUI_ALIGN_CENTER") isn't working.

Also it would be cool if "GUI_ALIGN_CENTER | GUI_ALIGN_OVERLAP" would work aswell.

I could write a select-case for this but maybe theres a better solution?
Thanks for the feedback

Greetings

Lars

Link to comment
×
×
  • Create New...