Jump to content

Ability running on an NPC


Recommended Posts

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

  • Recently Browsing   0 members

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