This action displays the specified string over the head on the specified object (on the game-screen). The string may also be shown in the message log, depending on options specified in baldur.ini.
IF
HPPercentLT(Myself,50)
HasItem("Potn52",Myself)
THEN
RESPONSE #100
DisplayStringHead(Myself,46150)
UseItem("Potn52",Myself)
END
If the object's name is unset or set to an invalid strref, it will be attributed to the protagonist in the message log. To avoid that, use DisplayStringNoNameHead(), or SAY the creature's NAME to ~~ (empty string) when coding it in WeIDu.
BG2 barrel re-exports.
Generated by ts-update. Do not edit manually.
Uses named re-exports (not export *) so esbuild can statically resolve each binding without falling back to runtime __reExport helpers for externalized .d.ts modules.