ID:141127
 
Problem description:
I'm making a skin with a button, and when the user presses the button, I want it to change it's icon.

The command I have on my button under Options is: choose_medic

I have also tried:
choose_medic()
.choose_medic
.choose_medic()

Here's my code.
        choose_medic()
set hidden = 1
usr.icon = 'rebel_m.dmi'


What am I doing wrong? ( I have it set as a pushbutton. )
Verbs in commands, like macros, are typed out "verb-name". Spaces replaced by dashes, not underscores. No parentheses required.
In response to Kaiochao
Oh, thanks a bunch, Kaio. <3