Talking to an NPC and a multiple choice dialogue to activate a cat actor.
Deactivate Actor
and deactivate the cat. Make sure that this event is tied to the scene.Make an NPC (Non-playable character) that asks “Do you want a cat?”.
Click on the NPC. Create an event called Display Multiple Choice
.
Make a new variable called wants a cat
. Write in your answers for True/False.
Create an event called If Variable is True
and choose the variable wants a cat
.
Display dialogue
saying “Here’s a cat.”Activate Actor
and activate the cat in the room!Else
, display dialogue saying “OK no problem” for when you don’t want the cat.Done!
Move Actor
to move the squirrel to a position off-screen. See script example below! It moves the squirrel to an (X,Y) position, and then deactivates itself. The script then stops.