Martneb Posted October 15, 2018 Share Posted October 15, 2018 I want to create a MCM for a mod that changes "Copied Data" of a race.Now my question is how to reference the race and "Copied Data" in the General Tab Sincerly,The Newbie Modder Link to comment Share on other sites More sharing options...
Evangela Posted October 15, 2018 Share Posted October 15, 2018 You can get the race of an actor through MCM no different than you can in any other script, through GetRace(). As for the "Copied Data" no idea. Link to comment Share on other sites More sharing options...
Martneb Posted October 16, 2018 Author Share Posted October 16, 2018 (edited) Here is What I could do until now:Scriptname NMUVL_MCMScript extends SKI_ConfigBase Race property DLC1VampireBeastRace auto ;Toggle Option Idint IRace ;StringString[] OptionList ;Chosen OptionInt Choice = 0 event OnConfigInit() Pages = New String[1]Pages [0]= "Race Appearence" EndEvent ;***************************************;*************************************** Event OnInit() parent.oninit()OptionList = new String[11]OptionList[0]= "Standard"OptionList[1]= "Altmer"OptionList[2]= "Argonian(Bugged)"OptionList[3]= "Bosmer"OptionList[4]= "Breton"OptionList[5]= "Dunmer"OptionList[6]= "Imperial"OptionList[7]= "Khajiit(Bugged)"OptionList[8]= "Nord"OptionList[9]= "Orc"OptionList[10]= "Redguard"endevent ;***************************************;*************************************** event OnPageReset(string page) IF(Page == "") LoadCustomContent("Lord Harkon") else UnloadCustomContent()endif ;************************************;************************************ if(Page == "Race Appearence")SetCursorFillMode(Top_to_Bottom)AddHeaderOption("Choose the Race your playing as:")AddEmptyOption()AddMenuOption("Choose Appearence",OptionList[Choice])Endif endEvent Event OnOptionMenuOpen(int Option)if(option == Irace)SetMenuDialogOptions(OptionList)SetMenuDialogStartIndex(Choice)SetMenuDialogDefaultIndex(0)endifendevent;*****************************;***************************** event optionmenuaccept (int option,int index)if (Option == IRace)Choice= IndexSetMenuoptionValue(IRace,OptionList[Choice])if Choice == 0 ;DefaultRaceDLC1VampireBeastRace.Morph_Race = "DefaulRace"Showmessage("Default Appearence",False,"Appearence kept") endifendif The part i am struggeling now with is:DLC1VampireBeastRace.Morph_Race = "DefaulRace" I want this line to change the Race Morph, which can be found in the General Data tab of the race properties.I just dont know how to access it per script.My Goal is that with the Menu i can e.g. Change the Morph Race reference from "DefaultRace" to "NordRace" I would be happy if anyone could show the Reference path to me. Sincerly, The Newbie Modder Edited October 16, 2018 by Martneb Link to comment Share on other sites More sharing options...
Recommended Posts