29 lines
817 B
Plaintext
29 lines
817 B
Plaintext
//::///////////////////////////////////////////////
|
|
//:: 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));
|
|
}
|