2023-08-08 16:22:17 -04:00
|
|
|
// prc_onenter,_oncliententer
|
|
|
|
/////////////////////////////////////////////////////////////////////
|
|
|
|
//
|
|
|
|
// This script has been auto-generated by HakInstaller to call
|
|
|
|
// multiple handlers for the oncliententer event.
|
|
|
|
//
|
|
|
|
/////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
void main()
|
|
|
|
{
|
2023-09-25 21:43:15 -04:00
|
|
|
//:: Declare major variables
|
2023-08-15 18:54:31 -05:00
|
|
|
object oPC = GetEnteringObject();
|
2023-08-10 12:26:00 -05:00
|
|
|
|
2023-09-25 21:43:15 -04:00
|
|
|
//: 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.");
|
|
|
|
|
2023-12-21 22:13:45 -06:00
|
|
|
DelayCommand(1.0, ExecuteScript("prc_onenter", OBJECT_SELF));
|
|
|
|
DelayCommand(1.0, ExecuteScript("_oncliententer", OBJECT_SELF));
|
2023-09-25 21:43:15 -04:00
|
|
|
|
2023-12-21 22:13:45 -06:00
|
|
|
AssignCommand(oPC, DelayCommand (1.0, ClearAllActions(TRUE)));
|
|
|
|
AssignCommand(oPC, DelayCommand(1.2, PlayAnimation(ANIMATION_LOOPING_TALK_NORMAL, 1.0, 0.5)));
|
2023-08-08 16:22:17 -04:00
|
|
|
}
|