The AI Engine

This forum is for discussion of how The Personality Forge's AI Engine works. This is the place for questions on what means what, how to script, and ideas and plans for the Engine.

Posts 3,907 - 3,918 of 7,768

20 years ago #3907
Dear Friends:

OK, here's one that REALLY has me flummoxed. In my settings for Irina Khalidar I have, among other initializations for variables, def "0" as "handslost";. I was using it in conditional AIscript, such as <?PF if (mem-handslost) is "3". But the AIengine won't admit that handslost exists. In debug, it says that handslost does not exist. I tried prefacing a response by <?PF if (mem-handslost) does not exist; ?> (continued)

20 years ago #3908
Sorry, I messed up the colors there. Let me try again.

Dear Friends:

OK, here's one that REALLY has me flummoxed. In my settings for Irina Khalidar I have, among other initializations for variables, def "0" as "handslost";. I was using it in conditional AIscript, such as <?PF if (mem-handslost) is "3". But the AIengine won't admit that handslost exists. In debug, it says that handslost does not exist. I tried prefacing a response by <?PF if (mem-handslost) does not exist; ?> (continued)

20 years ago #3909
and sure enough, that response was picked. Then I tried writing AI script,
<?PF rem "0" as only "handslost"; ?>
where it would be seen before the "does not exist," but I still get the "does not exist" result! (continued)

20 years ago #3910
But wait! I just had a thought! (OK, OK, very funny!) Let me try something - I'll get back to you!

Walk in Beauty, Irina

20 years ago #3911
[sigh] I tried changing "handslost" to "numhandslost", in case there was some specific problem with the former variable. Now it says (by choosing the abovementioned conditional response)that "numhandslost" does not exist!

20 years ago #3912
Irina --

I think it's the numeral that's messing your memory for "handslost" up. Try spelling out the number. Set it at "zero" as a default, and increase it as necessary by replacing that with "one" or "two" or "four" ...

20 years ago #3913
For what it's worth, here's some history about "handlost": I was having trouble before, because it was taking on the value "5" all the time, when nothing I said could give it a value larger than 4! So I went to Irina Khalidar's "inner life" and found myself, and sure enough, *I* had the value "5" for "handslost". So I deleted that. That's when the AIengine started saying that "handslost" doesn't exist. So I thought, well, maybe it's because I deleted it. But then, why would there still be a problem with "numhandslost"? How could the AIengine realize that "numhandslost" is intended as a substitute for "handslost"?

20 years ago #3914
Ah, Isaac, I didn't see your note until just now! I will try what you suggest! But I have another variable, "intimacylevel", which has numerical values but doesn't cause me any trouble.

20 years ago #3915
Dear Isaac:

Well, that DID improve things! What would be the problem with useing numerals?

20 years ago #3916
Irina- Yeah, what Patricia said.

20 years ago #3917
One minor problem with this holiday: the ",like," are interfering with recognition of stuff before and after, especially in regards to (postkey).

20 years ago #3918
That's like ok because like California people are like really dumb *twirls hair*

(ok that was a JOKE people.. sheesh..


Posts 3,907 - 3,918 of 7,768

» More new posts: Doghead's Cosmic Bar