Files
HiddenTradition_PRC/_module/nss/0c_get_convo.nss
Jaysyn904 9c4c3ae83b 2025/12/16 Update
Updated PEPS
Hooked up new GUI module event.
Updated classes.2da
Updated baseitems.2da
Updated nim tools.
Full compile.
2025-12-16 21:30:44 -05:00

25 lines
1000 B
Plaintext

/*//////////////////////////////////////////////////////////////////////////////
Script: 0e_get_convo
Programmer: Philos
////////////////////////////////////////////////////////////////////////////////
Action taken script that leaves the current conversation and starts a new
conversation with oCreature using the linked conversation instead of the
ai_Henchman conversation.
Allows use of ai_conversation for henchman in other modules.
*///////////////////////////////////////////////////////////////////////////////
#include "0i_actions"
#include "nw_inc_gff"
void BeginOriginalHenchmanConversation(string sDialog, object oPC)
{
if(AI_DEBUG) ai_Debug("0c_get_convo", "14", "sDialog: (" + sDialog + ")");
BeginConversation(sDialog, oPC);
}
void main()
{
ai_ClearCreatureActions();
// Need to check special dialogs for HOTU henchman.
string sDialog = GetDialogFileToUse(GetLastSpeaker());
DelayCommand(0.0, BeginOriginalHenchmanConversation(sDialog, GetPCSpeaker()));
}