30 lines
759 B
Plaintext
30 lines
759 B
Plaintext
|
///::///////////////////////////////////////////////
|
||
|
//:: Silence: On Enter
|
||
|
//:: NW_S0_SilenceC.nss
|
||
|
//:: Copyright (c) 2001 Bioware Corp.
|
||
|
//:://////////////////////////////////////////////
|
||
|
/*
|
||
|
The target is surrounded by a zone of silence
|
||
|
that allows them to move without sound. Spell
|
||
|
casters caught in this area will be unable to cast
|
||
|
spells.
|
||
|
*/
|
||
|
//:://////////////////////////////////////////////
|
||
|
//:: Created By: Preston Watamaniuk
|
||
|
//:: Created On: Jan 7, 2002
|
||
|
//:://////////////////////////////////////////////
|
||
|
#include "NW_I0_SPELLS"
|
||
|
|
||
|
#include "x2_inc_spellhook"
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
|
||
|
object oCaster = GetAreaOfEffectCreator();
|
||
|
if(GetIsDead(oCaster) || !GetIsObjectValid(oCaster))
|
||
|
{
|
||
|
DestroyObject(OBJECT_SELF, 0.0);
|
||
|
}
|
||
|
}
|
||
|
|