Aschbourne_PRC8/_module/_c_start_conv.nss
GetOffMyYarn 8622e5ce08 Area Changes and other fixes
added areas and ccoh,
fixed some areas to work with crafting
fixed some on death issues
added server entry/ooc
2024-08-30 10:38:04 -04:00

17 lines
429 B
Plaintext

#include "_c_inc_message"
void main()
{
object oPC = GetLastUsedBy();
if(GetIsPC(oPC))
{
int nIndex = GetDataBaseInt(_INDEX_);
SetDataBaseInt(_PAGE_,nIndex);
int nHit = GetLocalInt(OBJECT_SELF,M_HIT);
++nHit;
SetLocalInt(OBJECT_SELF,M_HIT,nHit);
AssignCommand(oPC,ClearAllActions(TRUE));
AssignCommand(OBJECT_SELF,ActionStartConversation(oPC,"_c_message_b",TRUE,FALSE));
}
}