23 lines
523 B
Plaintext
23 lines
523 B
Plaintext
|
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
|