Jump to content

Photo

Dismiss companion

npc actor console command dismiss follower companion

  • Please log in to reply
8 replies to this topic

#1
ILLIANxTHERONE

ILLIANxTHERONE

    Enthusiast

  • Members
  • PipPip
  • 139 posts

playing a lot with companion&npc mods.

created several actors in-game.

force recruting NPCs by console commands:

Spoiler

now have about 10 followers that I can't completely dismiss.

my input for dismiss:

Spoiler

 

they still running around my player character and I can't find how to completely dismiss them. please need suggestions.

 

edit: typed "sqv followers" command. looked at REF COL - it has records of follower's ID in ActiveCompanions lines. how to remove them?


Edited by ILLIANxTHERONE, 19 November 2016 - 12:46 PM.


#2
MasterMagnus

MasterMagnus

    Enthusiast

  • Members
  • PipPip
  • 187 posts

PRID or click to select Companion

cf "actor.setcompanion" false false



#3
ILLIANxTHERONE

ILLIANxTHERONE

    Enthusiast

  • Members
  • PipPip
  • 139 posts

PRID or click to select Companion

cf "actor.setcompanion" false false

thx for reply. this command accepted by console but don't work for me. they still follow

maybe some kind of another script by mod causing this. I used Unlimited Companion Framework by Expired6978 to recruit NPC where author set "R" key for this.

 

hey, @MasterMagnus where you get this command and what means "cf" function?! I can't find any information of this.

 

is these scripts commands helpfull for in-game actor's control by console input:

http://www.creationk...fulltext=Search


Edited by ILLIANxTHERONE, 26 November 2016 - 09:46 AM.


#4
MasterMagnus

MasterMagnus

    Enthusiast

  • Members
  • PipPip
  • 187 posts

cf is CallFunction

cgf is CallGlobalFunction

They allow you to run functions defined in scripts from the console.  I have no idea where or if they are documented and I can't remember where I got the info.

 

You can use them to call functions from the CK documentation too, if you address it all correctly and have the correct objects selected.


Edited by MasterMagnus, 26 November 2016 - 02:52 PM.


#5
MasterMagnus

MasterMagnus

    Enthusiast

  • Members
  • PipPip
  • 187 posts

Oh and to the point.  Unlimited Companion Framework (which is a fantastic mod from what I hear), is almost certainly the source of your problems.  I would try to 'dismiss' them or get them to not follow through the mods functions if at all possible.

 

There is one other thing you can try.  It is quite drastic and I'd consider it a last resort.

 

PRID or Click the Actor to select

cf "Actor.Reset"

OR to teleport the actor to you the player

cf "Actor.Reset" Player

 

I haven't tested those through the console, it may throw an error about "multiple scripts with the same function" or "No script found with that function" etc.  You can also try cf "Reset" in that case.  There is a way to do it, but you have to have the syntax just right.

 

Chime back in here if that doesn't work and we can probably get a reset figured out.

 

Some notes from the CK about Reset():

 
Notes
  • This function doesn't completely reset it to the esm like you might think. For instance, faction and relationship data isn't reset.
  • If the actor is dead, disabled, and has no enable parent, Reset will enable it. Otherwise, it does not change the enable state of the actor. So if the actor was marked 'Initially Disabled', it won't be disabled by the Reset call.
  • If the object being reset is not loaded, this optional parameter will do nothing, and the reset reference will be reset to it's editor location.

 

  •  


#6
ILLIANxTHERONE

ILLIANxTHERONE

    Enthusiast

  • Members
  • PipPip
  • 139 posts

@MasterMagnus, appreciated for good detailed response. very useful information for me. I'll give a try to your suggestions after resurrecting my FO4 from re-installing.

it's so funny when you need to install a bunch of tweaks from good modding guys for Beth's games to fix them in proper way :smile:


Edited by ILLIANxTHERONE, 27 November 2016 - 08:58 AM.


#7
MasterMagnus

MasterMagnus

    Enthusiast

  • Members
  • PipPip
  • 187 posts

Found documentation on CF()  CallFunction()

http://www.creationk...le=CallFunction

 

**EDIT**

Here's CGF() CallGlobalFunction()

http://www.creationk...lGlobalFunction

 

Oh wow found this also.  This may be super handy.

CQF() CallQuestFunction()

http://www.creationk...llQuestFunction


Edited by MasterMagnus, 02 December 2016 - 02:33 PM.


#8
awbretire

awbretire

    Newbie

  • Members
  • Pip
  • 13 posts

Same situation for me. I have Casey the DJ as a companion but can't get rid of her in favor of Piper. Piper responds that she wishes to tag along but I do not get the reassign current companion to another settlement dialog for Casey.

 

Tried a few of the posted console commands to dismiss them and they did nothing as well.



#9
Zerglinged

Zerglinged

    Stranger

  • Members
  • Pip
  • 3 posts

Inside unlimited companion framework there is a "companion module" holotape, inside there is an option for "dismiss ineligable companions" i used this and it worked for me. it dismisses all but 1 i believe then you can recruit who you want after that


Edited by Zerglinged, 13 June 2020 - 09:18 AM.






Also tagged with one or more of these keywords: npc, actor, console command, dismiss, follower, companion

Page loaded in: 1.038 seconds