2025/07/21 Update

Added PEPS AI
Full compile.
This commit is contained in:
Jaysyn904
2025-07-21 12:33:56 -04:00
parent 2d0a7a8a89
commit 87608ac499
2806 changed files with 44346 additions and 557 deletions

View File

@@ -0,0 +1,21 @@
/*//////////////////////////////////////////////////////////////////////////////
Script: 0e_if_convo
Programmer: Philos
////////////////////////////////////////////////////////////////////////////////
Text Appears When script that check if oCreature has a linked conversation.
Only checks for Henchman.
Allows use of ai_conversation for henchman in other modules.
*///////////////////////////////////////////////////////////////////////////////
#include "nw_inc_gff"
#include "0i_messages"
int StartingConditional()
{
object oHenchman = OBJECT_SELF;
if(GetAssociateType(oHenchman) == ASSOCIATE_TYPE_HENCHMAN)
{
json jHenchman = ObjectToJson(oHenchman);
string sConversation = JsonGetString(GffGetResRef(jHenchman, "Conversation"));
if(sConversation != "") return TRUE;
}
return FALSE;
}