code:
Code: Select all
void main()
{
object oPC = GetNearestPC();
SendMessageToPC(oPC, "This room is cold.");
}
Moderator: Event DM
Code: Select all
void main()
{
object oPC = GetNearestPC();
SendMessageToPC(oPC, "This room is cold.");
}
Code: Select all
void main()
{
object oPC = GetEnteringPC();
SendMessageToPC(oPC, "This room is cold.");
}
Code: Select all
void main()
{
object oArea = GetArea(OBJECT_SELF);
object oEntering = GetEnteringObject();
if (GetIsPC(oEntering) && !GetIsDM(oEntering))
{
SendMessageToPC(oEntering, GetName(OBJECT_SELF));
}
}
Code: Select all
void main()
{
object oPC = GetEnteringObject();
SendMessageToPC(oPC, "This room is cold.");
}