Quests in the Players Hold - lmstearn/skyui GitHub Wiki

Aim

To implement a "localised" aspect to the Skyui mod with an ultimate view of optimising Skyrim questpaths weighted by a travel _impost factor.

Current Status

Current files:

Main file

Mapmenu

For Global

Not functioning using CS6. The playerPosition array in Questspage can be defined in mapmenu as a public static var, however the variable only has a 0 value in mapmenu which is not even accessible to questspage. Same result applies if Map.MapMenu.playerPosition, MapMenu.Map.playerPosition or even Map.MapMenu.Map.playerPosition. A class was setup for it in Shared: coords, which has similar problems. Even things like:

playerPosition [0] = markerName._x;
playerPosition [1] = markerName._y;

bomb out as markerName._x probably doesn't even exist. The original author's commented mention of the internal mappedIndex property in mapmenu.as demonstrates how much is left out here. Looks like it's all done in the gfx scaleform bit.

The best bet was to trap any of the .-x or ._y properties when ShowJournal is invoked (presumably by OnJournalButtonClick or pressing "J".)

The only other way is through Papyrus/SKSE. Need to set up special delegates for that.

To the Future

A dust gatherer. Perhaps the entire HUD can be given an AS3 revamp someday.