Hi all, I'm trying to assign the contents of a textbox into a variable, however for some reason I just can't seem to get it to work.
The variable will always return null/0. The code looks like it should work as far as I can see:
Code: ags
I feel like the solution is probably really obvious, but I just can't figure it out. :/

function tInput_OnActivate(GUIControl *control)
{
String userInput;
userInput = tInput.Text;
Display("Text is: %d", userInput);
}
I feel like the solution is probably really obvious, but I just can't figure it out. :/