HoS_PRC8/_mod/_module/nss/trigger_message.nss

15 lines
285 B
Plaintext
Raw Permalink Normal View History

2024-11-25 19:36:07 -05:00
/// send a message
#include "header_sounds"
#include "x3_inc_string"
void main()
{
object oPC=GetEnteringObject();
if (GetIsPC(oPC)==TRUE)
{
string sMsg=StringToRGBString(GetName(OBJECT_SELF),"477");
SendMessageToPC(oPC,sMsg);
fnSoundAlert();
}
}