Larian Banner: Baldur's Gate Patch 9
Previous Thread
Next Thread
Print Thread
Joined: Oct 2014
Location: Hogwarts
member
OP Offline
member
Joined: Oct 2014
Location: Hogwarts
Anyone know if there is a way to check if your character has low health points? It would need to follow the IF statement. For example:

IF
CharacterHasLowHealth
THEN
CharacterFlees

Joined: Jul 2014
R
addict
Offline
addict
R
Joined: Jul 2014
I can't recall off of the top of my head, but that should be in the domain of Character Scripts rather than Story scripts. There should be a charScript command that checks for health as a percentage, since that's how NPC's decide when to use healing items.

You can have the charScript trigger a Story event, if you're trying to do something with Story code.


Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.5