so something along the lines of
Code:
action player_act ()
{
    if (my.state == 2)
    {
        state_attack () // call the action
    }
}



And so on?

Last edited by Panda_Dude; 04/10/11 21:03.