Aschbourne_PRC8/_module/nss/tmp_spawn_battl1.nss

26 lines
820 B
Plaintext
Raw Permalink Normal View History

2024-06-14 10:48:20 -04:00
/**
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", "vampire004");
}