CamDawg Posted January 15, 2011 Share Posted January 15, 2011 Listed in the IESDP as 0x40C4 CheckPartyAverageLevel(I:Level*,I:Diffmode*diffmode) I initially thought diffmode may refer to dificulty level or HoF mode, but I was chasing a red herring. The second parameter actually lets this function as an equal, GT, or LT trigger. CheckPartyAverageLevel(5,1) will return true if the average party level is exactly five. CheckPartyAverageLevel(5,2) will return true if the party level is less than five. CheckPartyAverageLevel(5,3) will return true if the party level is greater than five. Trying other values in the second parameter return false. Link to comment
CamDawg Posted January 15, 2011 Author Share Posted January 15, 2011 Looking down the trigger list, I suspect that difficulty works in the same fashion (though I haven't tested): 0x40AB Difficulty(I:Level*DiffLevl,I:Mode*diffmode) Link to comment
CamDawg Posted January 15, 2011 Author Share Posted January 15, 2011 And confirmed for Difficulty as well. Looks like the missing diffmode.ids should look something like IDS 1 EQUAL 2 LESS_THAN 3 GREATER_THAN Link to comment
Avenger Posted January 15, 2011 Share Posted January 15, 2011 Yep, i can confirm the diffmode stuff, GemRB has this implemented for quite some time. Link to comment
igi Posted November 23, 2011 Share Posted November 23, 2011 Local copy amended, thanks. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.