Files
HeroesStone_PRC8/_module/nss/itemactivate.nss
Jaysyn904 1eefc84201 Initial Commit
Initial Commit.
2025-09-14 15:40:46 -04:00

30 lines
753 B
Plaintext

// First Version: 0.1
//
// Modified by:
// Date:
// Modified Version:
//
////////////////////////////////////////////////////////////////////////
//
// OnActive Script
//
////////////////////////////////////////////////////////////////////////
//
// This script is to be merged with a modules existing OnActivate
// script. If one doesn't exist, this will work.
//
////////////////////////////////////////////////////////////////////////
void main()
{
object oUser = GetItemActivator();
object oTarget = GetItemActivatedTarget();
string sItemTag = GetTag(GetItemActivated());
object oItem = GetItemActivated();
if (sItemTag == "TrackingKit")
{
ExecuteScript("ranger_tracking", oUser);
return;
}
}