8,013
edits
Paradox-01 (talk | contribs) m (typo) |
Paradox-01 (talk | contribs) No edit summary |
||
Line 667: | Line 667: | ||
+-- Text (e.g. hypospray hint text) | +-- Text (e.g. hypospray hint text) | ||
Count direct children of '''W'''idget'''S'''witcher | Count direct children of '''W'''idget'''S'''witcher by using the its reference connected to a Get Num Widget node. | ||
It's possibly a good idea to count all sections during the construction event and save the results in an array via Make Array node. | It's possibly a good idea to count all sections during the construction event and save the results in an array via Make Array node. | ||
In theory we could create many copies of Overlay nodes. But doing so and future update would mean more work than necessary. Instead a single overlay with its children can be do the job by assigning data to them from a '''data table'''. | |||
Variables that track active pages are destroyed as the widget is closed. If we want to resume reading after reopening a menu the variable values should have been copied to somewhere else. If we put them into character variable then we can easily restore those values even after a level loading. | Variables that track active pages are destroyed as the widget is closed. If we want to resume reading after reopening a menu the variable values should have been copied to somewhere else. If we put them into character variable then we can easily restore those values even after a level loading. |
edits