Quote from: Ryan Timothy on Sun 26/02/2012 23:15:01
I don't know anything about Abstauber's module but I do know what your error message is telling you.
If you have a struct and want to have a function work for that struct you import it into the struct (or an extender method).Code: ags struct CustomDialogGui { //some variables are defined here import init(); //this is where it imports that function you're describing };
If you've removed the line "import init();" or renamed it, your error message would be: 'CustomDialogGui' does not contain a function for init
This function:Code: ags function CustomDialogGui::init() { //etc.. }
Means that this function belongs within the struct CustomDialogGui. Hence the CustomDialogGui::init
The function works like so
customDialogGui.init();
Basically just like all the Character.Say Character.Walk functions that come with AGS. These are all functions within the Character struct.
Thanks Ryan
I fooled with this yesterday until I was crosseyed, finally had to take a break. I'm gonna look at it again and see what happened to the input.
I worked with the Make New Text GUI some as well but all I get is one box (not eight) and when I upload my custom box border it displays wrong and has big black arrows all over it. Anybody know what I am doing wrong with this particular piece of editing.