2025/07/18 Update
Added PEPS. Full compile.
This commit is contained in:
22
_module/nss/0c_get_convo.nss
Normal file
22
_module/nss/0c_get_convo.nss
Normal file
@@ -0,0 +1,22 @@
|
||||
/*//////////////////////////////////////////////////////////////////////////////
|
||||
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"
|
||||
void BeginOriginalHenchmanConversation(string sDialog, object oPC)
|
||||
{
|
||||
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()));
|
||||
}
|
Reference in New Issue
Block a user