VHost Support

SitePal Conversation

Two Scenes embedded in a page with a scripted conversation utilizing vh_talkEnded, and vh_sceneLoaded


Start the Conversation

The male SitePal on the left (Austin) has its Scene reference assigned to a variable a. The returning value of the AC_VHost_Embed function' is the Scene reference.

The female SitePal on the right (Angela) has its Scene reference assigned to a variable b. The variables a or b are passed into the selectScene function. The selectScene call determines which Scene will respond to API calls such as sayText.










Please feel free to use the source code of this page as an example.
To view the source code of this page, follow these instructions.
© Oddcast Inc. All rights reserved.   |   Terms of Use   |   Terms of Service   |   Privacy Policy