RATDOG/_module/nss/0c_if_convo.nss
Jaysyn904 51e1a2a2b3 2025/07/20 Update
Added PEPS AI.
Updated class & racialtypes 2DAs for the Lost Lands.
Full compile.
2025-07-20 20:28:49 -04:00

22 lines
836 B
Plaintext

/*//////////////////////////////////////////////////////////////////////////////
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;
}