Kulyok Posted December 27, 2006 Share Posted December 27, 2006 It happens in my games from time to time: the NPC whom I romance stops, his or her romance music starts to play, but - oops! - I've just given them an order, so they go and do it, and never give me the talk. Technically it looks like this: since the Global timer has expired, the variable is set to 10, but since Anomen was given an order, he doesn't talk right away - but the variable has already switched to 11! So the player is left without one of their romance talks. Or two, or more, if the player is fond of ordering party around at inappropriate times. I am not *absolutely* sure, but I've noticed that it doesn't seem to happen with plot-related dialogues: Jaheira always speaks in the Slums, or after Baron Ployer curses her, Anomen does not fail to speak, when Terl appears, and so on. So, I wonder: if, instead of setting all globals in the script, the lovetalks will look like IF ~Global("NPCRomance","LOCALS",10)~ NPCTalk10 SAY ~(something)~ IF ~~ THEN REPLY ~(something)~ DO ~SetGlobal("NPCRomance","LOCALS",11)~ GOTO NPCTalk10.1 - will it help? Link to comment
This topic is now archived and is closed to further replies.