I’m sorry if I bother you micbaldur but for TDD problem about triggers “!IsGabber(PlayerX)” I noticed there are 2 blocks in my AR0300.BCS (and in your too, I think) with triggers “!IsGabber(PlayerX)”.
here is:
IF
!IsGabber(Player1)
!IsGabber(Player2)
!IsGabber(Player3)
!IsGabber(Player4)
!IsGabber(Player5)
!IsGabber(Player6)
Global("XzarPartyBG1","GLOBAL",1)
OR(2)
Global("LyrosJob","GLOBAL",3)
Dead("LYROS")
Exists("Rylock")
Global("RylockLeavesHarperDoor","AR0300",0)
THEN
RESPONSE #100
SetGlobal("RylockLeavesHarperDoor","AR0300",1)
CloseDoor("DOOR0308")
Lock("DOOR0308")
ActionOverride("Rylock",EscapeArea())
Wait(5)
CreateVisualEffectObject("spdimndr",Player1)
Wait(1)
Activate("Xzar")
ActionOverride("Xzar",ChangeAIScript("XZARDD",OVERRIDE))
ActionOverride("Xzar",ChangeAIScript("LYROS",CLASS))
ActionOverride("Xzar",ChangeAIScript("WTAXZAR",GENERAL))
ActionOverride("Xzar",ChangeAIScript("",RACE))
END
IF
!IsGabber(Player1)
!IsGabber(Player2)
!IsGabber(Player3)
!IsGabber(Player4)
!IsGabber(Player5)
!IsGabber(Player6)
Global("XzarPartyBG1","GLOBAL",0)
OR(2)
Global("LyrosJob","GLOBAL",3)
Dead("LYROS")
Exists("Rylock")
Global("RylockLeavesHarperDoor","AR0300",0)
THEN
RESPONSE #100
SetGlobal("RylockLeavesHarperDoor","AR0300",1)
CloseDoor("DOOR0308")
Lock("DOOR0308")
ActionOverride("Rylock",EscapeArea())
Wait(5)
SetInterrupt(FALSE)
CreateVisualEffectObject("spdimndr",Player1)
Wait(1)
CreateCreatureObjectOffset("xzar13",Player1,[150.0]) // Xzar
SetInterrupt(TRUE)
END
If I modify AR0300.BCS as follow, that's right?:
IF
Global("XzarPartyBG1","GLOBAL",1)
OR(2)
Global("LyrosJob","GLOBAL",3)
Dead("LYROS")
Exists("Rylock")
Global("RylockLeavesHarperDoor","AR0300",0)
THEN
RESPONSE #100
SetGlobal("RylockLeavesHarperDoor","AR0300",1)
CloseDoor("DOOR0308")
Lock("DOOR0308")
ActionOverride("Rylock",EscapeArea())
Wait(5)
CreateVisualEffectObject("spdimndr",Player1)
Wait(1)
Activate("Xzar")
ActionOverride("Xzar",ChangeAIScript("XZARDD",OVERRIDE))
ActionOverride("Xzar",ChangeAIScript("LYROS",CLASS))
ActionOverride("Xzar",ChangeAIScript("WTAXZAR",GENERAL))
ActionOverride("Xzar",ChangeAIScript("",RACE))
END
IF
Global("XzarPartyBG1","GLOBAL",0)
OR(2)
Global("LyrosJob","GLOBAL",3)
Dead("LYROS")
Exists("Rylock")
Global("RylockLeavesHarperDoor","AR0300",0)
THEN
RESPONSE #100
SetGlobal("RylockLeavesHarperDoor","AR0300",1)
CloseDoor("DOOR0308")
Lock("DOOR0308")
ActionOverride("Rylock",EscapeArea())
Wait(5)
SetInterrupt(FALSE)
CreateVisualEffectObject("spdimndr",Player1)
Wait(1)
CreateCreatureObjectOffset("xzar13",Player1,[150.0]) // Xzar
SetInterrupt(TRUE)
END