eugene Posted December 4, 2012 Posted December 4, 2012 hello everyone, here is another question regarding my mod. this time i got a weird issue which breaks the game completely. my npc has a dream script file defined in pdialog.2da which works until some lovetalks. at the last lovetalk which should happen after resting in an inn does not fire. this is my first issue: my npc never talks to player after the rest. second, if i modify the dream script with DLTC editor (to test the above issue for example) then game ignores dream script file completely for whole saves/games etc... as if it is invalid. is there something i am missing or does game make a different check for this file? thanks, below is my dream script file, last LOVETALK-45 IF does not work. i appreciate if you can point a solution for that also:) IF InParty(Myself) RealGlobalTimerExpired("EU#LenaRomance","GLOBAL") Global("EU#LenaRomanceActive","GLOBAL",1) Global("EU#LenaMatch","GLOBAL",1) !AreaType(DUNGEON) See(Player1) !StateCheck("EU#Lena",CD_STATE_NOTVALID) !StateCheck(Player1,CD_STATE_NOTVALID) !See([ENEMY]) CombatCounter(0) OR(2) Global("EU#LenaLoveTalk","LOCALS",21) // Cooking Global("EU#LenaLoveTalk","LOCALS",29) // Why Still Let Travel THEN RESPONSE #1 IncrementGlobal("EU#LenaLoveTalk","LOCALS",1) Interact(Player1) END IF InParty(Myself) RealGlobalTimerExpired("EU#LenaRomance","GLOBAL") Global("EU#LenaRomanceActive","GLOBAL",1) Global("EU#LenaMatch","GLOBAL",1) !AreaType(DUNGEON) See(Player1) !StateCheck("EU#Lena",CD_STATE_NOTVALID) !StateCheck(Player1,CD_STATE_NOTVALID) !See([ENEMY]) CombatCounter(0) GlobalGT("EU#LenaLike","LOCALS",5) // greater/equal than 5 is enough from 19 (wrong!! need update) total possible Global("EU#LenaLoveTalk","LOCALS",31) // Lena Accepts THEN RESPONSE #1 IncrementGlobal("EU#LenaLoveTalk","LOCALS",1) Interact(Player1) END //: reverse of above, if like is low then set romance to 3 to enable others IF InParty(Myself) RealGlobalTimerExpired("EU#LenaRomance","GLOBAL") Global("EU#LenaRomanceActive","GLOBAL",1) Global("EU#LenaMatch","GLOBAL",1) GlobalLT("EU#LenaLike","LOCALS",6) // lower than 6, from 19 (wrong!! need update) total possible Global("EU#LenaLoveTalk","LOCALS",31) // Lena Accepts THEN RESPONSE #1 SetGlobal("EU#LenaRomanceActive","GLOBAL",3) END IF InParty(Myself) RealGlobalTimerExpired("EU#LenaRomance","GLOBAL") Global("EU#LenaRomanceActive","GLOBAL",2) Global("EU#LenaMatch","GLOBAL",1) !AreaType(DUNGEON) OR(12) AreaCheck("AR0021") // crooked crane, city gates, lvl1, not likely to happen because Lena refuses to stay AreaCheck("AR0406") // copper coronet, lvl2 AreaCheck("AR0704") // mithrest, waukens prom, lvl4 AreaCheck("AR0709") // den of seven vales, lvl3 AreaCheck("AR0313") // sea bounty tavern, lvl4 AreaCheck("AR0509") // five flagons, lvl4 AreaCheck("AR0513") // delosar, bridge, lvl4 AreaCheck("AR1602") // vulgar monkey, lvl2 AreaCheck("AR1105") // umar inn, lvl3 AreaCheck("AR2010") // vyatri pub, trademeet, lvl3 AreaCheck("AR5003") // saradush tavern, lvl3 AreaCheck("AR5501") // amkethran inn, lvl3 See(Player1) !StateCheck("EU#Lena",CD_STATE_NOTVALID) !StateCheck(Player1,CD_STATE_NOTVALID) !See([ENEMY]) CombatCounter(0) Global("EU#LenaLoveTalk","LOCALS",45) // Get Drunk At Inn THEN RESPONSE #1 IncrementGlobal("EU#LenaLoveTalk","LOCALS",1) Interact(Player1) END
Recommended Posts
Archived
This topic is now archived and is closed to further replies.