I know how to register a death icon and message, like such
(send dyingScript:
caller(1)
register("This is the string registered in rm001.sc. The caller has been set to view 1.")
)
And this code works fine, I have no problems with this on its own.
But, I was wondering, how would I add a title to the message window? The first example I can think of would be the death messages in Space Quest III ("One way to lower your blood pressure", etc).
Is there any way to implement a "#title" I could register from the room script, or would it be more complicated than that?
My first assumption was something like
(send dyingScript:
caller(1)
register("This is the string registered in rm001.sc. The caller has been set to view 1." #title "Wow, a title!")
)
but this neither did what I intended nor produced an error, so I'm not entirely sure what the interpreter is seeing when it comes across that line.
Apologies if this seems simple or trivial; I'm relatively new to this and only really just recently figured out how to USE the handler in the first place.