Table of Contents

Talking to an NPC and a multiple choice dialogue to activate a cat actor.

Talking to an NPC and a multiple choice dialogue to activate a cat actor.

Instructions

First, Deactivate the pet cat!

  1. Create a scene and add the pet cat.

Untitled

  1. Click on the scene. Make a new event called Deactivate Actor and deactivate the cat. Make sure that this event is tied to the scene.

Untitled

Instructions: Activate the cat!

Make an NPC (Non-playable character) that asks “Do you want a cat?”.

  1. Click on the NPC. Create an event called Display Multiple Choice.

    Untitled

  2. Make a new variable called wants a cat. Write in your answers for True/False.

  3. Create an event called If Variable is True and choose the variable wants a cat.

    1. Display dialogue saying “Here’s a cat.”
    2. Create an event called Activate Actor and activate the cat in the room!
    3. In Else, display dialogue saying “OK no problem” for when you don’t want the cat.

Done!

cat spawn.gif

Full Example:

Untitled

Untitled

Bonus: Make a squirrel move into your house

  1. Use 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.

Untitled

spawn squirrel move in.gif

cat spawn.gif