I feel a bit silly about not being to work this whole scripting thing out but I tried theses to get the button to display the save dialog but they didn't work.
Code: ags
Code: ags
I guess I'm looking for these bits of script use for my GUI buttons.
Bringing up the save game dialog
Bringing up the quit dialog
Walk
Look
Talk
Pickup
Touch(or I think it's called interact)
Inventory
function save_Click(GUIControl *control, MouseButton button) {
SaveGameDialog ()
}
function save_Click(GUIControl *control, MouseButton button) {
SaveGameDialog
}
I guess I'm looking for these bits of script use for my GUI buttons.
Bringing up the save game dialog
Bringing up the quit dialog
Walk
Look
Talk
Pickup
Touch(or I think it's called interact)
Inventory