8 lines
258 B
Plaintext
8 lines
258 B
Plaintext
|
// 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");
|
||
|
}
|