Conditional version of IsMapMarkerVisible?

Post » Mon Jun 18, 2012 11:09 pm

Is there an easy way to test in dialogue whether the player has a location marked on their map? A conditional equivalent of the Papyrus IsMapMarkerVisible? I see that there is "GetMapMarkerVisible" in the CK's conditions list, but it doesn't seem to be functional--none of the variable drop-downs populate--and isn't mentioned on the wiki.

(In my follower mod you can ask the follower to meet you at an inn, but I'd like to display a list of inns in only known locations. If there is no conditional function, I suppose I can create an array representing whether each inn is known, then update that array whenever the follower gets activated, and test on it as a dialogue condition. But that feels like needless work.)
User avatar
Andrew Lang
 
Posts: 3489
Joined: Thu Oct 11, 2007 8:50 pm

Post » Tue Jun 19, 2012 12:50 am

Given all the different time zones people are posting from, I'm giving this one bump in case anyone has an answer, before I start on the more labor-intensive method.

I haven't played with the new keyword system much, could it be of use for this? E.g., can I test via keyword if the player "knows" a location like Solitude?
User avatar
Cheryl Rice
 
Posts: 3412
Joined: Sat Aug 11, 2007 7:44 am

Post » Mon Jun 18, 2012 11:05 am

GetMapMarkerVisible should work just like in Fallout and Oblivion. You need to run it on a reference (it has no parameters) - pick the map marker you want to test as the "Run On" reference (see http://www.creationkit.com/Conditions#Run_On)
User avatar
cosmo valerga
 
Posts: 3477
Joined: Sat Oct 13, 2007 10:21 am

Post » Mon Jun 18, 2012 11:21 am

Ah, thank you! I hated to bump the topic, but am glad I did. I didn't mod for Fallout or Oblivion--I assumed that if I picked GetMapMarkerVisible as a condition, the map markers would be listed as variables, or something like that, in the sense that they're visible/known to the player. But yeah, I can see how it makes logical sense that the function would be run on the marker itself.

Thanks again, you saved me a lot of work.
User avatar
Tyrel
 
Posts: 3304
Joined: Tue Oct 30, 2007 4:52 am


Return to V - Skyrim