ScriptName SE10DSScript
;
;This script handles activation for generic Dark Seducer NPCs during quest SE10.
Begin OnActivate
;keep player from looting when "dead"
if ( SE10.killtime >= 1 )
; if ( GetStage SE10 >= 30 )
if ( GetStage SE10 < 50 )
if ( IsActionRef Player == 1 )
return
else
Activate
endif
else
Activate
endif
else
Activate
endif
else
Activate
endif
End
Begin OnDeath
;update quest var on death -- used for male reinforcements
;conditioned on not being in Cell 4 when scripted death occurs
if ( GetInCell XPPinnacleRock04 == 0 )
if ( SE10.ReinforceDone == 0 )
set SE10.Reinforce to SE10.Reinforce + 1
endif
endif
End |