Virtual Humans Forum
Virtual Humans Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Save Password
Forgot your Password?

Virtual Humans
Partner website:
 All Forums
 Virtual Humans
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Curious Member

1 Posts

Posted - Feb 11 2012 :  11:38:39  Show Profile
Question....Can anyone tell me how to program my Kari to randomly answer a question. I understand the "I Say You Say function," but I am looking to program her randomly with %'s.
Example: May I Leave?
Kari answers (yes 70% of the time, no 30% of the time)
I appreciate any programming help.


2065 Posts

Posted - Feb 12 2012 :  01:51:18  Show Profile  Visit mikmoth's Homepage
This sounds like a cool advanced feature to include in the ISayUSay plugin for the future.

What you can do now is not use the ISayUSay plugin but use the regular engine. Teach her things like this for example:

The question is: What are you thinking about?

Then teach her this:

You are thinking about the beach.
You are thinking about holding my hand.
You are thinking about kissing me.
You are thinking about your Ai mind.
You are thinking about our relationship.

Type it in like that so she learns it. Then when you ask, What are you thinking? any of those might come up: I am thiking about kissing you.

It's worth a try anyway.

Go to Top of Page

Curious Member

31 Posts

Posted - Mar 23 2012 :  02:32:32  Show Profile
asuming that you can get in to the code, you might be able to corolate with the time. for example,
10:37=1037, is an odd number so that could be a no.
4:22=422, even, so yes.

Or you could go further and multiply the time by pi, and see what it comes up with. For example,
11:36=1136 x pi= 3567(.04) the last whole number is 7 so no.

not exactly percents but you will defenitly will get a random answer.

HologenicMan's Son
"Smile. It makes everyone wonder what your up to"
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Virtual Humans Forum © V.R.Consulting Go To Top Of Page
This page was generated in 0.11 seconds. Snitz Forums 2000