NWNDS/nwnds_module/spawnb_sample_ai.nss
Jaysyn904 de24f81734 Added NWN Dark Sun module contents
Added NWN Dark Sun module contents.
2021-07-12 21:24:46 -04:00

19 lines
410 B
Plaintext

//
// SpawnBanner : Sample OnActivateItem Script
//
#include "spawnb_main"
void main()
{
object oPC = GetItemActivator();
object oItem = GetItemActivated();
object oTarget = GetItemActivatedTarget();
location lTarget = GetItemActivatedTargetLocation();
// Rod of Spawn Banners
if (GetTag(oItem) == "RodofSpawnBanners")
{
SpawnBanner(oPC, oItem, oTarget, lTarget);
}
}