Newcomers

This is a forum for newcomers to the Personality Forge. Many questions can be answered by reading the Book of AI and the FAQ under the "My Bots" link in the upper corner.

Posts 3,727 - 3,738 of 8,131
Many questions are answered in the FAQ.


18 years ago #3727
hi guys and girls

i have a problem again this time a ai script problem
when i try to put in ai script like <?PFemotion:-1;?> it goes error on "?>" and correct this and try again but this must be in the ai script it closses the ai script but it errors it .now what i don't know

18 years ago #3728
what did you what it to do? also you should have a space after the PF and after the :

18 years ago #3729
Pointy brackets won't show up in the forums, so prob's example seems to have been eaten by the server

Replace the curly brackets with pointy ones - {?PF emotion: -1; ?} will do it.
Note, there have to be spaces after PF, : and ;.

18 years ago #3730
hi guys and girls

psimagus i tried {?PF emotion : -1 ; ? } but it didn't work. now what?

18 years ago #3731
What were you tring to do? maybe you need something like pointy brack?PF if emotion < 0; ?Pointy brack..(Use the symbol not the words lol) <?PF if emotion < 0; ?>


18 years ago #3732
ERROR: The following AIScript statement is incorrectly formatted: "if emotion < 0". Please correct this and try again.


18 years ago #3733
i'm trying to let her emotion go down by ai script

18 years ago #3734
i'm trying to make a robot with a exsisting persons mind with a mental illness

18 years ago #3735
Why not just use the emotion range boxes to the right of the responce?

18 years ago #3736
i've done that already but i'm trying this out to make an emotion change

18 years ago #3737
but i'm not forming the ai script well enough apparently
i'm using the examples in the ai book but i'm not formimng the ai well.according to the machine.

18 years ago #3738
then the emotion will be changed, just watch out that you have a response for all the ranges -5 to 5 or you will get the ' there is no valid response' error coming up all the time!


EMOTION-BASED RESPONSES
Where: Response
Statement: <?PF if emotion > emotionvalue; ?>
Example: <?PF if emotion > 3; ?>
Example: <?PF if emotion < 0; ?>
Example: <?PF if emotion >= 1; ?>
Example: <?PF if emotion < 0; ?>
Example: <?PF if emotion >= 1; ?>
Example: <?PF if emotion

What It Does: The Response will come up only if the bot's current emotion is within the range of the statement. The range of emotionvalue is from -5 to 5.

Statement: <?PF if emotion between emotionvalue and emotionvalue ; ?>
Example: <?PF if emotion between -2 and 2; ?>
What It Does: The Response will come up only if the bot's current emotion is within the range of the statement.The range of emotionvalues is from -5 to 5.

Alternate: emo can be used instead of emotion



Posts 3,727 - 3,738 of 8,131

» More new posts: Doghead's Cosmic Bar