PoA_PRC8/module/nss/addjournalsnf.nss

21 lines
445 B
Plaintext
Raw Normal View History

2022-10-07 14:20:31 -04:00
//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);
}