AOC_PRC8/_module/nss/g_firework_wand.nss
Jaysyn904 5e558169a0 Initial Commit
Initial Commit
2025-04-03 11:24:16 -04:00

27 lines
766 B
Plaintext

//::///////////////////////////////////////////////
//:: Firework Wand
//:: g_firework_wand.nss
//:: Copyright (c) 2001 Bioware Corp.
//:://////////////////////////////////////////////
/*
This is the OnActivate Event for the Firework Wand
And items that will shoot a firework in the sky above the PCs head and do a small
firework. Give it to you players for some fun.
*/
//:://////////////////////////////////////////////
//:: Created By: Jay Clark
//:: Created On: August 31, 2004
//:://////////////////////////////////////////////
#include "x2_inc_switches"
void main()
{
int nEvent = GetUserDefinedItemEventNumber();
if (nEvent == X2_ITEM_EVENT_ACTIVATE)
{
object oPC = GetItemActivator();
ExecuteScript("g_missile",oPC);
}
}