PoA_PRC8/module/nss/silenttrigger.nss
Jaysyn904 128e7e59a4 Initial upload
Initial upload
2022-10-07 14:20:31 -04:00

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);
}
}