View Single Post
Post  
  #8 (permalink)  
Old 06-26-2001, 08:21 PM
velvetfreak velvetfreak is offline
Exalted Member
 
Join Date: May 2001
Location: Melbourne, Australia
Posts: 184
OK, here's the deal.

Something is interrupting the script where Gorf is attacking the bystander. It should SetGlobal("GorfBystander","GLOBAL",1) but for some reason doesn't. I can't tell why because I can't observe it for myself. The first dialog checks Global("GorfBystander","GLOBAL",0) before proceeding, so I know what the problem is but not the cause.

So I came up with two possible fixes. The first one (this one is more direct IMO) puts interrupt-protection around the part where Gorf attacks the bystander. This means nothing will stop the GorfBystander GLOBAL from being set, thus preventing the loop. I used the Instant action SetInterrupt("FALSE|TRUE") before and after the actions for this.

As for the second, as soon as Gorf says "I show you difference... watch me", the dialog sets a LOCAL for "GoKillEm" to 1. Then Gorf moves towards the bystander and attacks for one round, after which (you'll be happy to know ) the bystander plays dead. Also just before the attack, that LOCAL is set to 2. So there are 2 places within the encounter loop where this variable is manipulated. Still with me?

I put in an extra check for the first dialog: Global("GoKillEm","LOCALS",0). That should return True if the variable doesn't exist, and false if one or both of the actions above has occurred. Hopefully that will pick up the fact that this dialog has already happened, and it will move to the next one.

Care to help me test it? Metatron (or anyone who has experienced this) please email me so I can forward you the two patches to try out. If the first one works, that would be my preference.
__________________
Check my profile for the Glaicas patch
Reply With Quote