Corpsehatch Posted July 18, 2019 Share Posted July 18, 2019 I'm working on a small immersion mod that adds the civil war map to every inn. My current playthrough is no map no compass but instead using road signs and Clairvoyance to navigate . The only time I can use the map is while standing in front of one of those maps. This is when I set a custom marker or active quest. If possible I'd like to be able to use an activator placed on the map to open the map if that is even possible. Link to comment Share on other sites More sharing options...
RichWebster Posted July 18, 2019 Share Posted July 18, 2019 You'll need SKSE. Attach this script to your activator. Event OnActivate( ObjectReference akActionRef ) if ( akActionRef == Game.GetPlayer() ) UI.InvokeString( "MapMenu", "_global.skse.OpenMenu", "MapMenu" ) endif endEvent Link to comment Share on other sites More sharing options...
Corpsehatch Posted July 18, 2019 Author Share Posted July 18, 2019 Awesome. Thanks for the info. I'll see about getting the mod uploaded sometime this weekend. Link to comment Share on other sites More sharing options...
TyburnKetch Posted October 18, 2019 Share Posted October 18, 2019 (edited) Hello. I'm also interested in being able to open the World Map (M key) through script OnActivate. The script above compiles (skse scripts are working elsewhere in my mod) but unfortunately nothing happens in game on activation. The sound of the map opening, that i have added to the trigger box, plays and custom name and activate text overide are showing but the map does not open. Any suggestions? Thanks. Edit: I've found that this works: int MapKey = Input.GetMappedKey("Quick Map")Input.TapKey(MapKey) Edited October 18, 2019 by TyburnKetch Link to comment Share on other sites More sharing options...
TyburnKetch Posted October 20, 2019 Share Posted October 20, 2019 So now i have a different issue: I am looking to override the "can't travel from here" Cell property. I don't want to be able to fast travel from the cell until i activate the map. How can i override this property with Papyrus? Game.EnableFastTravel() is having no effect. Thanks. Link to comment Share on other sites More sharing options...
Evangela Posted October 20, 2019 Share Posted October 20, 2019 I think form flags cannot be overridden that way. They need to be changed at run time and there's no function to do that. Link to comment Share on other sites More sharing options...
Recommended Posts