Installed NESS 4.1.9
Installed NESS 4.1.9. Tweaked main city. Full compile.
This commit is contained in:
18
_module/nss/spawnb_sample_ai.nss
Normal file
18
_module/nss/spawnb_sample_ai.nss
Normal file
@@ -0,0 +1,18 @@
|
||||
//
|
||||
// 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);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user