Hi Samantha,
Thanks for the file.
The problem is a result of the two Hierarchy nodes not being in sync. (Yellow marks). In other words, first, the Hierarchy (1) is processed, then the second one. They do not give out index 0 for both, then 1 for both, an
I have attached two so o version, of how to overcome this.
Files and a screen-capture:
https://www.amazon.com/clouddrive/share/DVVtChs7HWcI0HxgL5tkRwhiJKFo2TEonQj7van8ovv
The file …_01.c4d uses several Nulls that serve as storage. First, it writes the Global Position to them. When all data is stored, the process after that is to give it all to the text.
The file …_11.c4d does the same but uses a single polygon with enough points to store information. In that way, fewer objects are in the scene. The Plane could be cached with a Point cache if there is any interest in such.
One little note, on the left side in the Xpresso editor, you can sort the names of the nodes to get the processing in order. Typically Xpresso uses what is needed, but if not available, it takes what was left from a frame before, and before, and so on, which can get ugly after a while (scene parts may lag).
All the best