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. )