UW2_PRC8/_module/nss/silenttrigger2.nss
Jaysyn904 5197ad9a4d Initial upload
Initial upload
2023-09-25 20:24:01 -04:00

15 lines
268 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, 180.0f);
}
}