generated from Jaysyn/ModuleTemplate
32 lines
659 B
Plaintext
32 lines
659 B
Plaintext
|
|
//::///////////////////////////////////////////////////
|
|
//:: X0_TRAPFTL_CKILL
|
|
//:: OnTriggered script for a projectile trap
|
|
//:: Spell fired: SPELL_CLOUDKILL
|
|
//:: Spell caster level: 17
|
|
//::
|
|
//:: Copyright (c) 2002 Floodgate Entertainment
|
|
//:: Created By: Naomi Novik
|
|
//:: Created On: 11/17/2002
|
|
//::///////////////////////////////////////////////////
|
|
|
|
#include "x0_i0_projtrap"
|
|
|
|
void main()
|
|
{
|
|
TriggerProjectileTrap(SPELL_CLOUDKILL, GetEnteringObject(), 17);
|
|
|
|
object oPC = GetEnteringObject();
|
|
|
|
if (!GetIsPC(oPC)) return;
|
|
|
|
ActionSpeakString("As the trap is triggered, a choking, acrid gas begins to spew forth from the statue's mouths...");
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|