Aschbourne_PRC8/_module/tmp_spawn_battle.nss
GetOffMyYarn 8622e5ce08 Area Changes and other fixes
added areas and ccoh,
fixed some areas to work with crafting
fixed some on death issues
added server entry/ooc
2024-08-30 10:38:04 -04:00

26 lines
823 B
Plaintext

/**
Use this template function to set up an NPC OnSpawn script
for a battle sequence where a reinforcement will appear
to replace him or her when killed.
YOU MUST GENERATE A UNIQUE VERSION OF THIS SCRIPT FOR
EACH CREATURE TEMPLATE YOU WISH TO USE IN THE BATTLE.
USE THE "Save As" BUTTON EACH TIME TO MAKE A COPY OF THIS
SCRIPT UNDER A NEW FILENAME.
J.D. Robertson, 2002
*/
#include "NW_I0_GENERIC"
void main()
{
// Listen
SetListeningPatterns();
// Store our blueprint so we can spawn a replacement on death
// **TODO**
// replace the "BLUEPRINT_RES_REF" with the blueprint res-ref
// value for this NPC. The blueprint resref can be found on the
// Advanced tab of the NPCs properties dialogue.
SetLocalString(OBJECT_SELF, "BLUEPRINT", "pcwerewolf004");
}