Proper "MapTrack" syntax?


In my game, I have a simple animation for when a coin is collected. My original problem was that the prefab animations would not link properly. But thanks to @mafiesto4, I discovered MapTrack. It seems to do exactly what I want it to. But I’m trying to get it to link at runtime for each of those prefabs. Currently, I have this in my OnReady function:
animPlayer.MapTrack(“Cylinder”, Actor.GetChild(0).ID);
But it throws the following errors:

How could I fix this?

There was bug for Actors mapping. Fixed on master (will be in the next hotfix update later this week).

1 Like