(hope this is the right forum)
Hello,
I'm writing a dialog where I want an option to appear if a use has been to that area. Basically, what would go in place of the (XXXXX)
IF ~Global("m#TeleportAllowed","GLOBAL",1)~ THEN BEGIN 1
SAY ~A magical swirl surrounds you, and memories of past places fill your mind.~
IF ~(XXXXXX)~ THEN REPLY ~Umar Hills~ GOTO tUmarHills
IF ~~ THEN REPLY ~Nowhere~ EXIT
END
Is there a function for this, or would I need to have a global set each time I enter an area for the first time? I'm making my own teleportation spell based on another one, that goes to all BG1, SoA, ToB, etc. locations through BGT-BP.
Thanks,
Michael