CamDawg Posted March 27, 2005 Share Posted March 27, 2005 BD makes two changes to Mazzy's override script. The first is to prevent her going hostile and leaving the party if Valygar is charmed and hostile after she adopts him as a squire. The second appears to be a spurious change which I've not included (more below). // mazzy only goes hostile if Valygar is hostile and not charmed COPY_EXISTING ~mazzy.BCS~ ~override~ DECOMPILE_BCS_TO_BAF REPLACE_TEXTUALLY ~Allegiance("Valygar",ENEMY)~ ~Allegiance("Valygar",ENEMY) !StateCheck("Valygar",STATE_CHARMED)~ COMPILE_BAF_TO_BCS The second alteration changes an EscapeAreaMove to an EscapeArea() (last line of second script block). Given the code block above it, it does seem this is an unnecessary change. Before: IF Global("MazzyNoCure","GLOBAL",1) AreaCheck("AR2002") !InParty(Myself) Global("MazzyFindsOwnCure","LOCALS",0) THEN RESPONSE #100 SetGlobal("MazzyFindsOwnCure","LOCALS",1) SetGlobal("Pala","GLOBAL",10) MoveToPoint([341.400]) Face(13) END IF Global("MazzyNoCure","GLOBAL",1) !AreaCheck("AR2002") !InParty(Myself) Global("MazzyFindsOwnCure","LOCALS",0) THEN RESPONSE #100 SetGlobal("MazzyFindsOwnCure","LOCALS",1) SetGlobal("Pala","GLOBAL",10) EscapeAreaMove("AR2002",341,400,13) END And after: IF Global("MazzyNoCure","GLOBAL",1) AreaCheck("AR2002") !InParty(Myself) Global("MazzyFindsOwnCure","LOCALS",0) THEN RESPONSE #100 SetGlobal("MazzyFindsOwnCure","LOCALS",1) SetGlobal("Pala","GLOBAL",10) MoveToPoint([341.400]) Face(13) END IF Global("MazzyNoCure","GLOBAL",1) !AreaCheck("AR2002") !InParty(Myself) Global("MazzyFindsOwnCure","LOCALS",0) THEN RESPONSE #100 SetGlobal("MazzyFindsOwnCure","LOCALS",1) SetGlobal("Pala","GLOBAL",10) EscapeArea() END So if Mazzy is in ar2002 with these triggers, she gets moved to a point in the area. If she's not in the area with the same triggers, she EscapeAreaMoves to that point, which makes more sense than EscapeArea(). As such, this change has been dropped. Link to comment
CamDawg Posted March 28, 2005 Author Share Posted March 28, 2005 Included in alpha 3. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.