JediMaster76 Posted June 11, 2009 Share Posted June 11, 2009 Okay, so I'm getting back into modding, and my skills - which were pretty basic to begin with - are a bit rusty. I want to delay a certain party member's dialog until we enter a specific module (e.g., Korriban academy), so that a spawn-in script can be executed there. So my question is this: What would be the easiest way to check which module the player is currently in, and if he is not in a specific module, cause a conditional script to return false? Link to comment Share on other sites More sharing options...
stoffe Posted June 11, 2009 Share Posted June 11, 2009 Okay, so I'm getting back into modding, and my skills - which were pretty basic to begin with - are a bit rusty. I want to delay a certain party member's dialog until we enter a specific module (e.g., Korriban academy), so that a spawn-in script can be executed there. So my question is this: What would be the easiest way to check which module the player is currently in, and if he is not in a specific module, cause a conditional script to return false? int StartingConditional() { return (GetModuleFileName() == "702KOR"); } Link to comment Share on other sites More sharing options...
JediMaster76 Posted June 12, 2009 Author Share Posted June 12, 2009 int StartingConditional() { return (GetModuleFileName() == "702KOR"); } Really? It was that simple? Thank you very much, stoffe! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.