Jump to content

Photo

The SetEssential <PlayerBase Id> not working


4 replies to this topic

#1
Newtonext1234

Newtonext1234

    Journeyman

  • Members
  • Pip
  • 31 posts

Hi, I also fallout4 enjoy:}

however I have encountered this since go to VR simulation on quest "Best left forgotten" of far harbor.

I could get effect set essential console command before into VR but I got out from VR,

it is not effect anymore..  

I think this quest are include script "MQ04Script" and I found it process "player.setEssential(True)" and "player.setEssential(False)".

I tried disable mod that are using like above command, but it was not effect...

it look like, script can done correctly other than above commands and I feel

when run were "player.setEssential(False)" by script, console command "set essential 00000007 1" was disable always. 

currently, player can death and restart correctly.

what is reason? 


Edited by Newtonext1234, 04 May 2021 - 06:44 AM.


#2
LarannKiar

LarannKiar

    Fan

  • Members
  • PipPipPip
  • 469 posts

I'd use a papyrus script instead of console commands.

Scriptname SCRIPTNAMEHERE extends ReferenceAlias Const

Actor Property PlayerRef Auto Const


Event OnInIt()
	PlayerRef.SetEssential(true)
EndEvent

Event OnPlayerLoadGame()
	PlayerRef.SetEssential(true)
EndEvent



#3
Newtonext1234

Newtonext1234

    Journeyman

  • Members
  • Pip
  • 31 posts

I tried run script of mod that I installed like your code and player could become get essential value :0

as result, I will be able to fulfil my purpose :}

by the way in this case, the player couldn't get essential true value by console anymore, can it?

Thank you for quick information :}



#4
LarannKiar

LarannKiar

    Fan

  • Members
  • PipPipPip
  • 469 posts

Console commands are not a reliable way to make the player essential.



#5
Newtonext1234

Newtonext1234

    Journeyman

  • Members
  • Pip
  • 31 posts

thx

when I need change like it, I will use Script :}





Reply to this topic



  


IPB skins by Skinbox
Page loaded in: 1.078 seconds