Jump to content

An Enemy who dynamically buffs Allies.


Recommended Posts

So I have a concept for certain groups of enemies in my mod to use a buff mechanic, whereby an NPC designated as the Squad Leader provides the buff to thier allies, and killing the Squad Leader clears the buff.

 

Now I could simply use an onDeath script on the squad leader that removes an actor effect from a reference, but I quickly realized has the problem of needing a new script and unique npcs for every instance of a "Squad Encounter." At least how I wrote it.

 

How could I implement this in a more "dynamic" way? Not necessarily at runtime (So if you chase a Squad leader to other non-squad allies, the Squad bonus doesn't have to apply to them), but for setting up multiple Squad Encounters without needing several extra unique NPCs?

Edited by Radioactivelad
Link to comment
Share on other sites

Ya no need of scripting , just a condition on the actor effect checking the references linked ref.

 

Unless the squad to squad leader relationship is going to be dynamic. Which I have been puzzling over how to do with a mod I'm working on. And so far have found no way to do that short of specific scripting / packages to account for all possible scenario's.

 

To bad there is no reciprocal "SetPackageTarget" of the "GetPackageTarget"

But there is a way to set a linked ref in Lutana and JIP.

However that doesn't help me with my Fo3 mod.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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