- Aug 29, 2017
- 3,528
- 2,296
- 470
You only need to copy the function that includes the Initialsexxxx() calls, just copy it and paste into one of the js files in your mod, say the one that initialises the mod itself. Just make sure it is in global scope, so not inside another object/function etcAh I didn't know about the shortcut! And I did manage to get it working! I realized I had forgotten to call the initializePerson() command in the people file. Is there a way to append a new person into that list without copying the entire .js file to the mod folder?
EDIT:
actually it is simplest just to add the call to initialise the person to the initialiseMod function. That is all that would be needed here
Last edited: