I want to create item descriptions that go beyond the two-line limit. I figured the best way to go would be make it a scrollable window... but for some reason it doesn't work. Didn't look too far into it, because I quickly figured that trying to scroll the item description would interfere with scrolling windows in the scenes that the help window is used in.
My next thought was attempting to create a scrolling window, like what is used for scrolling messages, and stick it on the help window in the menuBase scene. But.... I'm not entirely sure how to go about it. Scenes are an area I haven't really touched, I've only dealt with minor tweaks until now, mostly sticking to mechanic scripts.
I've already got word wrap on the default help window working, so I don't have to worry about trial and error formatting when setting up my bigger descriptions. I'm not sure if I can replicate it in the scrolling window itself, but I have a few ideas to test on that front when I get there. I also believe I know how to keep the window "active" and not cleared the entire time the help window is open, either through resetting or reversing the scroll when it reaches the end instead of clearing.
I've got a few assumptions, based on looking at the code(not stepping through it, I'm hoping not to. For scenes in menus it can jump around a LOT as I attempt to follow it at runtime, and a lot of the functions would be minutiae I don't need to follow).
-the scrolling window doesn't have a frame, per the description in the code. This means it sits on TOP of whatever you're putting it on.
-the text in the scrolling window is separate from the text in its "base", meaning I would have to set the text to the scrolling window directly, and have the base text blanked to prevent overlap.
-since the help window and scrolling window are two separate windows added to the same scene, I'd need a way to tie them together, so that updates to the help window automatically affects the scrolling window.
-this would be achieved by adding two functions to the help window prototype, one to set the reference to the scrolling window created by the scene, and one to actually provide the reference.
Are my assumptions correct? Am I missing/overlooking anything important? I'd like to get a handle on the work flow ahead of me before I start diving into the guts of a scene window. I'm wanting this to affect ALL iterations of the help window, so I have no problems overwriting the whole prototype if I have to, but I'm hoping to not modify the scrolling window much, if at all. I don't want to screw up the original. I could always create a separate version if I have to tweak it TOO much.
My next thought was attempting to create a scrolling window, like what is used for scrolling messages, and stick it on the help window in the menuBase scene. But.... I'm not entirely sure how to go about it. Scenes are an area I haven't really touched, I've only dealt with minor tweaks until now, mostly sticking to mechanic scripts.
I've already got word wrap on the default help window working, so I don't have to worry about trial and error formatting when setting up my bigger descriptions. I'm not sure if I can replicate it in the scrolling window itself, but I have a few ideas to test on that front when I get there. I also believe I know how to keep the window "active" and not cleared the entire time the help window is open, either through resetting or reversing the scroll when it reaches the end instead of clearing.
I've got a few assumptions, based on looking at the code(not stepping through it, I'm hoping not to. For scenes in menus it can jump around a LOT as I attempt to follow it at runtime, and a lot of the functions would be minutiae I don't need to follow).
-the scrolling window doesn't have a frame, per the description in the code. This means it sits on TOP of whatever you're putting it on.
-the text in the scrolling window is separate from the text in its "base", meaning I would have to set the text to the scrolling window directly, and have the base text blanked to prevent overlap.
-since the help window and scrolling window are two separate windows added to the same scene, I'd need a way to tie them together, so that updates to the help window automatically affects the scrolling window.
-this would be achieved by adding two functions to the help window prototype, one to set the reference to the scrolling window created by the scene, and one to actually provide the reference.
Are my assumptions correct? Am I missing/overlooking anything important? I'd like to get a handle on the work flow ahead of me before I start diving into the guts of a scene window. I'm wanting this to affect ALL iterations of the help window, so I have no problems overwriting the whole prototype if I have to, but I'm hoping to not modify the scrolling window much, if at all. I don't want to screw up the original. I could always create a separate version if I have to tweak it TOO much.