Aschbourne_PRC8/_module/on_enter_buildng.nss
GetOffMyYarn 8622e5ce08 Area Changes and other fixes
added areas and ccoh,
fixed some areas to work with crafting
fixed some on death issues
added server entry/ooc
2024-08-30 10:38:04 -04:00

16 lines
523 B
Plaintext

#include "vamp_friends"
void main()
{
object oPC = GetEnteringObject();
// if the character is a valid player character, run the following...
if (GetIsObjectValid(oPC))
{
//If entering object is Undead, make it friendly towards every vampire on module.
//If entering object is Vampire, make every undead on area friendly towards entering vampire.
vamp_friends(oPC);
PrintString("on_enter: " + GetName(oPC) + " (is a valid object) entering "+GetName(GetArea(oPC)));
}
}