Jump to content

Current follower keyword


Recommended Posts

Posted

I can't seem to find a keyword that labels current followers. There's a faction for PlayerFollowerFaction but doesn't seem to fit the bill. I thought about targeting the followerPlayer package but some followers have custom ones.

 

Do I need to create a custom keyword?

Posted

Learning to script is harder than I thought. Never was good at learning new languages or syntax. English is hard enough.

 


Scriptname SummonFollowersScript Extends ActiveMagicEffect

Faction Property CurrentFollowerFaction Auto

Event OnEffectStart(Actor akTarget, Actor akCaster)
    Actor Followers = ?????????????????
    if Followers
        SummonToPlayer(Followers)
    endif
EndEvent

Function SummonToPlayer(Actor Followers)
    if (Followers.GetFactionRank("CurrentFollowerFaction") >= 1)
        Followers.MoveTo(Game.GetPlayer())
    endif
EndFunction

 

 

Keep getting errors for everything I've put to define my followers. :(

Posted

What are you trying to do? Find a nearby follower and teleport them to the player? (And you aren't using a follower framework?)

 

There is no "find nearby follower" or even "find nearby NPC in faction" function in Papyrus so you will have to use another method...

Posted
1 hour ago, tasairis said:

What are you trying to do? Find a nearby follower and teleport them to the player? (And you aren't using a follower framework?)

 

There is no "find nearby follower" or even "find nearby NPC in faction" function in Papyrus so you will have to use another method...

Yes. Ok. :(

Posted

I'm not giving up on this. I looked at AeonVita's script to see if there was a different way of doing it but that didn't work the way I wanted it to. I'll find a way. Scripting is supposed to make just about anything possible.

Posted

Got it to work but still can't summon some followers. Getting closer. Thanks for help giving me motivation to continue. :D

Posted

If interested, this is my little mod that stops combat between followers because of friendly fire. May need to fire it a couple times. Also adds a spell that summons followers but not sure how close they have to be to be summoned. This might be as good as it gets.

 

Spellbooks located in the Sleeping Giant Inn.

 

 

SCS01.7z

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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