Initial commit
Adding all of the current content for Anphillia Unlimited.
This commit is contained in:
28
_module/nss/wa_summongong.nss
Normal file
28
_module/nss/wa_summongong.nss
Normal file
@@ -0,0 +1,28 @@
|
||||
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 ();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user