One way to record what avatars are doing in your simulation is to use bots. Duke University School of Nursing is using Bots. There is some scripting, and cost. But you can collect all kinds of data. But then you need to figure out how to process that data.