Rpg coding question(in relation with stats)

like the title said,
i would like to give my characters speed stats but iam wondering if it is possible in ac to actually have the character benefit from the stat during battle(less wait time) if so would there be a way to connect that to a wait bar that loads up with a speed based on that stat?

Yeah there is a way, hold on while I see if I can get an example working while I mess around with my own little game.

Here, it gives a random speed 1-10 and then moves the wait bar based on the speed. I may have done this a hard way but that is just because I’m still learning actionscript.
Someone can delete my previous post.

a code’s a code so i can’t missout on that,although i can probably mess around with the speed by using instead of random, speedstat trough different calculations,
and thanks for helping me :slight_smile:

Yeah it should be easy enough to mess around with that. Just change the value of speed.