Battledale_PRC8/_module/nss/fr_mtfrost_door.nss

21 lines
553 B
Plaintext
Raw Permalink Normal View History

void main()
{
object oPlayer = GetFirstPC();
string szPlayer = GetPCPlayerName(GetLastUsedBy());
string szFrostMessage = " knocking at the door of Mount Frost";
string szMessage = ((szPlayer) + (szFrostMessage));
string szViconius = "fr_viconius_helm";
while (GetIsObjectValid(oPlayer) == TRUE)
{
GetItemPossessedBy(oPlayer, szViconius);
if((GetItemPossessedBy(oPlayer, szViconius)) != OBJECT_INVALID)
{
SendMessageToPC(oPlayer, szMessage);
}
oPlayer = GetNextPC();
}
}