02-13-2021, 04:08 PM
Hello. I have modified this script slightly to essentially use it as a float-enabler. What this means is that I display a short line of text in certain coordinates so it appears as if the protagonist in the middle of the screen would be uttering the float, like this:
After a time has elapsed, the float disappears. I currently contain with timers on how long until player can activate the same float again so they cannot flood the screen by spamming.
However, I have a slight problem with this. I would like to know if there is a way to dispose of the float (erase it) upon script call? Since otherwise, two objects close to eachother will essentially be drawn upon eachother (unless contained by timers more tightly, but that is an unsatisfactory method to me), like this:
I have tried calling these, and they seem to work for a moment, but they crash the game immediately after flushing the float:
$tss_scroll_window.dispose
$tss_bg_window.dispose
I would appreciate any help, and if there is anything I could do in return, please ask.
After a time has elapsed, the float disappears. I currently contain with timers on how long until player can activate the same float again so they cannot flood the screen by spamming.
However, I have a slight problem with this. I would like to know if there is a way to dispose of the float (erase it) upon script call? Since otherwise, two objects close to eachother will essentially be drawn upon eachother (unless contained by timers more tightly, but that is an unsatisfactory method to me), like this:
I have tried calling these, and they seem to work for a moment, but they crash the game immediately after flushing the float:
$tss_scroll_window.dispose
$tss_bg_window.dispose
I would appreciate any help, and if there is anything I could do in return, please ask.