Jump to content

[LE] Make follower(s) attack "marked" NPC


CYNIC78

Recommended Posts

Hello. I want to find the way to make followers attack enemy I "marked" with custom spell. I know there is feature when you can order follower attack someone, but it works good outside combat via dialogue, is it possible to force them to do so while in combat? Ideally I would like to use custom spell, so when I cast it on certain enemy then follower is trying to rush and attack "marked" enemy even if follower is fighting another NPC.

 

Thanks in advance.

Edited by CYNIC78
Link to comment
Share on other sites

When the spell effect starts, have it tell your followers stopcombatalarm, and then startcombat with that enemy. Add a condition if you want to not do that if they are already attacking that enemy

 

Event OnEffectStart

FollowerA.StopCombatAlarm()
FollowerB.StopCombatAlarm()

FollowerC.StopCombatAlarm(); And so on

 

FollowerA.StartCombat(MarkedFoe)

FollowerB.StartCombat(MarkedFoe)
FollowerC.StartCombat(MarkedFoe); And so on

EndEvent

 

Simple but likely (as I did not test) to do the trick. There could well be a superior method and I do recall back in the day, there are just situations its not easy to make allies reliably always stop fighting whoever they are already attacking. But give it a shot imo

Link to comment
Share on other sites

When the spell effect starts, have it tell your followers stopcombatalarm, and then startcombat with that enemy. Add a condition if you want to not do that if they are already attacking that enemy

 

Event OnEffectStart

FollowerA.StopCombatAlarm()

FollowerB.StopCombatAlarm()

FollowerC.StopCombatAlarm(); And so on

 

FollowerA.StartCombat(MarkedFoe)

FollowerB.StartCombat(MarkedFoe)

FollowerC.StartCombat(MarkedFoe); And so on

EndEvent

 

Simple but likely (as I did not test) to do the trick. There could well be a superior method and I do recall back in the day, there are just situations its not easy to make allies reliably always stop fighting whoever they are already attacking. But give it a shot imo

 

 

Thank you very much. I will try this approach.

Edited by CYNIC78
Link to comment
Share on other sites

  • Recently Browsing   0 members

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