EN6_PRC8/_module/nss/en5_info.nss
Jaysyn904 a6f6db7303 Initial commit
Initial commit.  Updated release archive.
2024-06-13 15:08:33 -04:00

25 lines
463 B
Plaintext

#include "x2_inc_switches"
void main()
{
int nEvent;
object oItem;
object oPC;
nEvent = GetUserDefinedItemEventNumber();
if (nEvent == X2_ITEM_EVENT_ACTIVATE)
{
oPC = GetItemActivator();
if (GetIsPC(oPC))
{
oItem = GetItemActivated();
if (GetTag(oItem) == "en5_info")
{
DelayCommand(0.1f,AssignCommand(oPC,ActionStartConversation(oPC,"cnv_en5_info",TRUE,FALSE)));
}
}
}
}