Invictusblade Posted January 6, 2021 Posted January 6, 2021 Hello, so I decided to rework FPE to include some elements from my WDF Mods. such as changing the length of Pregnancies, the size of Pregnancies, New Perks during Pregnancies. but a task of this scale requires help
Invictusblade Posted January 6, 2021 Author Posted January 6, 2021 so the current issue, I have is that I cannot get one script(Activator) to talk to an array of Scripts(quests) The Issue is under BecomePreggo in the while statement. I will admit that I am a bit rusty at the moment (and I would ask EgoBallistic about this) everything else in the BecomePreggo works and if I can get this to work, then I will be able to get the other things above to work as well edit-> I forgot to add the scripts Scriptname FPFP_BasePregData Extends ObjectReference ;Technical properties Group TechnicalProperties FPFP_Player_Script Property FPE Auto Const Mandatory FPFP_BabyHandlerScript property FPFP_BabyHandler Auto Const Mandatory Faction Property FPFP_Preggo Auto Const Mandatory Keyword Property FPFP_Keyword Auto Const Mandatory GlobalVariable property FPFP_Global_Day Auto Const Mandatory GlobalVariable property FPFP_Global_Chance Auto Const Mandatory GlobalVariable property FPFP_Global_Contra Auto Const Mandatory GlobalVariable property FPFP_Global_NPCContra Auto Const Mandatory GlobalVariable property FPFP_Global_Fertile Auto Const Mandatory GlobalVariable property FPFP_Global_FertileEffects Auto Const Mandatory GlobalVariable property FPFP_Global_POCNotif Auto Const Mandatory GlobalVariable property FPFP_Global_CCNotif Auto Const Mandatory GlobalVariable property FPFP_Global_CNotif Auto Const Mandatory GlobalVariable property FPFP_Global_FNotif Auto Const Mandatory GlobalVariable property FPFP_Global_Power Auto Const Mandatory GlobalVariable property FPFP_Global_PlayerImpregsOnly Auto Const Mandatory GlobalVariable property FPFP_Global_FPregPlayerOnly Auto Const Mandatory GlobalVariable property FPFP_Global_MPreg Auto Const Mandatory GlobalVariable property FPFP_Global_MPregPlayerOnly Auto Const Mandatory GlobalVariable property FPFP_Global_AllowNonNPC Auto Const Mandatory GlobalVariable property FPFP_Global_FemaleToFemaleCum Auto Const Mandatory GlobalVariable Property FPFP_Global_MultiChance Auto Const Mandatory GlobalVariable Property FPFP_Global_MultiMax Auto Const Mandatory GlobalVariable Property FPFP_Global_EquipNewCondom Auto Const Mandatory GlobalVariable Property FPFP_Global_LastingMorphs Auto Const Mandatory GlobalVariable Property FPFP_Global_NPCPlayerSexUseContraOption Auto Const Mandatory GlobalVariable Property FPFP_Global_SynthImpreg Auto Const Mandatory GlobalVariable property FPFP_Global_AllowFertileNPC Auto Const Mandatory GlobalVariable property FPFP_Global_FertileNPC Auto Const Mandatory GlobalVariable property FPFP_Global_BodyType Auto Const Mandatory GlobalVariable property FPFP_Global_Verbose Auto Const Mandatory GlobalVariable property FPFP_Global_MaleBodyType Auto Const Mandatory Actor Property PlayerREF Auto Const Mandatory Potion property FPFP_Fertile Auto Const Mandatory Potion property FPFP_Pill Auto Const Mandatory MagicEffect property FPFP_ME_Pill auto const Mandatory MagicEffect property FPFP_ME_Fertile auto const Mandatory Armor property FPFP_Condom auto const Mandatory Keyword property ActorTypeNPC Auto Const Mandatory Keyword property ActorTypeSynth Auto Const Mandatory Keyword property FPFP_HasData Auto Const Mandatory String[] property TagsToWatch auto FormList Property FPFP_ProhibitedKeywords Auto Const Mandatory EndGroup ;Variable properties Group VariableProperties ;four_play:Main Property four_play_event Auto AAF:AAF_API Property AAF_Events Auto Actor Property Ourself Auto {This property holds our NPC} Float Property IncepDate = -1.0 Auto Bool Property IsPregnant Auto int Property NumChildren Auto Race Property FatherRace Auto Float Property OriginalThin Auto Float Property OriginalThicc Auto Float Property OriginalMuscular Auto Bool Property CanGetPreg auto Bool Property FirstCheck Auto ; Bool used to track that the next check will be our first check Bool Property AffectedByMorphs Auto ; Bool used to track that this character was affected by body morphs. prevents unnecessary morph reset calls String[] Property OrigMorphNames Auto Float[] Property OrigMorphValues Auto EndGroup Group WastelandDairyFramework GlobalVariable Property INVB_Global_Preggo_Count_Player Auto Mandatory GlobalVariable Property INVB_Global_Preggo_Count_Cuck Auto Mandatory GlobalVariable Property INVB_Global_Preggo_Count_Current Auto Mandatory Perk Property WLD_Perk_Impregnated_Player Auto Perk Property WLD_Perk_Impregnated Auto Perk Property WLD_Perk_Impregnated_5 Auto Perk Property WLD_Perk_Impregnated_10 Auto Perk Property WLD_Perk_Impregnated_15 Auto Perk Property WLD_Perk_Impregnated_30 Auto Perk Property WLD_Perk_Cuckold Auto Perk Property WLD_Perk_Pregnancies_5 Auto Perk Property WLD_Perk_Month_0 Auto Perk Property WLD_Perk_Month_1 Auto Perk Property WLD_Perk_Month_2 Auto Perk Property WLD_Perk_Month_3 Auto Perk Property WLD_Perk_Month_4 Auto Perk Property WLD_Perk_Month_5 Auto Perk Property WLD_Perk_Month_6 Auto Perk Property WLD_Perk_Month_7 Auto Perk Property WLD_Perk_Month_8 Auto Perk Property WLD_Perk_Month_9 Auto Perk Property WLD_Perk_Month_10 Auto form Property Condom_Full Auto Const Keyword Property ActorTypeHuman Auto const EndGroup ;Startup handling FPFP_BabyTypeAddon[] AddonBabyTypes bah, bah, bah Function BecomePreggo(Actor akMan) IsPregnant = True If Ourself != PlayerREF If akMan == PlayerREF INVB_Global_Preggo_Count_Player.SetValue(INVB_Global_Preggo_Count_Player.getValue() + 1) INVB_Global_Preggo_Count_Current.SetValue(INVB_Global_Preggo_Count_Current.getValue() + 1) Ourself.AddPerk(WLD_Perk_Impregnated_Player) elseif akMan.HasKeyword(ActorTypeHuman) INVB_Global_Preggo_Count_Cuck.SetValue(INVB_Global_Preggo_Count_Cuck.getValue() + 1) Ourself.AddPerk(WLD_Perk_Impregnated) else Race FatherRace_c = akMan.GetLeveledActorBase().GetRace() int i = 0 Debug.Trace("FatherRace_c") Debug.Trace(FatherRace_c) While i < AddonBabyTypes.Length utility.wait(1) Debug.Trace("i") Debug.Trace(i) If AddonBabyTypes[i].IsRaceMatch(FatherRace_c) Ourself.AddPerk(AddonBabyTypes[i].WLD_Perk_Creature) EndIf i += 1 EndWhile endif endif if INVB_Global_Preggo_Count_Player.getValue() >= 30 PlayerREF.AddPerk(WLD_Perk_Impregnated_30) PlayerREF.RemovePerk(WLD_Perk_Impregnated_15) elseif INVB_Global_Preggo_Count_Player.getValue() >= 15 PlayerREF.AddPerk(WLD_Perk_Impregnated_15) PlayerREF.RemovePerk(WLD_Perk_Impregnated_10) elseif INVB_Global_Preggo_Count_Player.getValue() >= 10 PlayerREF.AddPerk(WLD_Perk_Impregnated_10) PlayerREF.RemovePerk(WLD_Perk_Impregnated_5) elseif INVB_Global_Preggo_Count_Player.getValue() >= 5 PlayerREF.AddPerk(WLD_Perk_Impregnated_5) endif if INVB_Global_Preggo_Count_Cuck.getValue() >= 10 && INVB_Global_Preggo_Count_Player.getValue() == 0 PlayerREF.AddPerk(WLD_Perk_Cuckold) elseif INVB_Global_Preggo_Count_Player.getValue() <= 1 PlayerREF.RemovePerk(WLD_Perk_Cuckold) endif if INVB_Global_Preggo_Count_Current.getValue() >= 5 PlayerREF.AddPerk(WLD_Perk_Pregnancies_5) elseif INVB_Global_Preggo_Count_Current.getValue() < 5 PlayerREF.RemovePerk(WLD_Perk_Pregnancies_5) endif Ourself.setFactionRank(FPFP_Preggo, 0) ; set them to be in preggo faction EndFunction FPFP_BasePregData.psc FPFP_BabyTypeAddon.psc
VonHelton Posted January 7, 2021 Posted January 7, 2021 Ok, so where do I drop these files? F4SE folder, AAF folder, FPE folder?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.