your running a lite-c project here?

action/function is replaced by void (however function still works).
that should fix it...

also, you gotta initialise variables at the beginning, so set these 2:

var walk_percentage;
var distance_to_ground;

to:

var walk_percentage = 0;
var distance_to_ground = 0;



that's about it smile

regards,


Formerly known as dennis_fantasy
Portfolio - http://www.designorhea.com/
Project - http://randomchance.cherrygames.org/