Script or function to set location discovered

Post » Tue Nov 20, 2012 5:36 am

Hey

What I need done is when the player discovers one location, another location is also discovered as well.

Does anyone know if there is a script or function in the creation kit to set a location to discovered? I am currently trying to use "Activate Parent" and "Enabled Parent" between two map marker references with no success.



Thanks
User avatar
Amber Hubbard
 
Posts: 3537
Joined: Tue Dec 05, 2006 6:59 pm

Post » Tue Nov 20, 2012 1:05 pm

You'd use http://www.creationkit.com/AddToMap_-_ObjectReference for this.

Just map an ObjectReference property pointed to your map marker, then do:

MyMapMarkerRef.AddToMap(True)

That would make the map marker appear on the players map, AND it can be fast travelled to. (False or default makes it appear, but it is not yet 'discovered' and cannot be fast travelled to)

I'm not sure how to detect the discovery of the first marker though. Perhaps a spherical trigger? (I know word walls have them, so you should be able to add one)
User avatar
Rudy Paint fingers
 
Posts: 3416
Joined: Sun Nov 11, 2007 1:52 am

Post » Tue Nov 20, 2012 7:12 am

You could add scripts to the first map marker reference, screenshot here:

http://img145.imageshack.us/img145/7128/asdfj.png


I'm thinking I could use a script like the one that adds map markers to the map when you close a book. The only thing is I need it to discover the location, not just add it to the map.
User avatar
LADONA
 
Posts: 3290
Joined: Wed Aug 15, 2007 3:52 am


Return to V - Skyrim