Dark Brotherhood script

Post » Sat May 28, 2011 1:44 am

Can anyone break down what the following script does

Begin dbFixScript

short dbnew

if ( CellChanged == 0 )
return
endif

if ( GetPCCell "Skaal Village" == 1 )
if ( dbattack == 1 )
set dbnew to dbattack
set dbattack to 0
endif
else
if ( dbnew == 1 )
set dbattack to dbnew
set dbnew to 0
endif
endif



End dbFixScript

I mainly want to know when it starts and what it does. The assassins are not attacking me even without any mods and I'm wondering if this could be related to another problem I'm having with game freezing in expansion areas.
User avatar
Laura Tempel
 
Posts: 3484
Joined: Wed Oct 04, 2006 4:53 pm

Post » Sat May 28, 2011 1:21 am

Outside of Skaal Village, assassins may or may not attack you, depending on the quest stage (although it *might* be affected by mod conflicts). In Skaal Village, they shouldn't be attacking no matter what. The script, in its crude way, backups dbattack and restores it to its previous state when you leave the village.
User avatar
Brooks Hardison
 
Posts: 3410
Joined: Fri Sep 07, 2007 3:14 am


Return to III - Morrowind