Jump to content

[Fixed] G3 Tweak Pack bug: IVFPD


the bigg

Recommended Posts

Your code is:

COPY_EXISTING ~trigger.ids~ ~override~
 REPLACE_TEXTUALLY ~0x40A8~ ~0x4043~

PRINT @9401
COPY_EXISTING_REGEXP GLOB ~.*\.bcs$~ ~override~
 DECOMPILE_BCS_TO_BAF
   REPLACE_TEXTUALLY ~I[fs]ValidForPartyDialog\(ue\)?(~
                     ~InParty(~
 COMPILE_BAF_TO_BCS
 IF ~16552~
 BUT_ONLY_IF_IT_CHANGES

However, when decompiling the bcs, since IfValidForPartyDialog isn't anymore linked to 0x40a8 but to 0x4043, the 0x40a8 trigger cannot be decompiled properly.

I solved this by swapping the order:

PRINT @9401
COPY_EXISTING_REGEXP GLOB ~.*\.bcs$~ ~override~
 DECOMPILE_BCS_TO_BAF
   REPLACE_TEXTUALLY ~I[fs]ValidForPartyDialog\(ue\)?(~
                     ~InParty(~
 COMPILE_BAF_TO_BCS
 IF ~16552~
 BUT_ONLY_IF_IT_CHANGES

COPY_EXISTING ~trigger.ids~ ~override~
 REPLACE_TEXTUALLY ~0x40A8~ ~0x4043~

 

With this code, I didn't get any PARSE problem; with your code, I got PARSE warnings while decompiling scripts which contained IVFPD trigger.

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...