Domi Posted October 17, 2004 Share Posted October 17, 2004 I am not sure if it is plausible, or maybe it was done already - if yes, please let me know a part of which package it is. What I want is that when NPC joins a party (no matter if it happens for the first or n-th time), and s/he has less XP than PC, that his/her XP would be added up to match the PC's (PC then can do leveling up on his/her own). I would love to see a feature like that, since it would help a bit with rotating characters. I do it now with CLUA, but it would be neat if there was an option to do it automatically. Link to comment
CamDawg Posted October 24, 2004 Share Posted October 24, 2004 Unfortunately, I don't think there's a way to compare XPs via script. Link to comment
Idobek Posted October 24, 2004 Share Posted October 24, 2004 Assuming this is for when the NPC first joins the party I think we only need to supply a stack of new creatures with a level of 1, and appropriate extra XP for the PC's level, and then patch NPCLEVEL.2DA. So, no scripting required. Link to comment
Domi Posted October 24, 2004 Author Share Posted October 24, 2004 Unfortunately, I don't think there's a way to compare XPs via script. Well, I was thinking about something like this (I think it is doable for TUTU, since we have only 8 or so levels in BG1): IF InParty(Myself) Level(Player1,2) LevelLT(Myself,2) THEN RESPONSE #100 SetGlobal("KivanRaiseLevel","GLOBAL",2) END IF InParty(Myself) LevelLT(Myself,2) Global("KivanRaiseLevel","GLOBAL",2) THEN RESPONSE #100 SetCurrentXP(2251) END Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.