Initial commit
Initial commit. Updated release archive.
This commit is contained in:
24
_module/nss/en5_info.nss
Normal file
24
_module/nss/en5_info.nss
Normal file
@@ -0,0 +1,24 @@
|
||||
#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)));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user