Files
Anphillia_PRC8/_module/nss/wa_summongong.nss
Jaysyn904 28cdb617b3 Initial commit
Adding all of the current content for Anphillia Unlimited.
2024-01-04 07:49:38 -05:00

29 lines
711 B
Plaintext

object oMod = GetModule();
#include "anph_inc"
void main()
{
object oPC = GetLastUsedBy();
string sPCTeam;
string sTeam = AnphGetPlayerTeam (oPC);
object oArea = GetArea (oPC);
AnphSendMessageToTeam (sTeam, GetName (oPC) + " summons a meeting in "
+ GetName (oArea));
SendMessageToAllDMs(GetName (oPC) + " summons a meeting in " + GetName (oArea));
object oPlayer;
oPlayer = GetFirstPC ();
while (GetIsObjectValid (oPlayer) == TRUE)
{
sPCTeam = AnphGetPlayerTeam (oPlayer);
if (sPCTeam == sTeam)
{
AssignCommand (oPlayer, PlaySound("as_cv_gongring3"));
}
oPlayer = GetNextPC ();
}
}