I've been messing around with model animation, and I created a "counter" model consisting of a box with a window showing a spinning disc not unlike a mechanical odometer. The actual appearance of the model is irrelevant, but what
is relevant is that I defined a $sequence for each digit (0-9) and named each one just that digit. The purpose of doing this was so I could presumably connect a math_counter's OutValue output directly to the prop_dynamic's SetAnimation input. However, when I tried that, each time the output was called, the following error was outputted to the console:
!! ERROR: bad input/output link:
!! prop_dynamic(counter_prop,SetAnimation) doesn't match type from math_counter(auto_counter)
I assume this is because the math_counter is returning a numeric value, whereas SetAnimation is expecting a string value. How can I tell the engine to treat the number as a string?