PWE_PRC8/_module/nss/rus_onactivateit.nss
Jaysyn904 ee1dc35889 Initial Commit
Initial Commit
2025-04-03 10:29:41 -04:00

26 lines
663 B
Plaintext

// emote_actvate,prc_onactivate
/////////////////////////////////////////////////////////////////////
//
// This script has been auto-generated by HakInstaller to call
// multiple handlers for the onactivateitem event.
//
/////////////////////////////////////////////////////////////////////
void main()
{
object oPC = GetLastUsedBy();
if (!GetIsPC(oPC)) return;
if (GetItemPossessedBy(oPC, "leadercrystal")== OBJECT_INVALID)
return;
object oTarget;
oTarget = GetObjectByTag("");
AssignCommand(oTarget, ActionStartConversation(oPC, "master_port2"));
ExecuteScript("emote_actvate", OBJECT_SELF);
ExecuteScript("prc_onactivate", OBJECT_SELF);
}