Praisetheford Posted February 16, 2020 Share Posted February 16, 2020 I want to make a mod where summoned creatures have a chance to turn hostile, and players can cast a spell on summons to form a pact with them, permanently removing that risk in exchange for some payment. For this, I want to keep a FormList, but it should track spells, not the actors themselves, for cases where one spell summons multiple creatures or changes what it summons at some point(e.g. atronachs after taking the Elemental Potency perk). Is there a function I can call on an actor to get the ID of the spell or magic effect that summoned it?Likewise, when the player summons something, I would like to use the OnSpellCast event to compare with my FormList and determine if the creature should turn hostile. Can a spell give me the ID of the creature it is about to summon? Link to comment Share on other sites More sharing options...
Recommended Posts