27 lines
1020 B
Plaintext
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)));
|
|
}
|