Jump to content

Master file removel help please.


RunningBare

Recommended Posts

While editing and creating my mod I had referenced another mod because some adjustments were needed, unfortunately because of changes to the other mod I can no longer use it, my problem is the latter mod has become the master file to my mod, I attempted to remove it as master in Nvmm, this just caused problems, I have removed all references to it from my mod.

 

So is there a way to clean up my mod so that it only sees FalloutNV.esm as the master?

 

Any help is appreciated, thanks in advance.

Link to comment
Share on other sites

There is an NVSE command 'ismodloaded' (something like that, check the NVSE docs), that lets you check if other plugins are enabled. Beyond that, not really. It depends what you're trying to do, whether or not that funciton will be suitable for you.

Using a scripted trigger box in my mod I need to move some objects used by the other mod, hmm I think I'm answering my own question here, not looking promising.
Link to comment
Share on other sites

NVSE's BuildRef function would allow you to set a reference variable to a known ID. You can then use that variable to manipulate the object however you want. An example of using it would be:

 

short iIndex
reference rRef

begin OnTriggerEnter
set iIndex to GetModIndex "The Other Mod.esp"
set rRef to BuildRef iIndex [RefID]

rRef.MoveTo [someOtherRef] 0 0 100
end

 

The drawbacks to BuildRef are:

  1. You have to know the FormID of the reference.
  2. You have to convert the ID from hexadecimal to decimal for use in your script. (Ignoring the first 2 hex digits.)

Edited by Pelinor
Link to comment
Share on other sites

NVSE's BuildRef function would allow you to set a reference variable to a known ID. You can then use that variable to manipulate the object however you want. An example of using it would be:

 

The drawbacks to BuildRef are:

  1. You have to know the FormID of the reference.
  2. You have to convert the ID from hexadecimal to decimal for use in your script. (Ignoring the first 2 hex digits.)

Thats helpful, thank you.

 

So a Form ID which is located next to Editor ID in GECK might have a value something like 02007BF2 and I would punch 007BF2 into the calculator to gets the decimal value correct?

Link to comment
Share on other sites

  • Recently Browsing   0 members

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