Shargast_PRC8/_module/Chapter 2/nss/se_on_activate.nss
Jaysyn904 66a0a3e043 Initial commit
Initial commit.
2024-08-03 14:13:18 -04:00

11 lines
417 B
Plaintext

// -----------------------------------------------------------------------------
// MAIN - Example OnActivateItem script(tag of item must be se_on_activate)
// -----------------------------------------------------------------------------
#include "se_inc_pc_loc"
#include "x2_inc_switches"
void main()
{
if(GetUserDefinedItemEventNumber() == X2_ITEM_EVENT_ACTIVATE)
SE_SaveLocation(GetItemActivator());
}