image
"devone Grandma" is an NPC with collider event and interaction.
it changes dialog if the character is a man or a woman.

event :
image

1 change nothing
you can also add an actor if you want
"add actor"
Type: object
check set name
type the name "Grandma devone"

2 - add / variables steps / check variable game
Do like the picture.
to check whether the variable "sex" is set to "man" or "woman"

Type "string" to verify to a name.
Float allows to a number.

image

3- it is almost finished
you added a dialogue if the variable is true "sucess"
Mamie Devone said that the character is much like his son.

4 - you can add another dialog ...

5- adds another dialogue if the variable is false "failed"
if the variable isn't about "man" is that it's "woman" :)
Mamie Devone changes its dialogue.
She believes that the character is his daughter.
... save your event



image
now you must determine the varialbe "sex" when the character comes into play.
It comes into play through the event "StartEvent" (see tutorials GIL)

You open "startEvent"
adds a "variable exchange game"
add / variables steps / change game variables.

if the character is a man you put the variable on "man"
if a woman puts you on "woman" ^^

NB: In my game you choose at the start of play between several characters, man or woman.
Post edited by avantis on
Sign In or Register to comment.