Documentation for available functions?
BillyYank
Member Posts: 2,768
in UI Modding
@Dee
Can Beamdog give us some documentation on the functions available for UI modding?
For example, I want to mod the portrait selector. When I look at UI.menu, I see the image is retrieved with "createCharScreen:GetCurrentPortrait()" and the buttons call "createCharScreen:DecCurrentPortrait()" and "createCharScreen:IncCurrentPortrait()".
What I would need are functions like GetPortraitList, GetNumberOfPortraits, SetCurrentPortrait, GetPortrait(index). Not necessarily those exact functions, but something that would let me gain access to more than one portrait at a time.
I'm sure there are other functions that would make the various UI mods easier if only the modders knew they existed.
Can Beamdog give us some documentation on the functions available for UI modding?
For example, I want to mod the portrait selector. When I look at UI.menu, I see the image is retrieved with "createCharScreen:GetCurrentPortrait()" and the buttons call "createCharScreen:DecCurrentPortrait()" and "createCharScreen:IncCurrentPortrait()".
What I would need are functions like GetPortraitList, GetNumberOfPortraits, SetCurrentPortrait, GetPortrait(index). Not necessarily those exact functions, but something that would let me gain access to more than one portrait at a time.
I'm sure there are other functions that would make the various UI mods easier if only the modders knew they existed.
4