Scriptname Dark05EnforcerScript
short enabled
short EnforcerDead
short Attack
Begin GameMode
;disable Hides-His-Heart and his men until they're needed by the quest
if enabled == 0
if ( GetStage Dark05Assassinated < 10 )
HidesHisHeartRef.Disable
;WallaceRef.Disable
;Disable
set enabled to 1
endif
endif
;disable Hides-His-Heart and his men until they're needed by the quest
if enabled == 0
if ( GetStage Dark05Assassinated >= 10 )
if Dark05Assassinated.HidesHeartSound < 1
HidesHisHeartRef.Disable
set enabled to 1
endif
endif
endif
if Dark05Assassinated.Oops == 2
if HidesHisHeartRef.Enabled == 1
if Attack == 0
HidesHisHeartRef.StartCombat Player
set Attack to 1
endif
endif
endif
End
Begin OnDeath
if EnforcerDead == 0
setstage Dark05Assassinated 70
set EnforcerDead to 1
endif
End |