• Solarus
    • Overview
    • Download
    • Changelog
  • Games
  • Development
    • Create with Solarus
    • Resource packs
    • Tutorials
    • Quest Maker Documentation
    • Contribute to Solarus
    • How to contribute
    • Donate
    • Source code
  • News
  • Community
    • Forum
    • Discord Chat
En
English Français
  1. Home
  2. Development
  3. Tutorials
  4. Solarus video tutorial
  5. Dialogs with a Non-Playing Character
  • How to create a quest
  • Zelda Resource Pack
  • The Map Editor
  • Grounds
  • The Quest tree
  • The Quest properties
  • Getting started with Lua scripting
  • Treasures
  • How to save the game
  • Teletransporters
  • How to scroll between maps of different sizes
  • Stairs and holes
  • Organize your code in separate files with require()
  • How to create a tileset
  • Map scripts
  • How to create a sprite
  • How to display an image
  • Dialogs with a Non-Playing Character
  • Generalized NPCs
  • Movements
  • Jumpers
  • Platforms
  • Switch that triggers a mechanism
  • Dynamic tiles
  • Timers
  • Enemies
  • Blocks
  • Invisible walls
  • Separators
  • Sensors
  • Destructible objects
  • Doors
  • The HUD
  • Rupees
  • Shops
  • Let's swim
  • How to make a bridge

Dialogs with a Non-Playing Character

Summary

  • Interacting with an NPC entity
  • Creating an NPC dialog with a question
  • Creating a map script to manage NPC interactions and display the corresponding dialogs
  • Setting savegame values to remember the state of NPC interactions

Resources

  • Video made with Solarus 1.5.
  • Download Solarus
  • Solarus documentation
  • How to program in Lua
  • Legend of Zelda: A Link to the Past resource pack
Previous
17. How to display an image
Next
19. Generalized NPCs

Legal Information

© 2006-2020 Christopho, Solarus
Software is GPL. Resources are CC-BY-SA.

  • Legal Terms
GPL v3 logo
CC-BY-SA 4.0 logo

About

Solarus is made by a team of people on their free time.

  • Frequently Asked Questions
  • Contributors
  • Nonprofit Organization
  • Contact

Contribute

Solarus is free: your help or support is always appreciated.

  • How to contribute
  • Donate
  • Source code
  • Goodies

Links

Useful links for people who want to keep being informed about the project.

Sponsors

We gracefully thank our sponsors for their help.

GPL v3 logo

Made with Kokori, our own free and open-source website engine.