Changed folder name.

Changed folder name.
This commit is contained in:
Jaysyn904
2022-10-07 21:08:37 -04:00
parent 1c33c2843e
commit 8d97886c3f
7060 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
// Modified by AW Olorin 1-12-2004
// Includes Character name in Catacomb message.
void main()
{
object oPlayer = GetEnteringObject();
if (GetIsPC(oPlayer) && !GetIsDM(oPlayer)){
string sReport;
sReport = (GetPCPlayerName( oPlayer ) + "(" +
GetName(oPlayer) + ")" +
" has entered the catacombs." );
SendMessageToAllDMs(sReport);
}
/* only execute for PC's entering an area */
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",30);
// 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","nw_skelwarr01");
}