How can that be implemented??
Pretty simple, you just add on * (pluginstate[ ]) with the appropiate state number, in this case since the 2 key didn't had anything coded in, it was * (pluginstate[98]) next to the code for the animated doors. In this case, this train will have individual car numbers so the last 5 animated files have the code in place while the first 5 don't.