Aantioch_Infernum/_module/nss/hif_onclientente.nss
EpicValor 46c4c251e8 used external compiler
changed city areas to no pvp
2023-12-21 22:13:45 -06:00

27 lines
1020 B
Plaintext

// prc_onenter,_oncliententer
/////////////////////////////////////////////////////////////////////
//
// This script has been auto-generated by HakInstaller to call
// multiple handlers for the oncliententer event.
//
/////////////////////////////////////////////////////////////////////
void main()
{
//:: Declare major variables
object oPC = GetEnteringObject();
//: Add system journal entries
AddJournalQuestEntry("xprules", 1, oPC, FALSE, FALSE, FALSE);
AddJournalQuestEntry("lvl_adj", 1, oPC, FALSE, FALSE, FALSE);
//:: Send Under Construction message
SendMessageToPC(oPC, "This server is under active development and could go down arbitrarily. Admin will try to give notice beforehand.");
DelayCommand(1.0, ExecuteScript("prc_onenter", OBJECT_SELF));
DelayCommand(1.0, ExecuteScript("_oncliententer", OBJECT_SELF));
AssignCommand(oPC, DelayCommand (1.0, ClearAllActions(TRUE)));
AssignCommand(oPC, DelayCommand(1.2, PlayAnimation(ANIMATION_LOOPING_TALK_NORMAL, 1.0, 0.5)));
}