in the action of the entity you just call the new action you want it to run
after some instructions it will run newaction
code:

action newaction()
{
.....
}

action oldaction()
{
.....
.....
.....
.....
newaction();
}

that should do the job


Check out the throwing game here: The throwing game