Blockland Forums > Modification Help

OnLoad?

Pages: << < (2/2)

Trader:

Well, you're probably out of luck unless you get your hands on the current onWake code for that GUI.  If you were to code a new onWake for that GUI, it would override it and, well, not work out well for you.

Oxcorp:

You'd have to find when the gui is being exe'd then put the function right beside it.

Jookia:

O.o

Trader:

Oxcorp, you're a bit off track here.  It's not about when the GUI is being exec'd, it's about when the GUI become active (ie - when the user starts using it).  That's what onWake means.  That's why Jookia isn't going to have much luck, because I'm sure the MainMenuGui.onWake has already been defined.

Oxcorp:

Oh, lol. Forget what I said xD

Pages: << < (2/2)

Go to full version