Quantcast
Channel: Modding — Beamdog Forums
Viewing all articles
Browse latest Browse all 11774

Trigger for visited area?

$
0
0
Say I have a creature that can teleport me to various area through dialogue actions, but I only want the response for each travel option to be available only if the area has been visited before.

Is there a trigger - like VisitedArea("AreaRes") - to allow this? Or do I have to EXTEND_TOP every one of those areas with some
IF
OnCreation()
Global("VisitedThisArea","GLOBAL",0)
THEN
RESPONSE #100
SetGlobal("Visited[Area]","GLOBAL"1)
and check for Global("Visited[Area]","GLOBAL",1) in each response?

Viewing all articles
Browse latest Browse all 11774

Latest Images

Trending Articles



Latest Images