enderalse/source/scripts/_00e_mq11a_combattavernscript.psc

16 lines
468 B
Plaintext

Scriptname _00E_MQ11a_CombatTavernscript extends ReferenceAlias
{Failsave-Script that kicks in if the player attacks one of the tavern guests.}
Event OnHit(ObjectReference akAggressor, Form akSource, Projectile akProjectile, bool abPowerAttack, bool abSneakAttack, bool abBashAttack, bool abHitBlocked)
if akAggressor == PlayerREF
MQ11a.SetObjectiveFailed(15)
MQ11a.SetCurrentStageID(39)
EndIf
EndEvent
Quest Property MQ11a Auto
Actor Property PlayerREF Auto