generated from Jaysyn/ModuleTemplate
Initial Commit
Initial Commit.
This commit is contained in:
21
_module/nss/qst_set_var_1p.nss
Normal file
21
_module/nss/qst_set_var_1p.nss
Normal file
@@ -0,0 +1,21 @@
|
||||
/* -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
|
||||
Forsettii's Quest Builder System.
|
||||
Version 1.0
|
||||
Created for Layonara Online
|
||||
Forsettii Forsettii@yahoo.com
|
||||
April 7, 2004
|
||||
Sets variable #1 in Party Mode.
|
||||
Variables: Quest_Name - Same as Journal Entry
|
||||
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= */
|
||||
#include "x0_i0_partywide"
|
||||
|
||||
void main()
|
||||
{
|
||||
|
||||
string sName = GetLocalString(OBJECT_SELF, "quest_name");
|
||||
object oPC = GetPCSpeaker();
|
||||
|
||||
// Set the variables
|
||||
SetLocalIntOnAll(oPC, sName, 1);
|
||||
AddJournalQuestEntry(sName, 1, oPC, TRUE, FALSE, FALSE);
|
||||
}
|
||||
Reference in New Issue
Block a user