HoS_PRC8/_mod/_module/nss/champ_evt_heart.nss
Jaysyn904 04165202c0 Initial upload
Initial upload
2024-11-25 19:36:07 -05:00

22 lines
669 B
Plaintext

////////////////////////////////////////////////////////////////////////////////
// champ_evt_heart - Champion Heartbeat event
// By Deva B. Winblood 9/17/2006
////////////////////////////////////////////////////////////////////////////////
#include "champ_2_h"
void main()
{
object oChampion=OBJECT_SELF;
Champion_SetMode(oChampion);
if (d4()!=1) return;
object oDM=GetFirstPC();
while(GetIsObjectValid(oDM))
{ // message
if (GetIsDM(oDM))
{ // message
SendMessageToPC(oDM,"["+GetName(oChampion)+"] is in area '"+GetName(GetArea(oChampion))+"'");
} // message
oDM=GetNextPC();
} // message
}