Help needed in developing NPC buttler: recording actions and then playing them back triggered by zones etc


#1

Working on developing an NPC, by recording some actions and then playing it back.
I had seen this old post, and it has most of the functionality I would need, but its too old and its methods dont seem to work anymore.

I used the “record” app on the interface, and it records your actions, but I need to be able to trigger these recordings with zones, so that as the user enters a zone, a particular Buttler recording plays, with movements and voice.

Is anyone familiar with setting these up?

Thank you, JcFractal.


#2

To write script(s) to do this you’ll need to use, in particular:

For info on how to use the Recording API, the source code of the Record app should help. You can obtain it from the “hifi” GutHub repository at: https://github.com/highfidelity/hifi/tree/master/unpublishedScripts/marketplace/record