PoA_PRC8/module/nss/ac_dyekit.nss
Jaysyn904 128e7e59a4 Initial upload
Initial upload
2022-10-07 14:20:31 -04:00

21 lines
604 B
Plaintext

//This is the default header for most items converted to the new
//tagbased system.
//Remember to create 2 scripts, one using the template, and name this
//script ac_"tagnameofitemgoeshere" (without the "")
#include "x2_inc_switches"
void main()
{
// Check if we have the correct event firing the script
if (GetUserDefinedItemEventNumber() != X2_ITEM_EVENT_ACTIVATE) return;
//Define Variables
object oItem = GetItemActivated();
object oPC = GetItemActivator();
string sItemTag = GetTag(oItem);
AssignCommand(oPC, ActionStartConversation(oPC, "dye_dyekit", TRUE));
}