Files
HeroesStone_PRC8/_module/nss/qst_set_var_2.nss
Jaysyn904 1eefc84201 Initial Commit
Initial Commit.
2025-09-14 15:40:46 -04:00

22 lines
798 B
Plaintext

/* -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Forsettii's Quest Builder System.
Version 1.0
Created for Layonara Online
Forsettii Forsettii@yahoo.com
April 7, 2004
Sets variable #2 (Solo)
Variables: Quest_Name - Same as Journal Entry
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= */
void main()
{
string sName = GetLocalString(OBJECT_SELF, "quest_name");
object oPC = GetPCSpeaker();
// Remove PC from Party since this is an individual Quest
RemoveFromParty(oPC);
// Set the variables
SetLocalInt(oPC, sName, 2);
AddJournalQuestEntry(sName, 2, oPC, FALSE, FALSE, FALSE);
}