Class BaseUnitConfigurator<T, TBuilder>
Implements common fields and components for blueprints inheriting from Kingmaker.Blueprints.BlueprintUnit.
Inheritance
Inherited Members
Namespace: BlueprintCore.Blueprints.Configurators
Assembly: BlueprintCore.dll
Syntax
public abstract class BaseUnitConfigurator<T, TBuilder> : BaseUnitFactConfigurator<T, TBuilder> where T : BlueprintUnit where TBuilder : BaseUnitConfigurator<T, TBuilder>
Type Parameters
| Name | Description |
|---|---|
| T | |
| TBuilder |
Remarks
Each supported blueprint type has a corresponding Configurator class to create and modify blueprints of
that type, e.g. FeatureConfigurator supports BlueprintFeature. Configurators exist for all
blueprint types inheriting from Kingmaker.Blueprints.BlueprintScriptableObject, excluding any that are not used in the
base game.
Creating a Blueprint
Use New(string, string) to create a blueprint:
FeatureConfigurator.New(MyBlueprintName, MyBlueprintGuid)
Once New() is called the blueprint is added to the game library and can be referenced.
Using the Configurator
New() returns a configurator with methods to set or modify blueprint fields and add or modify
Kingmaker.Blueprints.BlueprintComponent:
FeatureConfigurator.New(MyBlueprintName, MyBlueprintGuid).AddToGroups(FeatureGroup.Feat).AddPrerequisiteAlignment(AlignmentMaskType.LawfulGood).Configure();
Each method call returns the configurator allowing you to chain calls. Nothing is modified on the blueprint until
Configure() is called, at which point the changes are applied and validated. Potential problems with the
blueprint are logged as warnings.
Modifying an Existing Blueprint
Use For(Blueprint) to modify existing blueprints:
CharacterClassConfigurator.For(WizardClassGuid)
Usage is otherwise identical to creating a new blueprint.
For more information see Using BlueprintCore.
Constructors
| Improve this Doc View SourceBaseUnitConfigurator(Blueprint<BlueprintReference<T>>)
Declaration
protected BaseUnitConfigurator(Blueprint<BlueprintReference<T>> blueprint)
Parameters
| Type | Name | Description |
|---|---|---|
| Blueprint<Kingmaker.Blueprints.BlueprintReference<T>> | blueprint |
Methods
| Improve this Doc View SourceAddAbilityToCharacterComponent(Blueprint<BlueprintAbilityReference>[])
Declaration
public TBuilder AddAbilityToCharacterComponent(params Blueprint<BlueprintAbilityReference>[] abilities)
Parameters
| Type | Name | Description |
|---|---|---|
| Blueprint<Kingmaker.Blueprints.BlueprintAbilityReference>[] | abilities | Blueprint of type BlueprintAbility. You can pass in the blueprint using:
|
Returns
| Type | Description |
|---|---|
| TBuilder |
Remarks
ComponentName: Ability/Castable ability
- !Octavia_Companion_Mage_Testf9161aa0b3f519c47acbce01f53ee217
- DLC6_FirstDragon686520a04dd047408f751539b53bb6bf
- WillOWispYellowSummon_cr825a09e126dba4fcb90b3f95bbe61cd0d
AddActionsOnClick(ActionsBuilder, ConditionsBuilder, Nullable<Single>, Action<BlueprintComponent, BlueprintComponent>, ComponentMerge, Nullable<Single>, Nullable<Boolean>, Nullable<Boolean>)
Adds Kingmaker.UnitLogic.Interaction.ActionsOnClick
Declaration
public TBuilder AddActionsOnClick(ActionsBuilder actions = null, ConditionsBuilder conditions = null, float? cooldown = null, Action<BlueprintComponent, BlueprintComponent> merge = null, ComponentMerge mergeBehavior = ComponentMerge.Fail, float? overrideDistance = null, bool? triggerOnApproach = null, bool? triggerOnParty = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ActionsBuilder | actions | |
| ConditionsBuilder | conditions | |
| System.Nullable<System.Single> | cooldown | |
| System.Action<Kingmaker.Blueprints.BlueprintComponent, Kingmaker.Blueprints.BlueprintComponent> | merge | If mergeBehavior is ComponentMerge.Merge and the component already exists, this expression is called to merge the components. |
| ComponentMerge | mergeBehavior | Handling if the component already exists since the component is unique. Defaults to ComponentMerge.Fail. |
| System.Nullable<System.Single> | overrideDistance | |
| System.Nullable<System.Boolean> | triggerOnApproach | |
| System.Nullable<System.Boolean> | triggerOnParty |
Returns
| Type | Description |
|---|---|
| TBuilder |
Remarks
- !Octavia_Companion_Warrior_Test0f5938a10fd0d3644be33747d6d2b11c
- Octavia_Companion_Kalavakus776047de5b2e10249b2db7cb1b5e47d3
- Octavia_Companion_Wyvern8fc128d5685471649b99a440cfdc3bbf
AddAmbushBehaviour(Nullable<Single>, Action<BlueprintComponent, BlueprintComponent>, ComponentMerge)
Adds AddAmbushBehaviour(Nullable<Single>, Action<BlueprintComponent, BlueprintComponent>, ComponentMerge)
Declaration
public TBuilder AddAmbushBehaviour(float? joinCombatDisatnce = null, Action<BlueprintComponent, BlueprintComponent> merge = null, ComponentMerge mergeBehavior = ComponentMerge.Fail)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Nullable<System.Single> | joinCombatDisatnce | |
| System.Action<Kingmaker.Blueprints.BlueprintComponent, Kingmaker.Blueprints.BlueprintComponent> | merge | If mergeBehavior is ComponentMerge.Merge and the component already exists, this expression is called to merge the components. |
| ComponentMerge | mergeBehavior | Handling if the component already exists since the component is unique. Defaults to ComponentMerge.Fail. |
Returns
| Type | Description |
|---|---|
| TBuilder |
Remarks
ComponentName: Passive/Add ambush behaviour
- CR11M_MythicCrazyIncubus667f0ff46d87bca498cb8f410057be03
- CR8_WarWisp5101be4b7f4e08047b84e0cb789b67e4
- DLC3_CR8_BabauPoisoner_MeleeRogue107055a08d4f4798b88f37c56d0fb1f0
AddArmyCriticalDamage(ContextValue, ContextValue, Nullable<Single>, Nullable<Single>, Action<BlueprintComponent, BlueprintComponent>, ComponentMerge)
Adds Kingmaker.Armies.TacticalCombat.Components.ArmyCriticalDamage
Declaration
public TBuilder AddArmyCriticalDamage(ContextValue chanceBase = null, ContextValue chanceMultiplier = null, float? critBonus = null, float? critMultiplier = null, Action<BlueprintComponent, BlueprintComponent> merge = null, ComponentMerge mergeBehavior = ComponentMerge.Fail)
Parameters
| Type | Name | Description |
|---|---|---|
| Kingmaker.UnitLogic.Mechanics.ContextValue | chanceBase | |
| Kingmaker.UnitLogic.Mechanics.ContextValue | chanceMultiplier | |
| System.Nullable<System.Single> | critBonus | |
| System.Nullable<System.Single> | critMultiplier | |
| System.Action<Kingmaker.Blueprints.BlueprintComponent, Kingmaker.Blueprints.BlueprintComponent> | merge | If mergeBehavior is ComponentMerge.Merge and the component already exists, this expression is called to merge the components. |
| ComponentMerge | mergeBehavior | Handling if the component already exists since the component is unique. Defaults to ComponentMerge.Fail. |
Returns
| Type | Description |
|---|---|
| TBuilder |
Remarks
- ArmyCaydenBuffCritBuff7c2b00088ac3476e949518d0b8a78526
- ArmySwordSaintCrit9eb7e9b7296d4d12855625d04beb3976
- Trickster3PlaceOfPowerBuffadcc8e0615fa4e37bd7e5854302203fe
AddArmySwitchWeaponSlotInMelee(Action<BlueprintComponent, BlueprintComponent>, ComponentMerge, Nullable<Int32>)
Adds Kingmaker.Armies.TacticalCombat.Components.ArmySwitchWeaponSlotInMelee
Declaration
public TBuilder AddArmySwitchWeaponSlotInMelee(Action<BlueprintComponent, BlueprintComponent> merge = null, ComponentMerge mergeBehavior = ComponentMerge.Fail, int? slotIndexForMelee = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Action<Kingmaker.Blueprints.BlueprintComponent, Kingmaker.Blueprints.BlueprintComponent> | merge | If mergeBehavior is ComponentMerge.Merge and the component already exists, this expression is called to merge the components. |
| ComponentMerge | mergeBehavior | Handling if the component already exists since the component is unique. Defaults to ComponentMerge.Fail. |
| System.Nullable<System.Int32> | slotIndexForMelee |
Returns
| Type | Description |
|---|---|
| TBuilder |
Remarks
- ArmyArcheradee0dc84ed3f254fa5da3c90d1e8e3c
- ArmyInfernalArchers8e412d72eddc43a8b360f38da7446a6b
- KTC_ArmyHeadhunter167fd434a10540a2b1007c7f189ee55a
AddArmyUnitComponent(LocalString, Asset<Sprite>, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Action<BlueprintComponent, BlueprintComponent>, ComponentMerge, Nullable<ArmyProperties>, Nullable<KingdomResourcesAmount>, Nullable<Int32>, Nullable<KingdomResourcesAmount>, Nullable<Int32>)
Adds Kingmaker.Armies.Components.ArmyUnitComponent
Declaration
public TBuilder AddArmyUnitComponent(LocalString description = null, Asset<Sprite> icon = null, bool? isHaveMorale = null, int? maxExtraActions = null, int? mercenariesBaseGrowths = null, Action<BlueprintComponent, BlueprintComponent> merge = null, ComponentMerge mergeBehavior = ComponentMerge.Fail, ArmyProperties? properties = null, KingdomResourcesAmount? recruitmentPrice = null, int? startMorale = null, KingdomResourcesAmount? supportPrice = null, int? tier = null)
Parameters
| Type | Name | Description |
|---|---|---|
| LocalString | description | You can pass in the string using a LocalizedString or the Key to a LocalizedString. |
| Asset<UnityEngine.Sprite> | icon | You can pass in the animation using a Sprite or it's AssetId. |
| System.Nullable<System.Boolean> | isHaveMorale | |
| System.Nullable<System.Int32> | maxExtraActions | InfoBox: Base turn and bonus morale turn have separate counters |
| System.Nullable<System.Int32> | mercenariesBaseGrowths | |
| System.Action<Kingmaker.Blueprints.BlueprintComponent, Kingmaker.Blueprints.BlueprintComponent> | merge | If mergeBehavior is ComponentMerge.Merge and the component already exists, this expression is called to merge the components. |
| ComponentMerge | mergeBehavior | Handling if the component already exists since the component is unique. Defaults to ComponentMerge.Fail. |
| System.Nullable<Kingmaker.Armies.Components.ArmyProperties> | properties | |
| System.Nullable<Kingmaker.Kingdom.KingdomResourcesAmount> | recruitmentPrice | |
| System.Nullable<System.Int32> | startMorale | |
| System.Nullable<Kingmaker.Kingdom.KingdomResourcesAmount> | supportPrice | |
| System.Nullable<System.Int32> | tier | InfoBox: Should be set automatically according to HP |
Returns
| Type | Description |
|---|---|
| TBuilder |
Remarks
- ArmyAeonsBythosa6d75776a29d4c0bb3bc8bcad259e990
- ArmyInquisitor4cef3f3bb47343a45a1846204e2ef68d
- LeaderUnitVrockStandard7fa16932774ed544fa7762b5ab6bb6cc
AddArmyUnitSpellPower(Action<BlueprintComponent, BlueprintComponent>, ComponentMerge, Nullable<Int32>)
Adds Kingmaker.Armies.Components.ArmyUnitSpellPower
Declaration
public TBuilder AddArmyUnitSpellPower(Action<BlueprintComponent, BlueprintComponent> merge = null, ComponentMerge mergeBehavior = ComponentMerge.Fail, int? spellPower = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Action<Kingmaker.Blueprints.BlueprintComponent, Kingmaker.Blueprints.BlueprintComponent> | merge | If mergeBehavior is ComponentMerge.Merge and the component already exists, this expression is called to merge the components. |
| ComponentMerge | mergeBehavior | Handling if the component already exists since the component is unique. Defaults to ComponentMerge.Fail. |
| System.Nullable<System.Int32> | spellPower |
Returns
| Type | Description |
|---|---|
| TBuilder |
Remarks
- ArmyAeonsBythosa6d75776a29d4c0bb3bc8bcad259e990
- ArmyKalavakusfe83c9d601c845e288f172ed259342ba
- KTC_ArmyVampire4f37d4c10f4844d9abbebb8b7e0f5c7c
AddAttackOfOpportunityLimits(Nullable<Single>, Action<BlueprintComponent, BlueprintComponent>, ComponentMerge, Nullable<Boolean>)
Adds Kingmaker.Blueprints.AttackOfOpportunityLimits
Declaration
public TBuilder AddAttackOfOpportunityLimits(float? angleToTurnMax = null, Action<BlueprintComponent, BlueprintComponent> merge = null, ComponentMerge mergeBehavior = ComponentMerge.Fail, bool? shouldTurnToTarget = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Nullable<System.Single> | angleToTurnMax | |
| System.Action<Kingmaker.Blueprints.BlueprintComponent, Kingmaker.Blueprints.BlueprintComponent> | merge | If mergeBehavior is ComponentMerge.Merge and the component already exists, this expression is called to merge the components. |
| ComponentMerge | mergeBehavior | Handling if the component already exists since the component is unique. Defaults to ComponentMerge.Fail. |
| System.Nullable<System.Boolean> | shouldTurnToTarget |
Returns
| Type | Description |
|---|---|
| TBuilder |
Remarks
- DLC3_Nahyndri_FinalBoss7beffb211ea84810876ab65014c1cee5
AddBuffOnEntityCreated(Blueprint<BlueprintBuffReference>)
Adds Kingmaker.Designers.TempMapCode.Ambush.BuffOnEntityCreated
Declaration
public TBuilder AddBuffOnEntityCreated(Blueprint<BlueprintBuffReference> buff = null)
Parameters
| Type | Name | Description |
|---|---|---|
| Blueprint<Kingmaker.Blueprints.BlueprintBuffReference> | buff | Blueprint of type BlueprintBuff. You can pass in the blueprint using:
|
Returns
| Type | Description |
|---|---|
| TBuilder |
Remarks
ComponentName: Passive/BuffOnEntityCreated
- !Octavia_Companion_Warrior_Test0f5938a10fd0d3644be33747d6d2b11c
- GolemWoodSummon38db08516a706cf448327c5b81c22c79
- Ygefeles_WeakCopy7aab7792681750a42bacd71f9f7c6d5f
AddCampingSpecialAbility(Blueprint<CutsceneReference>, Nullable<CampPositionType>, Nullable<CampingSpecialCustomMechanics>, LocalString, Blueprint<BlueprintDlcRewardReference>, Blueprint<BlueprintBuffReference>, Nullable<Int32>, Nullable<Int32>, Action<BlueprintComponent, BlueprintComponent>, ComponentMerge, Nullable<Int32>, LocalString, Blueprint<BlueprintBuffReference>, Blueprint<BlueprintBuffReference>, Blueprint<BlueprintBuffReference>, Nullable<Single>, Blueprint<BlueprintBuffReference>, Blueprint<BlueprintBuffReference>)
Adds Kingmaker.Controllers.Rest.Special.CampingSpecialAbility
Declaration
public TBuilder AddCampingSpecialAbility(Blueprint<CutsceneReference> campCutscene = null, CampPositionType? campPositionType = null, CampingSpecialCustomMechanics? customMechanics = null, LocalString description = null, Blueprint<BlueprintDlcRewardReference> dlcReward = null, Blueprint<BlueprintBuffReference> enemiesBuffOnRandomEncounter = null, int? extraRations = null, int? maxEnemyRandomEncounterBuffs = null, Action<BlueprintComponent, BlueprintComponent> merge = null, ComponentMerge mergeBehavior = ComponentMerge.Fail, int? minEnemyRandomEncounterBuffs = null, LocalString name = null, Blueprint<BlueprintBuffReference> partyBuff = null, Blueprint<BlueprintBuffReference> partyBuffDuringCamp = null, Blueprint<BlueprintBuffReference> partyBuffOnRandomEncounter = null, float? randomEncounterBuffsChance = null, Blueprint<BlueprintBuffReference> selfBuff = null, Blueprint<BlueprintBuffReference> selfBuffOnRandomEncounter = null)
Parameters
| Type | Name | Description |
|---|---|---|
| Blueprint<Kingmaker.Blueprints.CutsceneReference> | campCutscene | Blueprint of type Cutscene. You can pass in the blueprint using:
|
| System.Nullable<Kingmaker.View.MapObjects.CampPositionType> | campPositionType | |
| System.Nullable<Kingmaker.Controllers.Rest.Special.CampingSpecialCustomMechanics> | customMechanics | |
| LocalString | description | You can pass in the string using a LocalizedString or the Key to a LocalizedString. |
| Blueprint<Kingmaker.Blueprints.BlueprintDlcRewardReference> | dlcReward | Blueprint of type BlueprintDlcReward. You can pass in the blueprint using:
|
| Blueprint<Kingmaker.Blueprints.BlueprintBuffReference> | enemiesBuffOnRandomEncounter | Blueprint of type BlueprintBuff. You can pass in the blueprint using:
|
| System.Nullable<System.Int32> | extraRations | |
| System.Nullable<System.Int32> | maxEnemyRandomEncounterBuffs | |
| System.Action<Kingmaker.Blueprints.BlueprintComponent, Kingmaker.Blueprints.BlueprintComponent> | merge | If mergeBehavior is ComponentMerge.Merge and the component already exists, this expression is called to merge the components. |
| ComponentMerge | mergeBehavior | Handling if the component already exists since the component is unique. Defaults to ComponentMerge.Fail. |
| System.Nullable<System.Int32> | minEnemyRandomEncounterBuffs | |
| LocalString | name | You can pass in the string using a LocalizedString or the Key to a LocalizedString. |
| Blueprint<Kingmaker.Blueprints.BlueprintBuffReference> | partyBuff | Blueprint of type BlueprintBuff. You can pass in the blueprint using:
|
| Blueprint<Kingmaker.Blueprints.BlueprintBuffReference> | partyBuffDuringCamp | Blueprint of type BlueprintBuff. You can pass in the blueprint using:
|
| Blueprint<Kingmaker.Blueprints.BlueprintBuffReference> | partyBuffOnRandomEncounter | Blueprint of type BlueprintBuff. You can pass in the blueprint using:
|
| System.Nullable<System.Single> | randomEncounterBuffsChance | |
| Blueprint<Kingmaker.Blueprints.BlueprintBuffReference> | selfBuff | Blueprint of type BlueprintBuff. You can pass in the blueprint using:
|
| Blueprint<Kingmaker.Blueprints.BlueprintBuffReference> | selfBuffOnRandomEncounter | Blueprint of type BlueprintBuff. You can pass in the blueprint using:
|
Returns
| Type | Description |
|---|---|
| TBuilder |
Remarks
- !Octavia_Companion_Warrior_Test0f5938a10fd0d3644be33747d6d2b11c
- Octavia_Companion_BlackDragonb8f5dee95746a744b9d27362e9d00d4e
- StartGameSorcererPregenUnitLevel8f373e1221fc89d9419109e23cf1a7048
AddChangeVendorPrices(Dictionary<BlueprintItem, Int64>, Dictionary<BlueprintItem, Int64>, ChangeVendorPrices.Entry[])
Adds Kingmaker.UnitLogic.FactLogic.ChangeVendorPrices
Declaration
public TBuilder AddChangeVendorPrices(Dictionary<BlueprintItem, long> itemsToBuyCosts = null, Dictionary<BlueprintItem, long> itemsToSellCosts = null, ChangeVendorPrices.Entry[] priceOverrides = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Collections.Generic.Dictionary<Kingmaker.Blueprints.Items.BlueprintItem, System.Int64> | itemsToBuyCosts | |
| System.Collections.Generic.Dictionary<Kingmaker.Blueprints.Items.BlueprintItem, System.Int64> | itemsToSellCosts | |
| Kingmaker.UnitLogic.FactLogic.ChangeVendorPrices.Entry[] | priceOverrides |
Returns
| Type | Description |
|---|---|
| TBuilder |
Remarks
- CR3_Crusader_Human_PaladinMelee_Vendor1f7f12ae65b95491da0daf56a756dfcfb
- DLC3_VendorInPort_tier1_original_potionsbdb8de4454914a0396d3c620bb589c4c
- DLC4_NegociantSecondState32a3b06249984fda9bc474c2feaec195
AddClassLevelLimit(Nullable<Int32>, Action<BlueprintComponent, BlueprintComponent>, ComponentMerge)
Adds Kingmaker.Blueprints.Classes.ClassLevelLimit
Declaration
public TBuilder AddClassLevelLimit(int? levelLimit = null, Action<BlueprintComponent, BlueprintComponent> merge = null, ComponentMerge mergeBehavior = ComponentMerge.Fail)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Nullable<System.Int32> | levelLimit | |
| System.Action<Kingmaker.Blueprints.BlueprintComponent, Kingmaker.Blueprints.BlueprintComponent> | merge | If mergeBehavior is ComponentMerge.Merge and the component already exists, this expression is called to merge the components. |
| ComponentMerge | mergeBehavior | Handling if the component already exists since the component is unique. Defaults to ComponentMerge.Fail. |
Returns
| Type | Description |
|---|---|
| TBuilder |
Remarks
- !Octavia_Companion_Mage_Testf9161aa0b3f519c47acbce01f53ee217
- MC_Human_M_Cavalier_Drezen29e1bfadb5a940bfac1b27c65d349fbe
- WoljifTestLeve9b6a343d8b3f47784dab47911fb42a84a
AddDialogOnClick(ConditionsBuilder, Nullable<Single>, Blueprint<BlueprintDialogReference>, Action<BlueprintComponent, BlueprintComponent>, ComponentMerge, ActionsBuilder, Nullable<Single>, Nullable<Boolean>, Nullable<Boolean>)
Adds Kingmaker.UnitLogic.Interaction.DialogOnClick
Declaration
public TBuilder AddDialogOnClick(ConditionsBuilder conditions = null, float? cooldown = null, Blueprint<BlueprintDialogReference> dialog = null, Action<BlueprintComponent, BlueprintComponent> merge = null, ComponentMerge mergeBehavior = ComponentMerge.Fail, ActionsBuilder noDialogActions = null, float? overrideDistance = null, bool? triggerOnApproach = null, bool? triggerOnParty = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ConditionsBuilder | conditions | |
| System.Nullable<System.Single> | cooldown | |
| Blueprint<Kingmaker.Blueprints.BlueprintDialogReference> | dialog | Blueprint of type BlueprintDialog. You can pass in the blueprint using:
|
| System.Action<Kingmaker.Blueprints.BlueprintComponent, Kingmaker.Blueprints.BlueprintComponent> | merge | If mergeBehavior is ComponentMerge.Merge and the component already exists, this expression is called to merge the components. |
| ComponentMerge | mergeBehavior | Handling if the component already exists since the component is unique. Defaults to ComponentMerge.Fail. |
| ActionsBuilder | noDialogActions | |
| System.Nullable<System.Single> | overrideDistance | |
| System.Nullable<System.Boolean> | triggerOnApproach | |
| System.Nullable<System.Boolean> | triggerOnParty |
Returns
| Type | Description |
|---|---|
| TBuilder |
Remarks
ComponentName: Dialog/Start On Click
- !Octavia_Companion_Warrior_Test0f5938a10fd0d3644be33747d6d2b11c
- Octavia_Companion_Athachc613fb61c8d981f4b878af21264393b7
- TestTrader38c90d65490c1c143a9f1f0fde6bbe20
AddDisableAllFx(PrefabLink[], Action<BlueprintComponent, BlueprintComponent>, ComponentMerge)
Adds Kingmaker.Blueprints.DisableAllFx
Declaration
public TBuilder AddDisableAllFx(PrefabLink[] allowFx = null, Action<BlueprintComponent, BlueprintComponent> merge = null, ComponentMerge mergeBehavior = ComponentMerge.Fail)
Parameters
| Type | Name | Description |
|---|---|---|
| Kingmaker.ResourceLinks.PrefabLink[] | allowFx | |
| System.Action<Kingmaker.Blueprints.BlueprintComponent, Kingmaker.Blueprints.BlueprintComponent> | merge | If mergeBehavior is ComponentMerge.Merge and the component already exists, this expression is called to merge the components. |
| ComponentMerge | mergeBehavior | Handling if the component already exists since the component is unique. Defaults to ComponentMerge.Fail. |
Returns
| Type | Description |
|---|---|
| TBuilder |
Remarks
- BlackBladeIndependentEgo9a7f8f6588b2475e9aaa5a5d30843afe
- DLC3_FallenAngelBoss_Stage16cdcf73d35e54beeb3db2e4be148933f
- DLC6_RunelordsAshGianta7cb49173dbe41e2ba002f7c847e3bb3
AddDungeonAddLootToVendor(DungeonAddLootToVendor.Item[])
Adds Kingmaker.Dungeon.FactLogic.DungeonAddLootToVendor
Declaration
public TBuilder AddDungeonAddLootToVendor(params DungeonAddLootToVendor.Item[] loots)
Parameters
| Type | Name | Description |
|---|---|---|
| Kingmaker.Dungeon.FactLogic.DungeonAddLootToVendor.Item[] | loots |
Returns
| Type | Description |
|---|---|
| TBuilder |
Remarks
ComponentName: Dungeon Add Loot To Vendor
- DLC3_Falconium_tier1_original12a2e73631326473bb43abda08475380b
- DLC4_Negociant61b56a52383f433799f91c15dea57d31
- DLC5_Storasta_Trader714c7d560d0c4900a3b661ef18d02ede
AddExperience(IntEvaluator, Nullable<Int32>, Nullable<Boolean>, Nullable<EncounterType>, Action<BlueprintComponent, BlueprintComponent>, ComponentMerge, Nullable<Single>, Nullable<Boolean>)
Adds Kingmaker.Blueprints.Classes.Experience.Experience
Declaration
public TBuilder AddExperience(IntEvaluator count = null, int? cR = null, bool? dummy = null, EncounterType? encounter = null, Action<BlueprintComponent, BlueprintComponent> merge = null, ComponentMerge mergeBehavior = ComponentMerge.Fail, float? modifier = null, bool? playerGainsNoExp = null)
Parameters
| Type | Name | Description |
|---|---|---|
| Kingmaker.ElementsSystem.IntEvaluator | count | |
| System.Nullable<System.Int32> | cR | |
| System.Nullable<System.Boolean> | dummy | |
| System.Nullable<Kingmaker.Blueprints.Classes.Experience.EncounterType> | encounter | |
| System.Action<Kingmaker.Blueprints.BlueprintComponent, Kingmaker.Blueprints.BlueprintComponent> | merge | If mergeBehavior is ComponentMerge.Merge and the component already exists, this expression is called to merge the components. |
| ComponentMerge | mergeBehavior | Handling if the component already exists since the component is unique. Defaults to ComponentMerge.Fail. |
| System.Nullable<System.Single> | modifier | |
| System.Nullable<System.Boolean> | playerGainsNoExp | InfoBox: When true, Exp will be used in encounter CR calculation, but player will not gained it |
Returns
| Type | Description |
|---|---|
| TBuilder |
Remarks
- 00_FindEchoLair876fc5d40aa5d8b47ac0138cf0a680ae
- DLC3_CR16_FaerieDragonHungryMagicSummon1f238fcbd1bb41cfbc35729a2d7c0d2c
- Ziforian_normal7ef2998dbeb7fda43a47ce842f4d142d
AddFixUnitOnPostLoad_AddNewFact(String, Blueprint<BlueprintUnitFactReference>, String)
Adds Kingmaker.UnitLogic.Mechanics.Components.Fixers.FixUnitOnPostLoad_AddNewFact
Declaration
public TBuilder AddFixUnitOnPostLoad_AddNewFact(string comment = null, Blueprint<BlueprintUnitFactReference> newFact = null, string taskId = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | comment | |
| Blueprint<Kingmaker.Blueprints.BlueprintUnitFactReference> | newFact | Blueprint of type BlueprintUnitFact. You can pass in the blueprint using:
|
| System.String | taskId |
Returns
| Type | Description |
|---|---|
| TBuilder |
Remarks
- Ankou_ShadowDoubleSummon704d11701a4a9ef4daee07e4593bf69c
- DLC6_Fire-Blessed_ShadowDoubleSummon647eff7ad7ed44558e2a85ef55075e34
- TotemSpiritFeyc54a51d331294d1886af81040ee29dcc
AddLoot(Blueprint<BlueprintUnitLootReference>)
Declaration
public TBuilder AddLoot(Blueprint<BlueprintUnitLootReference> loot = null)
Parameters
| Type | Name | Description |
|---|---|---|
| Blueprint<Kingmaker.Blueprints.BlueprintUnitLootReference> | loot | Blueprint of type BlueprintUnitLoot. You can pass in the blueprint using:
|
Returns
| Type | Description |
|---|---|
| TBuilder |
Remarks
ComponentName: Add loot
- ArenaWizard_Cursec0fe3438b11d09841a8717ab55eebe15
- DLC3_CR1_Marauder_Human_Necromancer_Malee8df53848a4b41c1af9e2c0defc764f1
- Zanedra_Sanctum34c3e14d08f2ff4448b745761cbb846f
AddLootToVendorTable(Blueprint<BlueprintUnitLootReference>)
Declaration
public TBuilder AddLootToVendorTable(Blueprint<BlueprintUnitLootReference> loot = null)
Parameters
| Type | Name | Description |
|---|---|---|
| Blueprint<Kingmaker.Blueprints.BlueprintUnitLootReference> | loot | Blueprint of type BlueprintUnitLoot. You can pass in the blueprint using:
|
Returns
| Type | Description |
|---|---|
| TBuilder |
Remarks
- DLC1_BlindCarver_Wintersunc209cd1dfa02401eb66f190f0f5675ad
- DLC3_VendorInPort_tier1_original_potionsbdb8de4454914a0396d3c620bb589c4c
- WarCamp_ScrollVendorYoung6b6eb149263959a4c9ea307057a20978
AddMobCaster()
Adds Kingmaker.Designers.Mechanics.Facts.MobCaster
Declaration
public TBuilder AddMobCaster()
Returns
| Type | Description |
|---|---|
| TBuilder |
Remarks
ComponentName: Add ability resources
- Aasimar_Victimdfa634221ff82bf42a3b0a511b6d2e5a
- DLC1_Zacharius_Alive81f61acba3c54ed891f09a93b0de47c2
- Zerieks79674c8c4286cd7498c7bb33fd8dca31
AddMythicLevelLimit(Nullable<Int32>, Action<BlueprintComponent, BlueprintComponent>, ComponentMerge)
Adds Kingmaker.Blueprints.Classes.MythicLevelLimit
Declaration
public TBuilder AddMythicLevelLimit(int? levelLimit = null, Action<BlueprintComponent, BlueprintComponent> merge = null, ComponentMerge mergeBehavior = ComponentMerge.Fail)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Nullable<System.Int32> | levelLimit | |
| System.Action<Kingmaker.Blueprints.BlueprintComponent, Kingmaker.Blueprints.BlueprintComponent> | merge | If mergeBehavior is ComponentMerge.Merge and the component already exists, this expression is called to merge the components. |
| ComponentMerge | mergeBehavior | Handling if the component already exists since the component is unique. Defaults to ComponentMerge.Fail. |
Returns
| Type | Description |
|---|---|
| TBuilder |
Remarks
- !Octavia_Companion_Mage_Testf9161aa0b3f519c47acbce01f53ee217
- MC_Elf_F_Sorcerer_Drezenab44ad5934564a9eb3c472a4881f4d28
- WoljifTestLeve9b6a343d8b3f47784dab47911fb42a84a
AddNoStartingItemsComponent(Action<BlueprintComponent, BlueprintComponent>, ComponentMerge)
Adds Kingmaker.Blueprints.CharGen.NoStartingItemsComponent
Declaration
public TBuilder AddNoStartingItemsComponent(Action<BlueprintComponent, BlueprintComponent> merge = null, ComponentMerge mergeBehavior = ComponentMerge.Fail)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Action<Kingmaker.Blueprints.BlueprintComponent, Kingmaker.Blueprints.BlueprintComponent> | merge | If mergeBehavior is ComponentMerge.Merge and the component already exists, this expression is called to merge the components. |
| ComponentMerge | mergeBehavior | Handling if the component already exists since the component is unique. Defaults to ComponentMerge.Fail. |
Returns
| Type | Description |
|---|---|
| TBuilder |
Remarks
- CustomCompanionDlc246e3688f1f2748589b4147ea3367434b
- StartGame_Player_Unit_DLC278d4f75f6e144224a948df629df00193
AddNPCWithAura(Action<BlueprintComponent, BlueprintComponent>, ComponentMerge)
Adds Kingmaker.UnitLogic.Buffs.Components.NPCWithAura
Declaration
public TBuilder AddNPCWithAura(Action<BlueprintComponent, BlueprintComponent> merge = null, ComponentMerge mergeBehavior = ComponentMerge.Fail)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Action<Kingmaker.Blueprints.BlueprintComponent, Kingmaker.Blueprints.BlueprintComponent> | merge | If mergeBehavior is ComponentMerge.Merge and the component already exists, this expression is called to merge the components. |
| ComponentMerge | mergeBehavior | Handling if the component already exists since the component is unique. Defaults to ComponentMerge.Fail. |
Returns
| Type | Description |
|---|---|
| TBuilder |
Remarks
- DLC5_CR9_ShadowPlane_SoulEater4c816f24c61847e2b772a79e593922cf
- DLC5_CR9_ShadowPlaneShadowDemonAdvanced_Pitebcee08c46bc4f728dd110e407a68158
- StoneBall5daa93994334de54f919c268fcb52f63
AddOutgoingDamageTriggerFixed(AddOutgoingDamageTriggerFixed)
Declaration
public TBuilder AddOutgoingDamageTriggerFixed(AddOutgoingDamageTriggerFixed component)
Parameters
| Type | Name | Description |
|---|---|---|
| AddOutgoingDamageTriggerFixed | component |
Returns
| Type | Description |
|---|---|
| TBuilder |
AddOverrideAnimationRaceComponent(Blueprint<BlueprintRaceReference>, Action<BlueprintComponent, BlueprintComponent>, ComponentMerge)
Adds Kingmaker.Blueprints.OverrideAnimationRaceComponent
Declaration
public TBuilder AddOverrideAnimationRaceComponent(Blueprint<BlueprintRaceReference> blueprintRace = null, Action<BlueprintComponent, BlueprintComponent> merge = null, ComponentMerge mergeBehavior = ComponentMerge.Fail)
Parameters
| Type | Name | Description |
|---|---|---|
| Blueprint<Kingmaker.Blueprints.BlueprintRaceReference> | blueprintRace | Blueprint of type BlueprintRace. You can pass in the blueprint using:
|
| System.Action<Kingmaker.Blueprints.BlueprintComponent, Kingmaker.Blueprints.BlueprintComponent> | merge | If mergeBehavior is ComponentMerge.Merge and the component already exists, this expression is called to merge the components. |
| ComponentMerge | mergeBehavior | Handling if the component already exists since the component is unique. Defaults to ComponentMerge.Fail. |
Returns
| Type | Description |
|---|---|
| TBuilder |
Remarks
- DLC1_Regill_Companiona1c3429385ab481b9f0ee2fd5af63de8
- RegillPregenLevel1522559c1e87288c04f9fc1c8ec70e8af7
- RegillPregenLevel988c8c0527d08019428ee43617fd439df
AddPregenDollSettings(PregenDollSettings.Entry, Action<BlueprintComponent, BlueprintComponent>, ComponentMerge)
Adds Kingmaker.UnitLogic.Components.PregenDollSettings
Declaration
public TBuilder AddPregenDollSettings(PregenDollSettings.Entry defaultValue = null, Action<BlueprintComponent, BlueprintComponent> merge = null, ComponentMerge mergeBehavior = ComponentMerge.Fail)
Parameters
| Type | Name | Description |
|---|---|---|
| Kingmaker.UnitLogic.Components.PregenDollSettings.Entry | defaultValue | |
| System.Action<Kingmaker.Blueprints.BlueprintComponent, Kingmaker.Blueprints.BlueprintComponent> | merge | If mergeBehavior is ComponentMerge.Merge and the component already exists, this expression is called to merge the components. |
| ComponentMerge | mergeBehavior | Handling if the component already exists since the component is unique. Defaults to ComponentMerge.Fail. |
Returns
| Type | Description |
|---|---|
| TBuilder |
Remarks
- DLC1StartPregenCavalierUnitcbc5b710d6c446da9964700a3717d3a0
- DLC3StartPregenRangerUnit0f1804ad82d341eaa706e8442711bca2
- StartGameSorcererPregenUnit1f6d72fd52ce418fb677db2243ea4de5
AddPregenUnitComponent(LocalString, LocalString, LocalString, LocalString)
Adds Kingmaker.Blueprints.CharGen.PregenUnitComponent
Declaration
public TBuilder AddPregenUnitComponent(LocalString pregenClass = null, LocalString pregenDescription = null, LocalString pregenName = null, LocalString pregenRole = null)
Parameters
| Type | Name | Description |
|---|---|---|
| LocalString | pregenClass | You can pass in the string using a LocalizedString or the Key to a LocalizedString. |
| LocalString | pregenDescription | You can pass in the string using a LocalizedString or the Key to a LocalizedString. |
| LocalString | pregenName | You can pass in the string using a LocalizedString or the Key to a LocalizedString. |
| LocalString | pregenRole | You can pass in the string using a LocalizedString or the Key to a LocalizedString. |
Returns
| Type | Description |
|---|---|
| TBuilder |
Remarks
ComponentName: PregenInformation
- DLC1StartPregenCavalierUnitcbc5b710d6c446da9964700a3717d3a0
- MC_Human_M_Cavalier_IvorySanctum66f2c9db01f74d3692fe85d52213bf52
- StartGameSorcererPregenUnitLevel8f373e1221fc89d9419109e23cf1a7048
AddReplaceUnitBlueprintForRespec(Blueprint<BlueprintUnitReference>, Action<BlueprintComponent, BlueprintComponent>, ComponentMerge)
Adds Kingmaker.Blueprints.ReplaceUnitBlueprintForRespec
Declaration
public TBuilder AddReplaceUnitBlueprintForRespec(Blueprint<BlueprintUnitReference> blueprint = null, Action<BlueprintComponent, BlueprintComponent> merge = null, ComponentMerge mergeBehavior = ComponentMerge.Fail)
Parameters
| Type | Name | Description |
|---|---|---|
| Blueprint<Kingmaker.Blueprints.BlueprintUnitReference> | blueprint | Blueprint of type BlueprintUnit. You can pass in the blueprint using:
|
| System.Action<Kingmaker.Blueprints.BlueprintComponent, Kingmaker.Blueprints.BlueprintComponent> | merge | If mergeBehavior is ComponentMerge.Merge and the component already exists, this expression is called to merge the components. |
| ComponentMerge | mergeBehavior | Handling if the component already exists since the component is unique. Defaults to ComponentMerge.Fail. |
Returns
| Type | Description |
|---|---|
| TBuilder |
Remarks
- DLC1StartPregenCavalierUnitcbc5b710d6c446da9964700a3717d3a0
- DLC3WarpriestFeralChampionPregen7091aebc3da94121ac3f5341b6589d14
- StartGameSorcererPregenUnit1f6d72fd52ce418fb677db2243ea4de5
AddReturnVendorTable(String, Blueprint<BlueprintSharedVendorTableReference>, String)
Adds Kingmaker.UnitLogic.Mechanics.Components.Fixers.ReturnVendorTable
Declaration
public TBuilder AddReturnVendorTable(string comment = null, Blueprint<BlueprintSharedVendorTableReference> table = null, string taskId = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | comment | |
| Blueprint<Kingmaker.Blueprints.BlueprintSharedVendorTableReference> | table | Blueprint of type BlueprintSharedVendorTable. You can pass in the blueprint using:
|
| System.String | taskId |
Returns
| Type | Description |
|---|---|
| TBuilder |
Remarks
- Woljif_Companion766435873b1361c4287c351de194e5f9
- Woljif_DH_NotCompanionf31cea279cd08c341913bc33577aea5a
- Woljif_NPC318127d85d5d41b4d9acea4e2ad1c4a4
AddSharedVendor(Blueprint<BlueprintSharedVendorTableReference>, Action<BlueprintComponent, BlueprintComponent>, ComponentMerge)
Declaration
public TBuilder AddSharedVendor(Blueprint<BlueprintSharedVendorTableReference> m_Table = null, Action<BlueprintComponent, BlueprintComponent> merge = null, ComponentMerge mergeBehavior = ComponentMerge.Fail)
Parameters
| Type | Name | Description |
|---|---|---|
| Blueprint<Kingmaker.Blueprints.BlueprintSharedVendorTableReference> | m_Table | Blueprint of type BlueprintSharedVendorTable. You can pass in the blueprint using:
|
| System.Action<Kingmaker.Blueprints.BlueprintComponent, Kingmaker.Blueprints.BlueprintComponent> | merge | If mergeBehavior is ComponentMerge.Merge and the component already exists, this expression is called to merge the components. |
| ComponentMerge | mergeBehavior | Handling if the component already exists since the component is unique. Defaults to ComponentMerge.Fail. |
Returns
| Type | Description |
|---|---|
| TBuilder |
Remarks
ComponentName: Add vendor table
- Arsinoea609ed9b2205d034bb3bb04d2a255681
- DLC6_GnomeWinemaker3dc57147ecc64d9aaea15d95d10903aa
- Woljif_NPC318127d85d5d41b4d9acea4e2ad1c4a4
AddStartingStatPointsComponent(Action<BlueprintComponent, BlueprintComponent>, ComponentMerge, Nullable<Int32>)
Adds Kingmaker.Blueprints.CharGen.StartingStatPointsComponent
Declaration
public TBuilder AddStartingStatPointsComponent(Action<BlueprintComponent, BlueprintComponent> merge = null, ComponentMerge mergeBehavior = ComponentMerge.Fail, int? startingStatPoints = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Action<Kingmaker.Blueprints.BlueprintComponent, Kingmaker.Blueprints.BlueprintComponent> | merge | If mergeBehavior is ComponentMerge.Merge and the component already exists, this expression is called to merge the components. |
| ComponentMerge | mergeBehavior | Handling if the component already exists since the component is unique. Defaults to ComponentMerge.Fail. |
| System.Nullable<System.Int32> | startingStatPoints |
Returns
| Type | Description |
|---|---|
| TBuilder |
Remarks
- CustomCompanionbaaff53a675a84f4983f1e2113b24552
- CustomCompanionDlc34ee630120a7a4774a11eb09489b32bbb
- StartGame_Player_Unit_DLC278d4f75f6e144224a948df629df00193
AddTacticalMoraleModifier(Nullable<TacticalMoraleModifier.FactionTarget>, Nullable<Int32>, TargetFilter)
Adds Kingmaker.Armies.TacticalCombat.Components.TacticalMoraleModifier
Declaration
public TBuilder AddTacticalMoraleModifier(TacticalMoraleModifier.FactionTarget? factionTarget = null, int? modValue = null, TargetFilter targetFilter = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Nullable<Kingmaker.Armies.TacticalCombat.Components.TacticalMoraleModifier.FactionTarget> | factionTarget | |
| System.Nullable<System.Int32> | modValue | |
| Kingmaker.Armies.TacticalCombat.LeaderSkills.TargetFilter | targetFilter |
Returns
| Type | Description |
|---|---|
| TBuilder |
Remarks
- BuildingSpiritualGardenSkill923f02023f5f49f6842aabf3d3cf0e44
- IntimidationRank1c465debec287c4f448050cda26a27b77
- Leadership6IncreaseMorale796c4868365243cface2d36f997135a9
AddTags(Nullable<AddTags.DifficultyRequirement>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Action<BlueprintComponent, BlueprintComponent>, ComponentMerge, UnitTag[], Nullable<Boolean>, Nullable<Boolean>)
Declaration
public TBuilder AddTags(AddTags.DifficultyRequirement? difficultyRequirement = null, bool? isCaster = null, bool? isMelee = null, bool? isRanged = null, Action<BlueprintComponent, BlueprintComponent> merge = null, ComponentMerge mergeBehavior = ComponentMerge.Fail, UnitTag[] tags = null, bool? useInDungeon = null, bool? useInRandomEncounter = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Nullable<Kingmaker.UnitLogic.FactLogic.AddTags.DifficultyRequirement> | difficultyRequirement | |
| System.Nullable<System.Boolean> | isCaster | |
| System.Nullable<System.Boolean> | isMelee | |
| System.Nullable<System.Boolean> | isRanged | |
| System.Action<Kingmaker.Blueprints.BlueprintComponent, Kingmaker.Blueprints.BlueprintComponent> | merge | If mergeBehavior is ComponentMerge.Merge and the component already exists, this expression is called to merge the components. |
| ComponentMerge | mergeBehavior | Handling if the component already exists since the component is unique. Defaults to ComponentMerge.Fail. |
| Kingmaker.Enums.UnitTag[] | tags | |
| System.Nullable<System.Boolean> | useInDungeon | |
| System.Nullable<System.Boolean> | useInRandomEncounter |
Returns
| Type | Description |
|---|---|
| TBuilder |
Remarks
- ArchpriestGolemCR23fe60facdf4574f599fb5eea50bfffb69
- DLC3_CR11_GibrilethStandard07d1004297e24e8da09485f34c892aff
- Velhmf9c01a9515cd1f347800685ddbfbcc41
AddToAddFacts(Blueprint<BlueprintUnitFactReference>[])
Adds to the contents of Kingmaker.Blueprints.BlueprintUnit.m_AddFacts
Declaration
public TBuilder AddToAddFacts(params Blueprint<BlueprintUnitFactReference>[] addFacts)
Parameters
| Type | Name | Description |
|---|---|---|
| Blueprint<Kingmaker.Blueprints.BlueprintUnitFactReference>[] | addFacts | Blueprint of type BlueprintUnitFact. You can pass in the blueprint using:
|
Returns
| Type | Description |
|---|---|
| TBuilder |
AddToAdditionalTemplates(Blueprint<BlueprintUnitTemplateReference>[])
Adds to the contents of Kingmaker.Blueprints.BlueprintUnit.m_AdditionalTemplates
Declaration
public TBuilder AddToAdditionalTemplates(params Blueprint<BlueprintUnitTemplateReference>[] additionalTemplates)
Parameters
| Type | Name | Description |
|---|---|---|
| Blueprint<Kingmaker.Blueprints.BlueprintUnitTemplateReference>[] | additionalTemplates | Blueprint of type BlueprintUnitTemplate. You can pass in the blueprint using:
|
Returns
| Type | Description |
|---|---|
| TBuilder |
AddToAlternativeBrains(Blueprint<BlueprintBrainReference>[])
Adds to the contents of Kingmaker.Blueprints.BlueprintUnit.AlternativeBrains
Declaration
public TBuilder AddToAlternativeBrains(params Blueprint<BlueprintBrainReference>[] alternativeBrains)
Parameters
| Type | Name | Description |
|---|---|---|
| Blueprint<Kingmaker.Blueprints.BlueprintBrainReference>[] | alternativeBrains | Blueprint of type BlueprintBrain. You can pass in the blueprint using:
|
Returns
| Type | Description |
|---|---|
| TBuilder |
AddToStartingInventory(Blueprint<BlueprintItemReference>[])
Adds to the contents of Kingmaker.Blueprints.BlueprintUnit.m_StartingInventory
Declaration
public TBuilder AddToStartingInventory(params Blueprint<BlueprintItemReference>[] startingInventory)
Parameters
| Type | Name | Description |
|---|---|---|
| Blueprint<Kingmaker.Blueprints.BlueprintItemReference>[] | startingInventory | Blueprint of type BlueprintItem. You can pass in the blueprint using:
|
Returns
| Type | Description |
|---|---|
| TBuilder |
AddUnitAggroFilter(ActionsBuilder, ConditionsBuilder, Action<BlueprintComponent, BlueprintComponent>, ComponentMerge)
Adds Kingmaker.Blueprints.UnitAggroFilter
Declaration
public TBuilder AddUnitAggroFilter(ActionsBuilder actionsOnAggro = null, ConditionsBuilder filterCondition = null, Action<BlueprintComponent, BlueprintComponent> merge = null, ComponentMerge mergeBehavior = ComponentMerge.Fail)
Parameters
| Type | Name | Description |
|---|---|---|
| ActionsBuilder | actionsOnAggro | |
| ConditionsBuilder | filterCondition | InfoBox: No conditions means always should aggro. Otherwise aggroes only if FilterCondition is true |
| System.Action<Kingmaker.Blueprints.BlueprintComponent, Kingmaker.Blueprints.BlueprintComponent> | merge | If mergeBehavior is ComponentMerge.Merge and the component already exists, this expression is called to merge the components. |
| ComponentMerge | mergeBehavior | Handling if the component already exists since the component is unique. Defaults to ComponentMerge.Fail. |
Returns
| Type | Description |
|---|---|
| TBuilder |
Remarks
- DarknessMachine5ccf98d8542442c1b81dc0973d5afe7a
- SmithKitten5788b5e98469dd64f8afafe1fda8d53d
- WagonKittenc07d0cff2312c4647a30706bd3bf84c6
AddUnitIsStoryCompanion(Action<BlueprintComponent, BlueprintComponent>, ComponentMerge)
Adds Kingmaker.Blueprints.UnitIsStoryCompanion
Declaration
public TBuilder AddUnitIsStoryCompanion(Action<BlueprintComponent, BlueprintComponent> merge = null, ComponentMerge mergeBehavior = ComponentMerge.Fail)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Action<Kingmaker.Blueprints.BlueprintComponent, Kingmaker.Blueprints.BlueprintComponent> | merge | If mergeBehavior is ComponentMerge.Merge and the component already exists, this expression is called to merge the components. |
| ComponentMerge | mergeBehavior | Handling if the component already exists since the component is unique. Defaults to ComponentMerge.Fail. |
Returns
| Type | Description |
|---|---|
| TBuilder |
Remarks
- Anevia_Companion88162735402ac094d8a08867814902dd
- Fighter_Level7d7ba48103c9d4860a780af873954abc2
- Woljif_NPC318127d85d5d41b4d9acea4e2ad1c4a4
AddUnitUpgraderComponent(Action<BlueprintComponent, BlueprintComponent>, ComponentMerge, List<Blueprint<BlueprintUnitUpgrader.Reference>>)
Adds Kingmaker.EntitySystem.Persistence.Versioning.UnitUpgraderComponent
Declaration
public TBuilder AddUnitUpgraderComponent(Action<BlueprintComponent, BlueprintComponent> merge = null, ComponentMerge mergeBehavior = ComponentMerge.Fail, List<Blueprint<BlueprintUnitUpgrader.Reference>> upgraders = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Action<Kingmaker.Blueprints.BlueprintComponent, Kingmaker.Blueprints.BlueprintComponent> | merge | If mergeBehavior is ComponentMerge.Merge and the component already exists, this expression is called to merge the components. |
| ComponentMerge | mergeBehavior | Handling if the component already exists since the component is unique. Defaults to ComponentMerge.Fail. |
| System.Collections.Generic.List<Blueprint<Kingmaker.EntitySystem.Persistence.Versioning.BlueprintUnitUpgrader.Reference>> | upgraders | Blueprint of type BlueprintUnitUpgrader. You can pass in the blueprint using:
|
Returns
| Type | Description |
|---|---|
| TBuilder |
Remarks
- AnimalCompanionUnitMammothe7aa96d15a45238438ae4cfb476f6bb9
- GibrilethSummoncffe1c1aff5ca5c468b78ede814d6d78
- WyvernPeridot6a8af899a123abf459e3e1fedf39e8be
AddVendorItems(Blueprint<BlueprintUnitLootReference>)
Declaration
public TBuilder AddVendorItems(Blueprint<BlueprintUnitLootReference> loot = null)
Parameters
| Type | Name | Description |
|---|---|---|
| Blueprint<Kingmaker.Blueprints.BlueprintUnitLootReference> | loot | Blueprint of type BlueprintUnitLoot. You can pass in the blueprint using:
|
Returns
| Type | Description |
|---|---|
| TBuilder |
Remarks
ComponentName: Add vendor items
- Azata_MadAlchemist76cfa7d2cc33eaf41ad242d27ac02f19
- Dyra_Trader_Neathholmbd6d6b07f1682c14c9d0966ef7954648
- WintersunIncubusTraderc36a4eb2bcf976e4892eaffb61493a94
ClearAddFacts()
Removes all elements from Kingmaker.Blueprints.BlueprintUnit.m_AddFacts
Declaration
public TBuilder ClearAddFacts()
Returns
| Type | Description |
|---|---|
| TBuilder |
ClearAdditionalTemplates()
Removes all elements from Kingmaker.Blueprints.BlueprintUnit.m_AdditionalTemplates
Declaration
public TBuilder ClearAdditionalTemplates()
Returns
| Type | Description |
|---|---|
| TBuilder |
ClearAlternativeBrains()
Removes all elements from Kingmaker.Blueprints.BlueprintUnit.AlternativeBrains
Declaration
public TBuilder ClearAlternativeBrains()
Returns
| Type | Description |
|---|---|
| TBuilder |
ClearStartingInventory()
Removes all elements from Kingmaker.Blueprints.BlueprintUnit.m_StartingInventory
Declaration
public TBuilder ClearStartingInventory()
Returns
| Type | Description |
|---|---|
| TBuilder |
CopyFrom(Blueprint<BlueprintReference<BlueprintUnit>>, Predicate<BlueprintComponent>)
Copies fields and components of the specified types from the blueprint.
Declaration
public TBuilder CopyFrom(Blueprint<BlueprintReference<BlueprintUnit>> blueprint, Predicate<BlueprintComponent> componentMatcher)
Parameters
| Type | Name | Description |
|---|---|---|
| Blueprint<Kingmaker.Blueprints.BlueprintReference<Kingmaker.Blueprints.BlueprintUnit>> | blueprint | |
| System.Predicate<Kingmaker.Blueprints.BlueprintComponent> | componentMatcher | Any components in |
Returns
| Type | Description |
|---|---|
| TBuilder |
Remarks
NOT A DEEP COPY. This means objects copied are shared between blueprints. Changes to copied objects affect both blueprints.
Recommended when you need to create a nearly identical ability but change some parts such as a
ContextRankConfig.
// Copy the Undead Bloodline's Incorporeal Form ability, replacing the duration w/ Character Level rounds
AbilityConfigurator.New(NewIncorporealForm, Guids.NewIncorporealForm)
.CopyFrom(
AbilityRefs.BloodlineUndeadIncorporealFormAbility,
typeof(AbilityEffectRunAction),
typeof(AbilityResourceLogic),
typeof(SpellComponent))
.AddContextRankConfig(ContextRankConfigs.CharacterLevel())
.Configure();
CopyFrom(Blueprint<BlueprintReference<BlueprintUnit>>, Type[])
Copies fields and components of the specified types from the blueprint.
Declaration
public TBuilder CopyFrom(Blueprint<BlueprintReference<BlueprintUnit>> blueprint, params Type[] componentTypes)
Parameters
| Type | Name | Description |
|---|---|---|
| Blueprint<Kingmaker.Blueprints.BlueprintReference<Kingmaker.Blueprints.BlueprintUnit>> | blueprint | |
| System.Type[] | componentTypes | Any components in |
Returns
| Type | Description |
|---|---|
| TBuilder |
Remarks
NOT A DEEP COPY. This means objects copied are shared between blueprints. Changes to copied objects affect both blueprints.
Recommended when you need to create a nearly identical ability but change some parts such as a
ContextRankConfig.
// Copy the Undead Bloodline's Incorporeal Form ability, replacing the duration w/ Character Level rounds
AbilityConfigurator.New(NewIncorporealForm, Guids.NewIncorporealForm)
.CopyFrom(
AbilityRefs.BloodlineUndeadIncorporealFormAbility,
typeof(AbilityEffectRunAction),
typeof(AbilityResourceLogic),
typeof(SpellComponent))
.AddContextRankConfig(ContextRankConfigs.CharacterLevel())
.Configure();
ModifyAddFacts(Action<BlueprintUnitFactReference>)
Modifies Kingmaker.Blueprints.BlueprintUnit.m_AddFacts by invoking the provided action on each element.
Declaration
public TBuilder ModifyAddFacts(Action<BlueprintUnitFactReference> action)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Action<Kingmaker.Blueprints.BlueprintUnitFactReference> | action |
Returns
| Type | Description |
|---|---|
| TBuilder |
ModifyAdditionalTemplates(Action<BlueprintUnitTemplateReference>)
Modifies Kingmaker.Blueprints.BlueprintUnit.m_AdditionalTemplates by invoking the provided action on each element.
Declaration
public TBuilder ModifyAdditionalTemplates(Action<BlueprintUnitTemplateReference> action)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Action<Kingmaker.Blueprints.BlueprintUnitTemplateReference> | action |
Returns
| Type | Description |
|---|---|
| TBuilder |
ModifyAlternativeBrains(Action<BlueprintBrainReference>)
Modifies Kingmaker.Blueprints.BlueprintUnit.AlternativeBrains by invoking the provided action on each element.
Declaration
public TBuilder ModifyAlternativeBrains(Action<BlueprintBrainReference> action)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Action<Kingmaker.Blueprints.BlueprintBrainReference> | action |
Returns
| Type | Description |
|---|---|
| TBuilder |
ModifyBody(Action<BlueprintUnit.UnitBody>)
Modifies Kingmaker.Blueprints.BlueprintUnit.Body by invoking the provided action.
Declaration
public TBuilder ModifyBody(Action<BlueprintUnit.UnitBody> action)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Action<Kingmaker.Blueprints.BlueprintUnit.UnitBody> | action |
Returns
| Type | Description |
|---|---|
| TBuilder |
ModifyBrain(Action<BlueprintBrainReference>)
Modifies Kingmaker.Blueprints.BlueprintUnit.m_Brain by invoking the provided action.
Declaration
public TBuilder ModifyBrain(Action<BlueprintBrainReference> action)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Action<Kingmaker.Blueprints.BlueprintBrainReference> | action |
Returns
| Type | Description |
|---|---|
| TBuilder |
ModifyColor(Action<Color>)
Modifies Kingmaker.Blueprints.BlueprintUnit.Color by invoking the provided action.
Declaration
public TBuilder ModifyColor(Action<Color> action)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Action<UnityEngine.Color> | action |
Returns
| Type | Description |
|---|---|
| TBuilder |
ModifyCustomizationPreset(Action<UnitCustomizationPresetReference>)
Modifies Kingmaker.Blueprints.BlueprintUnit.m_CustomizationPreset by invoking the provided action.
Declaration
public TBuilder ModifyCustomizationPreset(Action<UnitCustomizationPresetReference> action)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Action<Kingmaker.Blueprints.UnitCustomizationPresetReference> | action |
Returns
| Type | Description |
|---|---|
| TBuilder |
ModifyFaction(Action<BlueprintFactionReference>)
Modifies Kingmaker.Blueprints.BlueprintUnit.m_Faction by invoking the provided action.
Declaration
public TBuilder ModifyFaction(Action<BlueprintFactionReference> action)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Action<Kingmaker.Blueprints.BlueprintFactionReference> | action |
Returns
| Type | Description |
|---|---|
| TBuilder |
ModifyFactionOverrides(Action<FactionOverrides>)
Modifies Kingmaker.Blueprints.BlueprintUnit.FactionOverrides by invoking the provided action.
Declaration
public TBuilder ModifyFactionOverrides(Action<FactionOverrides> action)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Action<Kingmaker.Blueprints.FactionOverrides> | action |
Returns
| Type | Description |
|---|---|
| TBuilder |
ModifyLocalizedName(Action<SharedStringAsset>)
Modifies Kingmaker.Blueprints.BlueprintUnit.LocalizedName by invoking the provided action.
Declaration
public TBuilder ModifyLocalizedName(Action<SharedStringAsset> action)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Action<Kingmaker.Localization.SharedStringAsset> | action |
Returns
| Type | Description |
|---|---|
| TBuilder |
ModifyPortrait(Action<BlueprintPortraitReference>)
Modifies Kingmaker.Blueprints.BlueprintUnit.m_Portrait by invoking the provided action.
Declaration
public TBuilder ModifyPortrait(Action<BlueprintPortraitReference> action)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Action<Kingmaker.Blueprints.BlueprintPortraitReference> | action |
Returns
| Type | Description |
|---|---|
| TBuilder |
ModifyPrefab(Action<UnitViewLink>)
Modifies Kingmaker.Blueprints.BlueprintUnit.Prefab by invoking the provided action.
Declaration
public TBuilder ModifyPrefab(Action<UnitViewLink> action)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Action<Kingmaker.ResourceLinks.UnitViewLink> | action |
Returns
| Type | Description |
|---|---|
| TBuilder |
ModifyRace(Action<BlueprintRaceReference>)
Modifies Kingmaker.Blueprints.BlueprintUnit.m_Race by invoking the provided action.
Declaration
public TBuilder ModifyRace(Action<BlueprintRaceReference> action)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Action<Kingmaker.Blueprints.BlueprintRaceReference> | action |
Returns
| Type | Description |
|---|---|
| TBuilder |
ModifySkills(Action<BlueprintUnit.UnitSkills>)
Modifies Kingmaker.Blueprints.BlueprintUnit.Skills by invoking the provided action.
Declaration
public TBuilder ModifySkills(Action<BlueprintUnit.UnitSkills> action)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Action<Kingmaker.Blueprints.BlueprintUnit.UnitSkills> | action |
Returns
| Type | Description |
|---|---|
| TBuilder |
ModifySpeed(Action<Feet>)
Modifies Kingmaker.Blueprints.BlueprintUnit.Speed by invoking the provided action.
Declaration
public TBuilder ModifySpeed(Action<Feet> action)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Action<Kingmaker.Utility.Feet> | action |
Returns
| Type | Description |
|---|---|
| TBuilder |
ModifyStartingInventory(Action<BlueprintItemReference>)
Modifies Kingmaker.Blueprints.BlueprintUnit.m_StartingInventory by invoking the provided action on each element.
Declaration
public TBuilder ModifyStartingInventory(Action<BlueprintItemReference> action)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Action<Kingmaker.Blueprints.BlueprintItemReference> | action |
Returns
| Type | Description |
|---|---|
| TBuilder |
ModifyType(Action<BlueprintUnitTypeReference>)
Modifies Kingmaker.Blueprints.BlueprintUnit.m_Type by invoking the provided action.
Declaration
public TBuilder ModifyType(Action<BlueprintUnitTypeReference> action)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Action<Kingmaker.Blueprints.BlueprintUnitTypeReference> | action |
Returns
| Type | Description |
|---|---|
| TBuilder |
ModifyVisual(Action<UnitVisualParams>)
Modifies Kingmaker.Blueprints.BlueprintUnit.Visual by invoking the provided action.
Declaration
public TBuilder ModifyVisual(Action<UnitVisualParams> action)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Action<Kingmaker.Blueprints.UnitVisualParams> | action |
Returns
| Type | Description |
|---|---|
| TBuilder |
OnConfigureCompleted()
Declaration
protected override void OnConfigureCompleted()
Overrides
RemoveFromAddFacts(Blueprint<BlueprintUnitFactReference>[])
Removes elements from Kingmaker.Blueprints.BlueprintUnit.m_AddFacts
Declaration
public TBuilder RemoveFromAddFacts(params Blueprint<BlueprintUnitFactReference>[] addFacts)
Parameters
| Type | Name | Description |
|---|---|---|
| Blueprint<Kingmaker.Blueprints.BlueprintUnitFactReference>[] | addFacts | Blueprint of type BlueprintUnitFact. You can pass in the blueprint using:
|
Returns
| Type | Description |
|---|---|
| TBuilder |
RemoveFromAddFacts(Func<BlueprintUnitFactReference, Boolean>)
Removes elements from Kingmaker.Blueprints.BlueprintUnit.m_AddFacts that match the provided predicate.
Declaration
public TBuilder RemoveFromAddFacts(Func<BlueprintUnitFactReference, bool> predicate)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Func<Kingmaker.Blueprints.BlueprintUnitFactReference, System.Boolean> | predicate |
Returns
| Type | Description |
|---|---|
| TBuilder |
RemoveFromAdditionalTemplates(Blueprint<BlueprintUnitTemplateReference>[])
Removes elements from Kingmaker.Blueprints.BlueprintUnit.m_AdditionalTemplates
Declaration
public TBuilder RemoveFromAdditionalTemplates(params Blueprint<BlueprintUnitTemplateReference>[] additionalTemplates)
Parameters
| Type | Name | Description |
|---|---|---|
| Blueprint<Kingmaker.Blueprints.BlueprintUnitTemplateReference>[] | additionalTemplates | Blueprint of type BlueprintUnitTemplate. You can pass in the blueprint using:
|
Returns
| Type | Description |
|---|---|
| TBuilder |
RemoveFromAdditionalTemplates(Func<BlueprintUnitTemplateReference, Boolean>)
Removes elements from Kingmaker.Blueprints.BlueprintUnit.m_AdditionalTemplates that match the provided predicate.
Declaration
public TBuilder RemoveFromAdditionalTemplates(Func<BlueprintUnitTemplateReference, bool> predicate)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Func<Kingmaker.Blueprints.BlueprintUnitTemplateReference, System.Boolean> | predicate |
Returns
| Type | Description |
|---|---|
| TBuilder |
RemoveFromAlternativeBrains(Blueprint<BlueprintBrainReference>[])
Removes elements from Kingmaker.Blueprints.BlueprintUnit.AlternativeBrains
Declaration
public TBuilder RemoveFromAlternativeBrains(params Blueprint<BlueprintBrainReference>[] alternativeBrains)
Parameters
| Type | Name | Description |
|---|---|---|
| Blueprint<Kingmaker.Blueprints.BlueprintBrainReference>[] | alternativeBrains | Blueprint of type BlueprintBrain. You can pass in the blueprint using:
|
Returns
| Type | Description |
|---|---|
| TBuilder |
RemoveFromAlternativeBrains(Func<BlueprintBrainReference, Boolean>)
Removes elements from Kingmaker.Blueprints.BlueprintUnit.AlternativeBrains that match the provided predicate.
Declaration
public TBuilder RemoveFromAlternativeBrains(Func<BlueprintBrainReference, bool> predicate)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Func<Kingmaker.Blueprints.BlueprintBrainReference, System.Boolean> | predicate |
Returns
| Type | Description |
|---|---|
| TBuilder |
RemoveFromStartingInventory(Blueprint<BlueprintItemReference>[])
Removes elements from Kingmaker.Blueprints.BlueprintUnit.m_StartingInventory
Declaration
public TBuilder RemoveFromStartingInventory(params Blueprint<BlueprintItemReference>[] startingInventory)
Parameters
| Type | Name | Description |
|---|---|---|
| Blueprint<Kingmaker.Blueprints.BlueprintItemReference>[] | startingInventory | Blueprint of type BlueprintItem. You can pass in the blueprint using:
|
Returns
| Type | Description |
|---|---|
| TBuilder |
RemoveFromStartingInventory(Func<BlueprintItemReference, Boolean>)
Removes elements from Kingmaker.Blueprints.BlueprintUnit.m_StartingInventory that match the provided predicate.
Declaration
public TBuilder RemoveFromStartingInventory(Func<BlueprintItemReference, bool> predicate)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Func<Kingmaker.Blueprints.BlueprintItemReference, System.Boolean> | predicate |
Returns
| Type | Description |
|---|---|
| TBuilder |
SetAddFacts(Blueprint<BlueprintUnitFactReference>[])
Sets the value of Kingmaker.Blueprints.BlueprintUnit.m_AddFacts
Declaration
public TBuilder SetAddFacts(params Blueprint<BlueprintUnitFactReference>[] addFacts)
Parameters
| Type | Name | Description |
|---|---|---|
| Blueprint<Kingmaker.Blueprints.BlueprintUnitFactReference>[] | addFacts | Blueprint of type BlueprintUnitFact. You can pass in the blueprint using:
|
Returns
| Type | Description |
|---|---|
| TBuilder |
SetAdditionalTemplates(Blueprint<BlueprintUnitTemplateReference>[])
Sets the value of Kingmaker.Blueprints.BlueprintUnit.m_AdditionalTemplates
Declaration
public TBuilder SetAdditionalTemplates(params Blueprint<BlueprintUnitTemplateReference>[] additionalTemplates)
Parameters
| Type | Name | Description |
|---|---|---|
| Blueprint<Kingmaker.Blueprints.BlueprintUnitTemplateReference>[] | additionalTemplates | Blueprint of type BlueprintUnitTemplate. You can pass in the blueprint using:
|
Returns
| Type | Description |
|---|---|
| TBuilder |
SetAlignment(Alignment)
Sets the value of Kingmaker.Blueprints.BlueprintUnit.Alignment
Declaration
public TBuilder SetAlignment(Alignment alignment)
Parameters
| Type | Name | Description |
|---|---|---|
| Kingmaker.Enums.Alignment | alignment |
Returns
| Type | Description |
|---|---|
| TBuilder |
SetAlternativeBrains(Blueprint<BlueprintBrainReference>[])
Sets the value of Kingmaker.Blueprints.BlueprintUnit.AlternativeBrains
Declaration
public TBuilder SetAlternativeBrains(params Blueprint<BlueprintBrainReference>[] alternativeBrains)
Parameters
| Type | Name | Description |
|---|---|---|
| Blueprint<Kingmaker.Blueprints.BlueprintBrainReference>[] | alternativeBrains | Blueprint of type BlueprintBrain. You can pass in the blueprint using:
|
Returns
| Type | Description |
|---|---|
| TBuilder |
SetBaseAttackBonus(Int32)
Sets the value of Kingmaker.Blueprints.BlueprintUnit.BaseAttackBonus
Declaration
public TBuilder SetBaseAttackBonus(int baseAttackBonus)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | baseAttackBonus |
Returns
| Type | Description |
|---|---|
| TBuilder |
SetBody(BlueprintUnit.UnitBody)
Sets the value of Kingmaker.Blueprints.BlueprintUnit.Body
Declaration
public TBuilder SetBody(BlueprintUnit.UnitBody body)
Parameters
| Type | Name | Description |
|---|---|---|
| Kingmaker.Blueprints.BlueprintUnit.UnitBody | body |
Returns
| Type | Description |
|---|---|
| TBuilder |
SetBrain(Blueprint<BlueprintBrainReference>)
Sets the value of Kingmaker.Blueprints.BlueprintUnit.m_Brain
Declaration
public TBuilder SetBrain(Blueprint<BlueprintBrainReference> brain)
Parameters
| Type | Name | Description |
|---|---|---|
| Blueprint<Kingmaker.Blueprints.BlueprintBrainReference> | brain | Blueprint of type BlueprintBrain. You can pass in the blueprint using:
|
Returns
| Type | Description |
|---|---|
| TBuilder |
SetCharisma(Int32)
Sets the value of Kingmaker.Blueprints.BlueprintUnit.Charisma
Declaration
public TBuilder SetCharisma(int charisma)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | charisma |
Returns
| Type | Description |
|---|---|
| TBuilder |
SetColor(Color)
Sets the value of Kingmaker.Blueprints.BlueprintUnit.Color
Declaration
public TBuilder SetColor(Color color)
Parameters
| Type | Name | Description |
|---|---|---|
| UnityEngine.Color | color |
Returns
| Type | Description |
|---|---|
| TBuilder |
SetConstitution(Int32)
Sets the value of Kingmaker.Blueprints.BlueprintUnit.Constitution
Declaration
public TBuilder SetConstitution(int constitution)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | constitution |
Returns
| Type | Description |
|---|---|
| TBuilder |
SetCustomizationPreset(Blueprint<UnitCustomizationPresetReference>)
Sets the value of Kingmaker.Blueprints.BlueprintUnit.m_CustomizationPreset
Declaration
public TBuilder SetCustomizationPreset(Blueprint<UnitCustomizationPresetReference> customizationPreset)
Parameters
| Type | Name | Description |
|---|---|---|
| Blueprint<Kingmaker.Blueprints.UnitCustomizationPresetReference> | customizationPreset | Blueprint of type UnitCustomizationPreset. You can pass in the blueprint using:
|
Returns
| Type | Description |
|---|---|
| TBuilder |
SetDexterity(Int32)
Sets the value of Kingmaker.Blueprints.BlueprintUnit.Dexterity
Declaration
public TBuilder SetDexterity(int dexterity)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | dexterity |
Returns
| Type | Description |
|---|---|
| TBuilder |
SetFaction(Blueprint<BlueprintFactionReference>)
Sets the value of Kingmaker.Blueprints.BlueprintUnit.m_Faction
Declaration
public TBuilder SetFaction(Blueprint<BlueprintFactionReference> faction)
Parameters
| Type | Name | Description |
|---|---|---|
| Blueprint<Kingmaker.Blueprints.BlueprintFactionReference> | faction | Blueprint of type BlueprintFaction. You can pass in the blueprint using:
|
Returns
| Type | Description |
|---|---|
| TBuilder |
SetFactionOverrides(FactionOverrides)
Sets the value of Kingmaker.Blueprints.BlueprintUnit.FactionOverrides
Declaration
public TBuilder SetFactionOverrides(FactionOverrides factionOverrides)
Parameters
| Type | Name | Description |
|---|---|---|
| Kingmaker.Blueprints.FactionOverrides | factionOverrides |
Returns
| Type | Description |
|---|---|
| TBuilder |
SetGender(Gender)
Sets the value of Kingmaker.Blueprints.BlueprintUnit.Gender
Declaration
public TBuilder SetGender(Gender gender)
Parameters
| Type | Name | Description |
|---|---|---|
| Kingmaker.Blueprints.Gender | gender |
Returns
| Type | Description |
|---|---|
| TBuilder |
SetHasAssignedChunkId(Boolean)
Sets the value of Kingmaker.Blueprints.BlueprintUnit.m_HasAssignedChunkId
Declaration
public TBuilder SetHasAssignedChunkId(bool hasAssignedChunkId = true)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | hasAssignedChunkId |
Returns
| Type | Description |
|---|---|
| TBuilder |
SetIntelligence(Int32)
Sets the value of Kingmaker.Blueprints.BlueprintUnit.Intelligence
Declaration
public TBuilder SetIntelligence(int intelligence)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | intelligence |
Returns
| Type | Description |
|---|---|
| TBuilder |
SetIsCheater(Boolean)
Sets the value of Kingmaker.Blueprints.BlueprintUnit.IsCheater
Declaration
public TBuilder SetIsCheater(bool isCheater = true)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | isCheater | Tooltip: Trap actors, mapobject cast targets and other untis that are not actually subject ot game mechanics. Cheaters can use any ability, are never ingame but do show FX |
Returns
| Type | Description |
|---|---|
| TBuilder |
SetIsFake(Boolean)
Sets the value of Kingmaker.Blueprints.BlueprintUnit.IsFake
Declaration
public TBuilder SetIsFake(bool isFake = true)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | isFake |
Returns
| Type | Description |
|---|---|
| TBuilder |
SetIsLeftHanded(Boolean)
Sets the value of Kingmaker.Blueprints.BlueprintUnit.IsLeftHanded
Declaration
public TBuilder SetIsLeftHanded(bool isLeftHanded = true)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | isLeftHanded |
Returns
| Type | Description |
|---|---|
| TBuilder |
SetLocalizedName(SharedStringAsset)
Sets the value of Kingmaker.Blueprints.BlueprintUnit.LocalizedName
Declaration
public TBuilder SetLocalizedName(SharedStringAsset localizedName)
Parameters
| Type | Name | Description |
|---|---|---|
| Kingmaker.Localization.SharedStringAsset | localizedName |
Returns
| Type | Description |
|---|---|
| TBuilder |
SetMaxHP(Int32)
Sets the value of Kingmaker.Blueprints.BlueprintUnit.MaxHP
Declaration
public TBuilder SetMaxHP(int maxHP)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | maxHP |
Returns
| Type | Description |
|---|---|
| TBuilder |
SetPortrait(Blueprint<BlueprintPortraitReference>)
Sets the value of Kingmaker.Blueprints.BlueprintUnit.m_Portrait
Declaration
public TBuilder SetPortrait(Blueprint<BlueprintPortraitReference> portrait)
Parameters
| Type | Name | Description |
|---|---|---|
| Blueprint<Kingmaker.Blueprints.BlueprintPortraitReference> | portrait | Blueprint of type BlueprintPortrait. You can pass in the blueprint using:
|
Returns
| Type | Description |
|---|---|
| TBuilder |
SetPrefab(AssetLink<UnitViewLink>)
Sets the value of Kingmaker.Blueprints.BlueprintUnit.Prefab
Declaration
public TBuilder SetPrefab(AssetLink<UnitViewLink> prefab)
Parameters
| Type | Name | Description |
|---|---|---|
| AssetLink<Kingmaker.ResourceLinks.UnitViewLink> | prefab | You can pass in the animation using a UnitViewLink or it's AssetId. |
Returns
| Type | Description |
|---|---|
| TBuilder |
SetPS4ChunkId(PS4ChunkId)
Sets the value of Kingmaker.Blueprints.BlueprintUnit.m_PS4ChunkId
Declaration
public TBuilder SetPS4ChunkId(PS4ChunkId pS4ChunkId)
Parameters
| Type | Name | Description |
|---|---|---|
| Kingmaker.Blueprints.Area.PS4ChunkId | pS4ChunkId |
Returns
| Type | Description |
|---|---|
| TBuilder |
SetRace(Blueprint<BlueprintRaceReference>)
Sets the value of Kingmaker.Blueprints.BlueprintUnit.m_Race
Declaration
public TBuilder SetRace(Blueprint<BlueprintRaceReference> race)
Parameters
| Type | Name | Description |
|---|---|---|
| Blueprint<Kingmaker.Blueprints.BlueprintRaceReference> | race | Blueprint of type BlueprintRace. You can pass in the blueprint using:
|
Returns
| Type | Description |
|---|---|
| TBuilder |
SetSize(Size)
Sets the value of Kingmaker.Blueprints.BlueprintUnit.Size
Declaration
public TBuilder SetSize(Size size)
Parameters
| Type | Name | Description |
|---|---|---|
| Kingmaker.Enums.Size | size |
Returns
| Type | Description |
|---|---|
| TBuilder |
SetSkills(BlueprintUnit.UnitSkills)
Sets the value of Kingmaker.Blueprints.BlueprintUnit.Skills
Declaration
public TBuilder SetSkills(BlueprintUnit.UnitSkills skills)
Parameters
| Type | Name | Description |
|---|---|---|
| Kingmaker.Blueprints.BlueprintUnit.UnitSkills | skills |
Returns
| Type | Description |
|---|---|
| TBuilder |
SetSpeed(Feet)
Sets the value of Kingmaker.Blueprints.BlueprintUnit.Speed
Declaration
public TBuilder SetSpeed(Feet speed)
Parameters
| Type | Name | Description |
|---|---|---|
| Kingmaker.Utility.Feet | speed |
Returns
| Type | Description |
|---|---|
| TBuilder |
SetStartingInventory(Blueprint<BlueprintItemReference>[])
Sets the value of Kingmaker.Blueprints.BlueprintUnit.m_StartingInventory
Declaration
public TBuilder SetStartingInventory(params Blueprint<BlueprintItemReference>[] startingInventory)
Parameters
| Type | Name | Description |
|---|---|---|
| Blueprint<Kingmaker.Blueprints.BlueprintItemReference>[] | startingInventory | Blueprint of type BlueprintItem. You can pass in the blueprint using:
|
Returns
| Type | Description |
|---|---|
| TBuilder |
SetStrength(Int32)
Sets the value of Kingmaker.Blueprints.BlueprintUnit.Strength
Declaration
public TBuilder SetStrength(int strength)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | strength |
Returns
| Type | Description |
|---|---|
| TBuilder |
SetType(Blueprint<BlueprintUnitTypeReference>)
Sets the value of Kingmaker.Blueprints.BlueprintUnit.m_Type
Declaration
public TBuilder SetType(Blueprint<BlueprintUnitTypeReference> type)
Parameters
| Type | Name | Description |
|---|---|---|
| Blueprint<Kingmaker.Blueprints.BlueprintUnitTypeReference> | type | Blueprint of type BlueprintUnitType. You can pass in the blueprint using:
|
Returns
| Type | Description |
|---|---|
| TBuilder |
SetVisual(UnitVisualParams)
Sets the value of Kingmaker.Blueprints.BlueprintUnit.Visual
Declaration
public TBuilder SetVisual(UnitVisualParams visual)
Parameters
| Type | Name | Description |
|---|---|---|
| Kingmaker.Blueprints.UnitVisualParams | visual |
Returns
| Type | Description |
|---|---|
| TBuilder |
SetWisdom(Int32)
Sets the value of Kingmaker.Blueprints.BlueprintUnit.Wisdom
Declaration
public TBuilder SetWisdom(int wisdom)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | wisdom |
Returns
| Type | Description |
|---|---|
| TBuilder |