subtledoctor Posted July 19, 2020 Share Posted July 19, 2020 I just added Alora to my party, using the “Alora BG2” mod on BG2EE v2.5.16. She won’t walk anywhere. Every second or even quicker, her weapon will flash on her portrait and she will stop moving. I set her script to “none” and this keeps happening, both with party AI on and party AI off. Tbe rest of my party (a mix of vanilla and mod NPCs) are totally fine I feel like I’ve seen people talk about this sort of thing before, but I can’t find the discussions now. Can anyone help? Have an idea of what the issue is? Quote Link to comment
subtledoctor Posted July 19, 2020 Author Share Posted July 19, 2020 (edited) Could it be something wrong with the script put in her "override script" slot, CMALORA.BCS? Spoiler IF GlobalGT("AloraEdwinFR","GLOBAL",1) !Dead("Edwin") HPPercentLT("Edwin",30) !HP("Edwin",1) InParty(Myself) InParty("Edwin") Exists(LastAttackerOf("Edwin")) THEN RESPONSE #100 Attack(LastAttackerOf("Edwin")) END IF GlobalGT("AloraEdwinFR","GLOBAL",1) Allegiance("Edwin",ENEMY) !StateCheck("Edwin",STATE_CHARMED) InParty(Myself) THEN RESPONSE #100 LeaveParty() Enemy() END IF GlobalGT("AloraEdwinFR","GLOBAL",1) Allegiance("Edwin",ENEMY) !StateCheck("Edwin",STATE_CHARMED) Allegiance(Myself,NEUTRAL) !InParty(Myself) THEN RESPONSE #100 Enemy() END IF InParty(Myself) HPLT("Edwin",15) InParty("Edwin") Exists(LastAttackerOf("Edwin")) THEN RESPONSE #100 Attack(LastAttackerOf("Edwin")) END IF InParty(Myself) Dead("Edwin") THEN RESPONSE #100 Attack(LastAttackerOf("Edwin")) END That THEN RESPONSE #100 Enemy() END ...seems weird to me - is "enemy()" an Action? - but then again I'm no expert at scripting. Could the problem be something else? EDIT - I think it's this: IF InParty(Myself) Dead("Edwin") THEN RESPONSE #100 Attack(LastAttackerOf("Edwin")) END Edwin is dead in my game, was dead before I recruited Alora. Either the base game or a mod allows you to betray him to Rayic Gethras, and of course I did because Edwin is a lying murderous douchebag. So this script is a) useless, and b) possibly problematic, because I am trying to walk through Waukeen's Promenade and Alora is stopping every second trying to attack Rayic Gethras (who isn't there). I'll try editing the script. Edited July 19, 2020 by subtledoctor Quote Link to comment
DavidW Posted July 19, 2020 Share Posted July 19, 2020 Enemy() is an action - it sets your Allegiance to ENEMY. Quote Link to comment
subtledoctor Posted July 20, 2020 Author Share Posted July 20, 2020 Editing the script fixed the issue. Strange that a script entirely focused on Edwin (??) is in her override script slot; and unfortunate that it can completely break the NPC. I can’t find anywhere to report it... Quote Link to comment
DavidW Posted July 20, 2020 Share Posted July 20, 2020 The override is where you have to put any compulsory content for an NPC, as it's the only slot that ignores the AI button. I agree that this particular content looks weird. Quote Link to comment
Recommended Posts
Join the conversation
You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.