Hey Modders I'm in the process of making a mod where I'm recording a whole lot of data to develop some comprehensive stats about the player. It's a pretty intensive project and I've already got a lot of scripts capturing combat data. I'm sort of stuck on a particular issue with gathering quest data. I'd like to find out: A) the distance to the nearest Quest Target of the active quest (if one is available) and B) if the player is facing in the direction of the reference. I can calculate distance, and I can calculate the angle (GetDistance and GetHeadingAngle) but to actually get the coordinates of the current quest target is quite infuriating, I can't seem to find a function that allows me to get it. I know of the console command, GetQuestTargets, returns the active quest targets, but it doesn't seem work in a script. I could print to the console, but I can't read the results from the console. I can get the Active Quest by GetActiveQuest, and I can read the current quest variables if they exist, but the quest target data is stored separately. I can read what stage they are up to but not the target :( I guess what I'm looking for is: A way to get the current TargetRef of the active quest; Alternatively: Is there a way to get x,y data about the green/red quest marker/s on the map/compass? This is what I'd like to be able to do (but obviously doesn't work) ref currentquest ref currentquesttarget set currentquest to GetActiveQuest set currentquesttarget to currentquest.getquestvars target_ref Any clue how to go about doing this? I'd prefer not to have to modify every other quest script to accommodate :( I'm using OBSE if that helps any.