Jump to content


BCaesar

Member Since 01 Feb 2017
Offline Last Active Apr 17 2020 06:16 PM

Topics I've Started

Found Bug (and fix) for Yoshimo's 3rd talk with CHARNAME

11 November 2019 - 03:37 PM

Hello,

      I'm not sure who (or if anyone) is still updating this mod, but I found a bug and I think I found the fix too.

@Isaya

@agb1

@Kaeloree

@jastey

 

All the conditions for this are true in my game:

IF
    RealGlobalTimerExpired("YoshimoTalksPC3","GLOBAL")
    InParty(Myself)
    Global("I#Yoshimo_BY5","GLOBAL",2)
    Global("BYoshimo5","LOCALS",0)
THEN
    RESPONSE #100
        Interact(Player1)
END

 


But there's no talks that can trigger in my game in Yoshimo's banter file. The one that is supposed to trigger is Yoshimo's third talk with CHARNAME but that one requires the following:

 

 

  Global("PCYosh","LOCALS",2)
Global("BYoshimo5","LOCALS",0)
Global("I#Yoshimo_BY5","GLOBAL",2)
See(Player1)
!StateCheck(Player1,STATE_SLEEPING)

 


And in my game they're all true except Global("PCYosh","LOCALS",2) so that's breaking everything. Yoshimo endlessly tries to Interact with CHARNAME and can't.

 

The fix would be to make sure that every requirement for the dialogue is also a requirement for the script that triggers the dialogue.