//////////////////////////////////////////////////////////// // OnConversation // g_ConversationDG.nss // Copyright (c) 2001 Bioware Corp. //////////////////////////////////////////////////////////// // Created By: Noel Borstad // Created On: 04/25/02001 // Description: This is the default script that is called if // no OnConversation script is specified. //////////////////////////////////////////////////////////// #include "custom_set_lib" #include "inc_eventhook" void main() { ExecuteAllScriptsHookedToEvent(OBJECT_SELF, EVENT_VIRTUAL_ONCONVERSATION); if(!GetLocalInt(OBJECT_SELF,"PC_CLONE_SYSTEM")) { if ( GetListenPatternNumber() == -1 ) { BeginConversation(); } } else { ExecuteScript("custom_conv",OBJECT_SELF); } }