Create a new gui for the speech bubble. you could change the height of the bubble with a different sprite dependant on how much text there is to display. You could change the text of a label to get different text onto the screen.
The following won't work but will give you the right idea:
Code: ags
Alternatively you could use a new text widow gui
Edit: RickJ beat me to it but anyway
The following won't work but will give you the right idea:
function cEgo_Interact() {
Label.Text = "don't push me!";
DynamicSprite* DynamicSprite.CreateFromExistingSprite(1); //The bubble with a height for one line of code
}
Alternatively you could use a new text widow gui
Edit: RickJ beat me to it but anyway