Enderal SE https://mod.pub/enderal-se/38-enderal-se
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
523 B
23 lines
523 B
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 |