JediMaster76 Posted June 11, 2009 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?
stoffe Posted June 11, 2009 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"); }
JediMaster76 Posted June 12, 2009 Author Posted June 12, 2009 int StartingConditional() { return (GetModuleFileName() == "702KOR"); } Really? It was that simple? Thank you very much, stoffe!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.