RATDOG/_module/nss/ra_bricksfall.nss

8 lines
258 B
Plaintext
Raw Normal View History

// Sends a message to the nearest PC who is alive to us.
void main()
{
object oPC = GetNearestCreature(CREATURE_TYPE_PLAYER_CHAR, PLAYER_CHAR_IS_PC, OBJECT_SELF, 1, CREATURE_TYPE_IS_ALIVE, TRUE);
SendMessageToPC(oPC, "The ceiling has collapsed");
}