is there a way to get the textbox number of a textbox that called a script?
so like, if you call a script with 'do script instead' you can figure out the textbox that called it.
also, is there a way to read the 'do textbox or script next' data?
If the text box is still being displayed, you can use "current text box" to return the number.
Otherwise, you could have a script call the text box in the first place, which will make things easier on you.
Not sure about the third question.
My website, the home of Motrya:
http://www.jshgaming.com
Otherwise, you could have a script call the text box in the first place, which will make things easier on you.
Not sure about the third question.
My website, the home of Motrya:
http://www.jshgaming.com
I'm pretty sure that there is no plotscripting command to read text box data. I would second JSH's suggestion that you start with the plotscript and call the various text boxes - this is most likely no more scripting than it would have been to 'get' the text box number, and the text box's data, and run 'if' checks for various cases from there.
I am Srime
I am Srime
the issue with that is that i am doing this to make a custom textbox display, something i played around with before, but it was a real hack. it looked really nice but was limited to 2 lines because i stored the next textbox and tag toggles in the last 4 lines of the textbox, and the speaker's name in the first, and the 2nd and 3rd line were all i had devoted to actual text.
if there surfaces some way to do what i am asking, then i can call a script in 'do instead of' and preserve chains of textboxes the way the editor does it, as opposed to wasting text (which i will likely store some other things in, related to the system i am working on) mostly, i can do it without getting at this data, but if i can figure out a way to get at it, then i can create a generic 'plug-and-play' version for the community.
maybe its not that big of a deal, but it would have textboxes that 'slide' open. text that types in (quickly, but not as quick as the OHR does it). NPCs that jump whenever they talk, for a start. i debated the idea of being able to scroll back through text, but as i think about it, it seems like this idea might be very hacky, but worth looking into, probably.
perhaps i will make a demo that works from just one or 2 NPCs and show it off to try and get these commands i so want.
sorry if this post is a little confusing i am writing quickly since i have to go study.
if there surfaces some way to do what i am asking, then i can call a script in 'do instead of' and preserve chains of textboxes the way the editor does it, as opposed to wasting text (which i will likely store some other things in, related to the system i am working on) mostly, i can do it without getting at this data, but if i can figure out a way to get at it, then i can create a generic 'plug-and-play' version for the community.
maybe its not that big of a deal, but it would have textboxes that 'slide' open. text that types in (quickly, but not as quick as the OHR does it). NPCs that jump whenever they talk, for a start. i debated the idea of being able to scroll back through text, but as i think about it, it seems like this idea might be very hacky, but worth looking into, probably.
perhaps i will make a demo that works from just one or 2 NPCs and show it off to try and get these commands i so want.
sorry if this post is a little confusing i am writing quickly since i have to go study.



