| The Black Wyrm's Lair Terms of Use |
Help
Search
Members
Calendar
|
Jul 4 2005, 10:56 PM
Post
#1
|
|
|
Forum Member Posts: 1366 Joined: 22-August 04 From: Germany |
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! |
|
|
|
![]() |
Jul 4 2005, 11:24 PM
Post
#2
|
|
|
Forum Member Posts: 59 Joined: 22-July 04 |
Fatigue is handled as a stat (see stats.ids) so you can use
CODE 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. This post has been edited by CamDawg: Jul 4 2005, 11:26 PM -------------------- 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. |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 25th January 2026 - 10:03 AM |