Files
dsrc/sku.0/sys.server/compiled/game/script/gm/fs_intro_starter.script
T

55 lines
1.5 KiB
Plaintext

/**********************************************************************
* Copyright (c)2000-2002 Sony Online Entertainment Inc.
* All Rights Reserved
*
* Title: fs_intro_starter
* Description: GM script to fire off the intro quest.
* @author $Author:$
* @version $Revision:$
**********************************************************************/
/***** INCLUDES ********************************************************/
/***** CONSTANTS *******************************************************/
/***** TRIGGERS ********************************************************/
trigger OnSpeaking(string text)
{
if(text == "startintro")
{
if (!hasScript(self, "quest.force_sensitive.fs_kickoff"))
attachScript(self, "quest.force_sensitive.fs_kickoff");
setObjVar(self, "fs_kickoff_stage", 2);
messageTo(self, "meetOldMan", null, 10.0f, false);
sendSystemMessageTestingOnly(self, "FS Intro Initiated.");
}
/*
if (text == "stopintro")
{
if (hasScript(self, "quest.force_sensitive.fs_kickoff"))
detachScript(self, "quest.force_sensitive.fs_kickoff");
removeObjVar(self, "fs_kickoff_stage");
removeObjVar(self, "fs_delay");
removeObjVar(self, "fs_timestamp");
sendSystemMessageTestingOnly(self, "FS Intro Stopped.");
} */
return SCRIPT_CONTINUE;
}
/***** MESSAGEHANDLERS *************************************************/
/***** COMMANDHANDLERS *************************************************/
/***** FUNCTIONS *******************************************************/