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!!
|
2023-08-01 20:16:07 -04:00
|
|
|
//AddJournalQuestEntry("spellz", 1, oPC, FALSE, FALSE);
|
2022-10-07 14:20:31 -04:00
|
|
|
|
2023-08-01 20:16:07 -04:00
|
|
|
//AddJournalQuestEntry("featz", 1, oPC, FALSE, FALSE);
|
2022-10-07 14:20:31 -04:00
|
|
|
|
|
|
|
}
|