hey there,
I have some problems with my script, I wrote the following script:
Scriptname OnHitWApocAttScript extends ObjectReference
Projectile Property MEApocProjectile01 Auto
ObjectReference Property MAGINVAbsorb Auto
ObjectReference Property MAGINVAbsorbLight Auto
ObjectReference Property SKBloodBowl Auto
ObjectReference Property SKBloodBowl02 Auto
ObjectReference Property SKBloodBowl03 Auto
ObjectReference Property SKBloodBowlBlood Auto
ObjectReference Property SKLight Auto
ImageSpaceModifier Property HRImod Auto
Quest Property ShrineSarkousSideQST Auto
Event OnHit(ObjectReference akAggressor, Form akSource, Projectile akProjectile, bool abPowerAttack, bool abSneakAttack, \
bool abBashAttack, bool abHitBlocked)
if (akProjectile == MEApocProjectile01) && (ShrineSarkousSideQST.GetStageDone(55)) && (ShrineSarkousSideQST.GetStageDone(56))
HRImod.apply()
MAGINVAbsorb.Enable()
MAGINVAbsorbLight.Enable()
SKBloodBowl.Enable()
SKBloodBowl02.Enable()
SKBloodBowl03.Enable()
SKBloodBowlBlood.Enable()
SKLight.Disable()
Endif
EndEvent
My problem now:
I saved the script, all seems to be okay, but ingame my script doesn't work. If I remove the if conditions ("&& (ShrineSarkousSideQST.GetStageDone(55)) && (ShrineSarkousSideQST.GetStageDone(56))") the script works.
I hope anyone can help.
Thanks!