From f03e08ca0d69caf8f0baf5330a00a4ca16b985dc Mon Sep 17 00:00:00 2001 From: Cekis Date: Tue, 22 Dec 2015 21:16:40 -0500 Subject: [PATCH] joray created page: planetary map grid system --- Adding_NPCs.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Adding_NPCs.md b/Adding_NPCs.md index 9c7fb88..6e7ea5b 100644 --- a/Adding_NPCs.md +++ b/Adding_NPCs.md @@ -19,6 +19,12 @@ Then, under the objvars column, add the following for the spawn table: Make sure that the end of line character is there with separators ( |$| ) +** Note: If you are spawning within a structure that registers on the map or map index, you must call a secondary script called "planet_map.map_loc" in order to register the structure with the map. To execute multiple scripts, separate each script with a colon (:) between them. The following is a real-world example taken from the Imperial Military Outpost on Dantooine's Cantina spawn: +``` +1365875 0 object/building/military/military_base_shed_imperial_style_cantina_s01.iff 0 1937 3 1666 1 0 0 0 planet_map.map_loc:theme_park.dungeon.generic_spawner spawn_table|4|datatables/spawning/building_spawns/dant_imperial_outpost_cantina.iff|planetMap.category|4|cantina|portalLayoutCrc|0|-242217168|healing.canhealshock|0|1|safeLogout|0|1|$| + +``` + Areaspawner ===