Jump to content

Having a Hard Time Filling Aliases on NPCs near Player


Recommended Posts

So Ive tried for matching and closest

 

IsUnique

IsActor

HasKeyword>ActorTypeNPC

Races

Factions

 

 

and Im just trying to apply a basic script like (the script works fine when the alias fills)

 

GetActorRef().AddSpell()

 

 

 

But the Aliases wont fill on lots of random npcs like proventus and sven

 

They get filled and have the spell if I use specific references, but the broad find matching has lots of npcs falling through the cracks.

 

Is there a better way to do this?

 

 

If you want to test yourself im using this test code on the alias script

String r = GetActorRef().GetLeveledActorBase().GetName() as String

Debug.Notification(r)

and it should show who is getting filled

Link to comment
Share on other sites

  • Recently Browsing   0 members

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