Skip to content

Bug: Varci check breaks modded area script AR0600

Hello!
I've discovered a bug in a script which seems to be original game bug.
AR0600.bcs contains script (last entry):
IF
GlobalTimerExpired("Varci","GLOBAL")
THEN
RESPONSE #100
ActionOverride("Varci",EscapeArea())
END

At some point in story timer started then expired. And then the condition always return true.
section always firing, it doesn't contain Continue() command so script processing always stops at this entry.
In the original BGEE it's no problem because there are no additional sections in this script below.
BUT in modded game there can be additional sections. Mine BWS build has like 10 more entries.
And this entry doesn't allow other entries to run.
For example Grey clan mod is not working because of this.

I suggest fix:
IF
GlobalLT("SpawnVarci","GLOBAL",99)
GlobalTimerExpired("Varci","GLOBAL")
THEN
RESPONSE #100
SetGlobal("SpawnVarci","GLOBAL",99)
ActionOverride("Varci",EscapeArea())
END

Comments

Sign In or Register to comment.