I'm looking for a way to change parts of a line of script.
I use afrlme's definition script for controlling animations.
A line of script looks might look like this:
setFrames("animation42", 5)
I would like to be able to change parts of this line by calling a value. I'm aware I can't just make it work like this:
setFrames("<vs=which_animation>", 5)
or this:
setFrames("Animation<v=animation_number>", 5)
or this:
setFrames("Animation42", <v=which_frame>)
However those examples describe pretty much exactly what I would like to do. Is this even possible?