Stendhal Quest Coding - Part 3: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
imported>Kymara |
imported>Kymara m →getRegion: correct external link |
||
| Line 142: | Line 142: | ||
=== getRegion === |
=== getRegion === |
||
If there is a specific region matching one of the Stendhal regions, as defined in [http://arianne.cvs.sf.net/viewvc/arianne/stendhal/src/games/stendhal/server/maps/Region.java?view=markup |
If there is a specific region matching one of the Stendhal regions, as defined in [http://arianne.cvs.sf.net/viewvc/arianne/stendhal/src/games/stendhal/server/maps/Region.java?view=markup Region.java], then you can set this here and any achievements or NPCs referring to quests from that region will notice the quest. You can leave this method out if you have no region to set (e.g. global quests) because the default is null. |
||
<source lang = "java"> |
<source lang = "java"> |
||