Is is possible to change a value for a script inside the animation editor? Essentially, I would like to change a value at different point in an Animation.
In one animation, I actually have different meshes for every frame (there is a reason for this I promise). I would like to use the animation editor to simply change the variable storing the frame number. Is this possible?
Of course it is possible, but it doesn’t make sense the way you want to use it. Animations are simulated timebased! All animated values are interpolated between the keyframes. You will almost never get the value at a certain keyframe since the visual frames will be between your keyframes.
Example: You have a simple animation with 4 keyframes an animate a value the way you suggested: