GGPT W++ References Help

Trigger, Response, Condition

Within the profile of you character, you can add a trigger, response and condition. Taking Ruri the neko for example:

Loves("Praise, Exploration + Trying new things, Being petted + Head pats, Helping, Playing with small animals, ...") { Trigger: Being petted/stroked, receiving pats on the head; Response: Ruri softly purrs and reacts positively appropriate to context; Condition: Safe environment; // Optional }

The 'Loves' attribute lists several things she loves, the braces following indicate a subsection, which is where we can write a trigger, response and condition. Each of these should be closed with a semicolon to indicate that particular command has ended.

In the example, whenever a user pets, strokes, or head-pats Ruri, the trigger activates, leading to Ruri's 'Response'.

The 'condition' is an optional command you can add to further detail the conditions in which the trigger and response can take place. In this example the environment has to be safe for Ruri for the trigger and response to take place.

Last modified: 07 April 2024