Jump to content

tempv01, lathalrm


CamDawg

Recommended Posts

The 'you've been caught' scripts in the Lathander temple (ar0902) suffer the same issues as the ctalarm.bcs traps, in that you can be caught days/weeks/months afterward due to wonky scripts. tempv01 needs the same changes as enforam.bcs; the first block in lathalrm.bcs should only trigger if both !StateChecks returns true instead of just one (OR(2) needs to go).

Link to comment

Added to existing enforam.bcs patch:

 

// containers can summon guards days after they're open
COPY_EXISTING ~enforam.bcs~ ~override~
		  ~tempv01.bcs~ ~override~
 DECOMPILE_BCS_TO_BAF
REPLACE_TEXTUALLY ~OR(2)[%tab% %lnl%%mnl%%wnl%]+!See(\[NOTGOOD\])[%tab% %lnl%%mnl%%wnl%]+Global("warn","LOCALS",1)~ 
  ~GlobalTimerExpired("CDGoAway","LOCALS")~
REPLACE_TEXTUALLY ~Global("warn","LOCALS",0)~ ~Global("warn","LOCALS",0) GlobalTimerNotExpired("CDGoAway","LOCALS")~
REPLACE_TEXTUALLY ~Wait(5)~ ~~
REPLACE_TEXTUALLY ~See(\[NEUTRAL\])~ ~See([NEUTRAL.HUMANOID])~
 COMPILE_BAF_TO_BCS
 BUT_ONLY_IF_IT_CHANGES
EXTEND_TOP ~enforam.bcs~ ~bg2fixpack/baf/enforam.baf~
EXTEND_TOP ~tempv01.bcs~ ~bg2fixpack/baf/enforam.baf~

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...