How to check fatigue

Started by jastey, July 04, 2005, 10:56:44 PM

Previous topic - Next topic

jastey

How do I check whether an NPC is tired? I am sure this is one of these "did't look close enough" questions, but I don't seem to find it. It's not available in state.ids for "StateCheck(O:Object*,I:State*State)" (at least I didn't see it.)
Thank you for any hint!

CamDawg

#1
Fatigue is handled as a stat (see stats.ids) so you can use

CheckStatGT(Player1,6,FATIGUE)

The value corresponds to fatigmod.2da. I believe a character does not actually show as fatigued until they start accruing penalties--according to fatigmod.2da, this should happen at a value > 6.

I think. :)
The Gibberlings Three - Home of IE Mods

The BG2 Fixpack - All the fixes of Baldurdash, plus a few hundred more. Now available, with more fixes being added in every release.

jastey

I saw the "fatigue" in stats.ids but I had no idea how to call it as a trigger. Thank you, CamDawg, I will try this. :)

CamDawg

And if you can confirm/deny when fatigue is actually triggered (i.e. the icon appearing on the portrait and the NPC whining), let us know. :)
The Gibberlings Three - Home of IE Mods

The BG2 Fixpack - All the fixes of Baldurdash, plus a few hundred more. Now available, with more fixes being added in every release.

Domi

What about making character fatigued: can it be done via spell or is there Action that will make him/her fatigued?
Worry not about the arrow with your name on it, for there is but one.  Instead, occupy yourself with the arrows addressed 'To Whom it May Concern'...


CamDawg

The Gibberlings Three - Home of IE Mods

The BG2 Fixpack - All the fixes of Baldurdash, plus a few hundred more. Now available, with more fixes being added in every release.

Galactygon

What exactly are the penalties for fatigued characters? I have tried to incurr to-hit penalties to characters via fatigue, but I don't remember anything happened apart from a fatigue portrait icon appearing on their record.

-Galactygon

Baronius

For every 4 hours after the fatigue's appearance, the character receives a -1 luck penalty (-1 to all rolls).
Mental harmony dispels the darkness.

Quick Reply

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Name:
Email:
Shortcuts: ALT+S post or ALT+P preview