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

22 lines
618 B
Plaintext

void main()
{
object oCreature = GetEnteringObject();
RemoveEffect(oCreature, EffectDarkness());
if(!GetIsPC(GetEnteringObject())) {
return; }
object oArea = GetArea(OBJECT_SELF);
// place here the % chance of rest being interruped excample here 33% chance of rest being interuped
SetLocalInt(oArea, "nMonChance",0);
// place here the blueprint refrenfrence tag of the creature you wish to attack them
// or place the word CUSTOM which will send a 201 event to the area starting your won script
// here it is a goblin
SetLocalString(oArea, "sMonster","");
}