This has come up before but I couldn't find an exact answer to my questions:
I have a popup inventory that takes up a good portion of the screen when visible - I use actor.Talk for the inventory items, but obviously the subtitle is displayed wherever the actor happens to be when you click the inventory icon.
I want to move the subtitles to the bottom of the screen under the inventory ONLY when the inventory is visible.
So I guess I would change the subtitle position by altering the x and y values and the width when you click the inventory icon, but my question is, won't that leave the subtitles in that new position when I make the inventory invisible? And how do I get the subtitles to go back to their original position (above the actor) when the inventory is made invisible again? I can't find anywhere in the engine where the subtitle position is initially defined, so don't know what values to use to reset the position.
I could use an entity and use the entity's talk thing, but I don't want to have to add that entity to every scene - since I add the inventory icon to every scene, I just want to alter the position in the icon's script, so I only need to do it once.
Make sense? Good.