AGS Pointers for Dummies: Difference between revisions

Jump to navigation Jump to search
*>Monkey 05 06
*>Monkey 05 06
Line 57: Line 57:
=Assigning A Pointer A Value=
=Assigning A Pointer A Value=


To make a pointer ''point'' to a GUI, you assign it the value of the GUI you want it to point to (with the assignment operator, '='). So to make GUIPointer point at the GUI named MYGUI, you would type:
To make a pointer ''point'' to a GUI, you assign it the value of the GUI you want it to point to (with the assignment operator, =). So to make GUIPointer point at the GUI named MYGUI, you would type:


   GUIPointer = gMygui;
   GUIPointer = gMygui;
Anonymous user

Navigation menu