Jump to content

Recommended Posts

Posted
Event OnHit(ObjectReference akAggressor, Form akSource, Projectile akProjectile, bool abPowerAttack, bool abSneakAttack, \
  bool abBashAttack, bool abHitBlocked)


If AkAggressor == Game.GetPlayer()
If (GetCombatTarget() != AkAggressor)
StopCombatAlarm()
StartCombat(AkAggressor As Actor)
EndIf
EndIf

EndEvent

I have been working on a combat mod and created this script to get an NPC who is in combat with another NPC to break of and attack the player. It works very well. The only problem is the NPC keeps putting away their weapon every time this is called "StopCombatAlarm()"

 

 

Can I get the NPC to keep their weapon drawn like a follower????

 

A follower keeps their weapon drawn but can change weapons.

 

Regards

Masterofnet

Posted (edited)

I have solved this problem

 

By replacing StopCombatAlarm()

 

with stopcombat() The NPC does not shield their weapon.

 

 

Regards

Masterofnet

Edited by Masterofnet
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...