Initial commit
Initial commit [v9.7]
This commit is contained in:
33
_module/nss/cnv_spn_brwvmp.nss
Normal file
33
_module/nss/cnv_spn_brwvmp.nss
Normal file
@@ -0,0 +1,33 @@
|
||||
|
||||
#include "nw_i0_generic"
|
||||
|
||||
void main()
|
||||
|
||||
{
|
||||
object oTarget;
|
||||
object oSpawn;
|
||||
effect eVFX;
|
||||
|
||||
// Get the PC who is in this conversation.
|
||||
object oPC = GetPCSpeaker();
|
||||
|
||||
// Spawn some critters.
|
||||
|
||||
eVFX = EffectVisualEffect(VFX_IMP_RAISE_DEAD);
|
||||
oTarget = GetWaypointByTag("WP_SPn_lnhkbt");
|
||||
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "skeletalbat", GetLocation(oTarget));
|
||||
AssignCommand(oSpawn, DetermineCombatRound(oPC));
|
||||
DelayCommand(0.5, ApplyEffectToObject(DURATION_TYPE_INSTANT, eVFX, oSpawn));
|
||||
|
||||
oTarget = GetWaypointByTag("WP_SPn_lnhkbt2");
|
||||
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "skeletalbat", GetLocation(oTarget));
|
||||
AssignCommand(oSpawn, DetermineCombatRound(oPC));
|
||||
DelayCommand(0.5, ApplyEffectToObject(DURATION_TYPE_INSTANT, eVFX, oSpawn));
|
||||
|
||||
// Spawn "barrowvamp".
|
||||
eVFX = EffectVisualEffect(VFX_FNF_SMOKE_PUFF);
|
||||
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "barrowvamp", GetLocation(oPC));
|
||||
AssignCommand(oSpawn, DetermineCombatRound(oPC));
|
||||
DelayCommand(0.5, ApplyEffectToObject(DURATION_TYPE_INSTANT, eVFX, oSpawn));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user