15 lines
267 B
Plaintext
15 lines
267 B
Plaintext
|
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
|
||
|
object oCreature = GetEnteringObject();
|
||
|
|
||
|
//Make sure the opener is a PC
|
||
|
if (GetIsObjectValid(oCreature) == TRUE && GetIsPC(oCreature) == TRUE)
|
||
|
{
|
||
|
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, EffectSilence(), oCreature, 90.0f);
|
||
|
|
||
|
}
|
||
|
}
|