How to Make Conversational Choices and Answers with NPCs

Last updated: January 19, 2025

  1. Go to Props and select on the NPC you want to buy and place on the scene.

Props Section 2. Select on the NPC and go to Code Builder

Code Builder 3. Go to the Events section and drag the 'when touch by a player every...' 4. Feel free to change the Value to any amount you want.

Events Section 5. Go to the Dialogue section and drag the "prompt dialogue...with behavior...and purpose..." 6. Drag "prompt choice...with response... " twice under the "prompt dialogue..."

Dialogue Section 7. Change the "prompt dialogue..." text to the first interactive text you want the NPC to say.

  1. Change the behavior from 'Enemy' to 'Neutral''.

  2. Change the 2 "prompt choice..." text to the 2 choices that you will give to players in response to the "prompt dialogue..." text.

  3. Change both response text to different responses given to players for the different "prompt choice..." text.

Example of Text

Was this article helpful?

Thanks for your feedback!