generated from Jaysyn/ModuleTemplate
2026/03/05 Update
Added Dynamic conversations. Added more files from original Background system for reference.
This commit is contained in:
17
src/nss/start_cv_profs.nss
Normal file
17
src/nss/start_cv_profs.nss
Normal file
@@ -0,0 +1,17 @@
|
||||
#include "inc_dynconv"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oUser = GetLastUsedBy();
|
||||
if (!GetIsObjectValid(oUser)) return;
|
||||
|
||||
SpeakString("I was last used by: " + GetName(oUser));
|
||||
|
||||
if (IsInConversation(oUser)) {
|
||||
SpeakString("DEBUG: PC already in conversation; aborting dynconv start.");
|
||||
return;
|
||||
}
|
||||
|
||||
SpeakString("DEBUG: Starting bg_profs_cv for " + GetName(oUser));
|
||||
StartDynamicConversation("bg_profs_cv", oUser);
|
||||
}
|
||||
Reference in New Issue
Block a user