obj/Huds
Test_Button
name = "Test"
icon = 'button.dmi'
icon_state = "Test"
layer = AREA_LAYER+1
New(client/c)
screen_loc = "1,1"
c.screen += src
Essentially, I am stuck here with what to do next.. What I am trying to do is make this button run a proc in game. For example let's say this was a button to turn flight off and on.
I've tried using Click() with usr.Flight() which doesn't bring back an error but also doesn't work once I run the game, which makes me think I'm on the right track.
Here you have an example