Jump to content

Photo

Are JIP functions the only ones I need to execute every game launch/load?

jip ln nvse geck nvse

  • Please log in to reply
3 replies to this topic

#1
ePath

ePath

    Fan

  • Members
  • PipPipPip
  • 262 posts

So, I want to use the "ref.Lock" function from the GECK.

I've been using mostly simple JIP LN NVSE functions, and the Nexus' GECK tutorial states that Lutana functions must be executed every session or load.

 

Is this true for those functions only? Which would mean I can use any other functions from the GECK or NVSE with a DoOnce variable or something to execute them only once, right?


Edited by ePath, 26 February 2021 - 08:14 PM.


#2
GamerRick

GamerRick

    Faithful poster

  • Supporter
  • PipPipPipPip
  • 1,086 posts

Many of the functions added by NVSE and its addons change settings in records that are not saved in the savegame file.  So, any change you want to make to such base objects must be made every time the game is started or restarted for any reason.

 

See: Simulating Global Functions in your Mod

 

It shows how to create a script that detects when the game is loaded or restarted.  Within that if-block you would put the code you want.



#3
ePath

ePath

    Fan

  • Members
  • PipPipPip
  • 262 posts

I see... Thank you! and yes, I've scripted blocks that fire every game launch before, and still do, but I'm making a script that will manipulate a lot of objects in the Villa in Dead Money and wanted to know if there was a way I could make it so my script had to run only once and then stop the quest for the rest of the playthrough instead of having the script checking every frame for the majority/whole game...

 

But oh well, although maybe I can make the quest stop for the rest of the game once the player goes back to the mojave 



#4
GamerRick

GamerRick

    Faithful poster

  • Supporter
  • PipPipPipPip
  • 1,086 posts

I think it would be best to create a quest script for this, since you can set it to run once a second.







Also tagged with one or more of these keywords: jip ln nvse, geck, nvse

IPB skins by Skinbox
Page loaded in: 1.137 seconds