enderalse/source/scripts/_00e_a2_ghostwalk_wallchecksc.psc

23 lines
523 B
Plaintext
Raw Normal View History

Scriptname _00E_A2_Ghostwalk_WallCheckSC extends ReferenceAlias
Event OnHit(ObjectReference akAggressor, Form akSource, Projectile akProjectile, bool abPowerAttack, bool abSneakAttack, bool abBashAttack, bool abHitBlocked)
If akProjectile == _00E_A2_GhostwalkWallCheckProjectile
AreWeTooClose = True
EndIf
EndEvent
Bool Function CheckOnSpellImpact()
If AreWeTooClose == True
Return True
Else
Return False
EndIf
EndFunction
bool AreWeTooClose
Projectile Property _00E_A2_GhostwalkWallCheckProjectile Auto