dizietemblesssma Posted April 22, 2020 Author Share Posted April 22, 2020 Event OnEffectStart(Actor Target, Actor Caster) this_npc = Target this_npc_name = this_npc.GetDisplayName() so even if the ability isn't something that is 'cast' on anyone/thing else it still has an Event OnEffectStart(Actor Target, Actor Caster)?And that event is filled with the NPC holding the ability as the 'Actor Target'? It's possible that when I came across the reference to the skse64 function GetDisplayName(), I've been mispelling it ever since!Rereading the creationkit.com page I don't know why I would want the other! :smile: Nope, just remembered, had something to do with formlist names, anyway seems like I don't need it here, thanks. Link to comment Share on other sites More sharing options...
dylbill Posted April 22, 2020 Share Posted April 22, 2020 Yes, even if the ability isn't cast the OnEffectStart target still references the actor the effect is on. This goes for all magic effects, including those on potions and enchantments. Link to comment Share on other sites More sharing options...
maxarturo Posted April 22, 2020 Share Posted April 22, 2020 Late to the party.... Nevertheless, as dylbill said. Link to comment Share on other sites More sharing options...
dizietemblesssma Posted April 22, 2020 Author Share Posted April 22, 2020 Yes, even if the ability isn't cast the OnEffectStart target still references the actor the effect is on. This goes for all magic effects, including those on potions and enchantments.Excellent! This makes things a lot simpler, thanks both! diziet Link to comment Share on other sites More sharing options...
Recommended Posts