GlobalVariable Property LastInterior AutoGlobalVariable Property CanSayEntrance AutoEvent OnLocationChange(Location akOldLoc, Location akNewLoc);last map was exterior, current map is interiorif (LastInterior.GetValueInt() == 0 && Game.GetPlayer().IsInInterior()) Debug.Notification("Can talk about entrance.") CanSayEntrance.setValueInt(1)Else CanSayEntrance.setValueInt(0)EndIfDebug.Notification(CanSayEntrance)LastInterior.SetValueInt(Game.GetPlayer().IsInInterior() as int)endEvent
I hope someone can tell me where I screwed up cause my throat hurts from raging at my poor hubby over this for 3 hours... lol...