Hofstadter Posted November 14, 2010 Share Posted November 14, 2010 I've created a mod that works by activating an item in the Aid menu and then essentially teleporting the player and any followers to a specific location. When I activate the item in the pipboy it teleports me immediately and when I arrive the pipboy is still open, but with nothing displayed on the screen until I close and reopen it. Is there a script to either force the player to exit the pipboy or wait to execute the rest of the script until the pipboy is closed? Thanks ahead of time! Link to comment Share on other sites More sharing options...
SmileyCat Posted November 14, 2010 Share Posted November 14, 2010 I would recommend hotkey'ing the item, I dont think there is any other primary solution. Link to comment Share on other sites More sharing options...
Hofstadter Posted November 14, 2010 Author Share Posted November 14, 2010 That's a wonderful solution. Thank you. I will go ahead and do what you suggest. But I'm still very curious if anyone else knows of any scripts to do what I mentioned. Link to comment Share on other sites More sharing options...
PurplePigeon Posted November 14, 2010 Share Posted November 14, 2010 I don't know of any methods, but hopefully someone does. What I'd suggest is this. When player activates the item, if the game is in MenuMode, display a message that PipBoy must be closed to proceed, and if it is in GameMode (or when it switches to GameMode once PipBoy is closed), perform the main action. Some popular mods also use this approach. Link to comment Share on other sites More sharing options...
Cipscis Posted November 15, 2010 Share Posted November 15, 2010 If I remember correctly, DisablePlayerControls can force the player to close the PipBoy. Other than that, I think NVSE's TapControl is the only other way to force the PipBoy to be closed via script. Waiting until GameMode alone might not be enough for a seamless transition, as (once again, if I remember correctly) GameMode begins well before the animation played for putting away the PipBoy has been completed. If you use this approach, I recommend also using a short timer (half a second ought to be enough) to make sure the animation has finished before you do anything else. Cipscis Link to comment Share on other sites More sharing options...
Recommended Posts