[mapmarker].addtomap() ?

Post » Sat Mar 30, 2013 10:35 am

http://s21.postimg.org/o4ds8q8yd/2013_0106_Mapmarker_Names_Why_You_No_Match.png

Why is the name of the map marker different in scripts than it is in the reference ID field?
How do I find the "script name" of a map marker?

(Specificly, I want to edit the dialogue of a particular NPC, so that he adds a mapmarker to your map. The particular mapmarker I want him to add is ShrineofAzuraMapMarkerREF, the mapmarker for the shrine of Azura near Winterhold; but looking at the script from MQ103 that adds the Bleak Falls Barrow mapmarker to your map, I don't think "ShrineofAzuraMapMarkerREF.AddToMap()" will work.)
User avatar
Jade MacSpade
 
Posts: 3432
Joined: Thu Jul 20, 2006 9:53 pm

Post » Sat Mar 30, 2013 9:26 pm

I suggest you do the Beth tutorial for scripting.

Scripts no longer use the FormID's like they did in past games (Fallout, Ob, MW, etc) they now use properties. The long name in the Cell View is the Ref ID, while the name in the script is the name of the property. You must create an Object Reference property and direct it to your map marker, then call AddToMap() on that property.

Read through this tutorial, you may not won't become a master instantly, but a lot of stuff will start to make sense: http://www.creationkit.com/Bethesda_Tutorial_Papyrus_Hello_World
User avatar
Nick Jase Mason
 
Posts: 3432
Joined: Sun Jul 29, 2007 1:23 am


Return to V - Skyrim