The Black Wyrm Lair Forums
The Black Wyrm's Lair Terms of Use Help Search Members Calendar

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> How to check fatigue
jastey
post 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!
Go to the top of the page
 
Quote Post
CamDawg
post 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. smile.gif

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.
Go to the top of the page
 
Quote Post
jastey
post Jul 5 2005, 08:09 AM
Post #3





Forum Member
Posts: 1366
Joined: 22-August 04
From: Germany




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. smile.gif
Go to the top of the page
 
Quote Post
CamDawg
post Jul 5 2005, 01:00 PM
Post #4





Forum Member
Posts: 59
Joined: 22-July 04




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. smile.gif


--------------------
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.
Go to the top of the page
 
Quote Post
Domi
post Jul 5 2005, 07:38 PM
Post #5





Forum Member
Posts: 283
Joined: 26-October 04




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'...

Go to the top of the page
 
Quote Post
CamDawg
post Jul 5 2005, 07:43 PM
Post #6





Forum Member
Posts: 59
Joined: 22-July 04




Yep, #93 (0x5d) Stat: Fatigue Modifier [93].


--------------------
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.
Go to the top of the page
 
Quote Post
Galactygon
post Jul 5 2005, 08:23 PM
Post #7



Group Icon

Mod Developer
Posts: 1158
Joined: 22-July 04
From: Sweden




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


--------------------
Go to the top of the page
 
Quote Post
Baronius
post Jul 5 2005, 08:50 PM
Post #8


Master of energies
Group Icon

Council Member
Posts: 3307
Joined: 9-July 04
From: Magyarország




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.
Go to the top of the page
 
Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:



- Lo-Fi Version Time is now: 19th May 2024 - 04:21 AM