Hi,
I can’t give a complete implementation right now, but some hints ;-).
Create a Blueprint “BP_Page” with
- Page model
- Collected state
Create a Blueprint “BP_PageController”
- Add an array with all pages
- Create access functions “pageCollected”, “getNumberOfCollectedPages”, “getNumberOfPages”, “…”
Create an UMG Widget “UI_Player”
- Add reference to “BP_PageController” pageController
- Add text widget and bind text to a function
- As text you set then “text = pageController.getNumberOfCollectedPages() + " / " + pageController.getNumberOfPages”
Probalby someone has some more time to create some blueprint examples. But this is shortly how I would do this.
freakxnet