HeroEngine Forums
Welcome, Guest. Please login or Register for HeroCloud Account.

Author Topic: [Resolved] Bring a GUI to the front on Build?  (Read 1437 times)

GFG_Ulfrpsion

  • General Accounts
  • *
  • Posts: 40
    • View Profile
[Resolved] Bring a GUI to the front on Build?
« on: Feb 11, 12, 03:11:20 AM »

Does anyone know of a way to bring a GUI window the very front of the view-port on build so that it appears above other GUI windows already built?

Thanks!
« Last Edit: Nov 01, 12, 10:12:27 AM by HE-Cooper »
Logged

Dothackking

  • General Accounts
  • *
  • Posts: 34
    • View Profile
Re: Bring a GUI to the front on Build?
« Reply #1 on: Feb 11, 12, 03:24:10 AM »

There's a script full of "add back "x" to layers", you can do a search all for it, I am not in my project at the moment to check for you
Logged

GFG_Ulfrpsion

  • General Accounts
  • *
  • Posts: 40
    • View Profile
Re: Bring a GUI to the front on Build?
« Reply #2 on: Feb 11, 12, 05:59:10 PM »

Ah, very nice!

For anyone that has a similar question about what the solution method is:

Every GUI window has a layer option. It takes a string to notify what layer the GUI resides on.
If you open the script "E_GUIClassMethods", you will find a series of layers as strings in a list.

The list displays each layer in order of precedence. Select the layer you want your GUI to reside on and copy/paste that into the GUI window's layer option.
Logged

Dothackking

  • General Accounts
  • *
  • Posts: 34
    • View Profile
Re: Bring a GUI to the front on Build?
« Reply #3 on: Feb 11, 12, 06:40:38 PM »

Ah, very nice!

For anyone that has a similar question about what the solution method is:

Every GUI window has a layer option. It takes a string to notify what layer the GUI resides on.
If you open the script "E_GUIClassMethods", you will find a series of layers as strings in a list.

The list displays each layer in order of precedence. Select the layer you want your GUI to reside on and copy/paste that into the GUI window's layer option.

You can also create a custom layer inside of your GUI window, and then "add back" int he E_GUIClassMethods
Logged