Can you call animated faces on a Cube

I want to have a cube with 2 of its faces animated. I know I can animate these in Blender on a loop cycle.
But what I really want to achieve is that individual faces will animate dependant on the situation / user input. Is this possible?

To my very limited knowledge you’d have to use a script that gathered the input, and then choose which textures to assign in order from an array using a script.


if(trigger == true)

function animateFaces(which)
if( true )
check delta time
swap to next texture
swap to OTHER texture set when delta time is met

sorry Im doing payroll also, so I don’t have time to hash out better than pseudocode