Jump to content

[LE] Formlist Actors/Factions?


SeraphimKensai

Recommended Posts

Hello everyone,

 

I'm playing around with formlists and trying to determine the most effective means of populating a formlist based on Player-NPC Disposition. Ideally, does anyone know of a means to utilize a script to auto-populate 2 formlists, one for hostile NPCs and one for allied/neutral NPCs?

 

I could painstakingly go through the actor list adding various actors to each formlist, but that doesn't do me any good for actors added via mods. Or alternatively would it make sense to try and populate the formlists via factions that the actors belong to instead of filling it with tons of actors?

 

I'm trying to use these formlists to filter which magiceffect is used on either an enemy or not an enemy for an effect at the moment (essentially disabling friendly fire for specific effect).

 

Thanks for any help as usual.

Link to comment
Share on other sites

Normally I would, but the spell's origin is a miscellaneous items, and not a traditional magic effect, so the purpose for the FormList is to help with targeting.

 

I started looking at the CK's example script for firing spells from an item, and there's not a lot of explanation behind it, so I'm mostly could confused on how that acquires targets as it specifies a Target FormList, but it doesn't really suggest what might actually work in the FormList.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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