Stendhal NPC Coding: Difference between revisions

Content deleted Content added
imported>Kymara
Define NPC with Java: indentation and brackets to line up with previous half defined
imported>Kymara
before you do this you need an ide
Line 10:
 
More complicated dialog for NPCs, such as you'd find in a quest, is covered in [[Stendhal Quest Coding]]. But the basics for any NPC used in a quest should still be written as below.
 
== Before you start ==
 
This page describes how to code an NPC. You don't need to know a lot about Java. You should, however, already have [[Configure a development environment (IDE)|setup an IDE]] and be able to compile and start a local Stendhal server.
 
== Define NPC with Java ==