u shouldn't post the same thing twice
but anyway what makes the actor roll?
if it's in script editor u can just create a new variable named roll or something
then if you have like
- Code: Select all
xvelocity=5;
you write
- Code: Select all
if(roll==1)xvelocity=5;
else xvelocity=0;
then add new script in create actor event and write
- Code: Select all
roll=1;
if you want it to roll on start up
then you add a script on collision and write roll=0; the animation changing script and also create a new timer
then in the timer event u write roll=1;
have fun