hello people

For reasons of neatness and clarity I'm trying to set the animdist and frame group of my player entity (mei_mo) from a rather lengthy function called by a key press (instead of the player entity's action). In some desperation I tried

you = ptr_for_name("mei_mo");
ent_frame("Drift",you._animdist);
you._animdist = wind * (100 / spar4[0]);

I thought it wouldn't work though, and obligingly it didn't. I really don't have any idea how to solve this sort of problem. please help

im using the older A5 standard


I HEART 3DGS