Module commit
Module commit.
This commit is contained in:
25
_module/nss/tmp_spawn_battl1.nss
Normal file
25
_module/nss/tmp_spawn_battl1.nss
Normal file
@@ -0,0 +1,25 @@
|
||||
/**
|
||||
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");
|
||||
}
|
Reference in New Issue
Block a user