PoA_PRC8/_module/nss/addjournalsnf.nss
Jaysyn904 8d97886c3f Changed folder name.
Changed folder name.
2022-10-07 21:08:37 -04:00

21 lines
445 B
Plaintext

//Put this script in the OnEnter Event of an Area or Tracks trigger you paint.
void main()
{
object oPC = GetEnteringObject();
if (!GetIsPC(oPC)) return;
int DoOnce = GetLocalInt(oPC, GetTag(OBJECT_SELF));
if (DoOnce==TRUE) return;
SetLocalInt(oPC, GetTag(OBJECT_SELF), TRUE);
//Note these journal tagnames are CaSe SenSiTiVe!!
AddJournalQuestEntry("spellz", 1, oPC, FALSE, FALSE);
AddJournalQuestEntry("featz", 1, oPC, FALSE, FALSE);
}