I don't think "pointlessly" works. Of course, screaming when a ship is sinking is pretty pointless but I don't think that needs to be pointed out. To be honest, the same goes for "hopelessly". I'd use something like "screaming in abject terror".
If you have a question about the English language and would like to ask one of our many English teachers and language experts, please click the button below to let us know: