WoR_PRC8/_module/nss/pixiegob_onspawn.nss

29 lines
817 B
Plaintext
Raw Permalink Normal View History

2025-04-03 11:49:34 -04:00
//::///////////////////////////////////////////////
//:: Default: On Spawn In
//:: NW_C2_DEFAULT9
//:: Copyright (c) 2001 Bioware Corp.
//:://////////////////////////////////////////////
/*
Determines the course of action to be taken
after having just been spawned in
*/
//:://////////////////////////////////////////////
//:: Created By: Preston Watamaniuk
//:: Created On: Oct 25, 2001
//:://////////////////////////////////////////////
#include "NW_O2_CONINCLUDE"
#include "NW_I0_GENERIC"
void main()
{
SetListeningPatterns();
string sSayThis;
int iTalkVolume = TALKVOLUME_TALK;
int iTalkFlag = 0;
sSayThis = "Thank you for freeing me.";
DelayCommand(2.0, ActionSpeakString(sSayThis, iTalkVolume));
SetIsDestroyable(TRUE);
DelayCommand(3.0, DestroyObject(OBJECT_SELF));
}