Apollodown Posted April 9, 2014 Share Posted April 9, 2014 Hey folks, I've been banging my head against this one for a bit, does anybody know how to detect if the player is currently in dialogue? I know the workaround to find who they're in dialogue with, but can't for the life of me figure out if they are actually in dialogue at all. :D Link to comment Share on other sites More sharing options...
Vagrant0 Posted April 9, 2014 Share Posted April 9, 2014 Should be valid.http://cs.elderscrolls.com/index.php?title=MenuMode_%28Function%29 Link to comment Share on other sites More sharing options...
IsharaMeradin Posted April 9, 2014 Share Posted April 9, 2014 Unfortunately, the above link is for the Construction Set which is not for Skyrim but rather its predecessors. The only stock function related to determining if the player is in dialog is IsInDialogueWithPlayer which you have already mentioned. SKSE has added the appropriate functions which work similar to what is described at the above link. IsMenuOpen is the function and the valid menus are listed on the UI script pageIf IsMenuOpen("Dialogue Menu") ;do something EndIfThis if statement will allow processing whenever the dialog interface is active. Since the dialog interface is only active when the player is party to dialog, it would be a good indicator to use. If you want to process something after dialog has taken place, you could useWhile IsMenuOpen("Dialogue Menu") ;do nothing EndWhile ;do something Link to comment Share on other sites More sharing options...
Apollodown Posted April 9, 2014 Author Share Posted April 9, 2014 Heck yeah!! Y'all are about to see something special. Link to comment Share on other sites More sharing options...
Chrizmo64 Posted April 9, 2014 Share Posted April 9, 2014 I'm excited. Link to comment Share on other sites More sharing options...
Recommended Posts