M&B: Bannerlord 1.1.0
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
SandBox.SandBoxMissions Class Reference

Static Public Member Functions

static MissionInitializerRecord CreateSandBoxMissionInitializerRecord (string sceneName, string sceneLevels="", bool doNotUseLoadingScreen=false, TaleWorlds.Engine.DecalAtlasGroup decalAtlasGroup=0)
 
static MissionInitializerRecord CreateSandBoxTrainingMissionInitializerRecord (string sceneName, string sceneLevels="", bool doNotUseLoadingScreen=false)
 
static Mission OpenTownCenterMission (string scene, int townUpgradeLevel, Location location, CharacterObject talkToChar, string playerSpawnTag)
 
static Mission OpenTownCenterMission (string scene, string sceneLevels, Location location, CharacterObject talkToChar, string playerSpawnTag)
 
static Mission OpenCastleCourtyardMission (string scene, int castleUpgradeLevel, Location location, CharacterObject talkToChar)
 
static Mission OpenCastleCourtyardMission (string scene, string sceneLevels, Location location, CharacterObject talkToChar)
 
static Mission OpenIndoorMission (string scene, int townUpgradeLevel, Location location, CharacterObject talkToChar)
 
static Mission OpenIndoorMission (string scene, Location location, CharacterObject talkToChar=null, string sceneLevels="")
 
static Mission OpenPrisonBreakMission (string scene, Location location, CharacterObject prisonerCharacter, CharacterObject companionCharacter=null)
 
static Mission OpenVillageMission (string scene, Location location, CharacterObject talkToChar=null, string sceneLevels=null)
 
static Mission OpenArenaStartMission (string scene, Location location, CharacterObject talkToChar=null, string sceneLevels="")
 
static Mission OpenRetirementMission (string scene, Location location, CharacterObject talkToChar=null, string sceneLevels=null)
 
static Mission OpenArenaDuelMission (string scene, Location location, CharacterObject duelCharacter, bool requireCivilianEquipment, bool spawnBOthSidesWithHorse, Action< CharacterObject > onDuelEnd, float customAgentHealth, string sceneLevels="")
 
static Mission OpenArenaDuelMission (string scene, Location location)
 
static Mission OpenBattleMission (MissionInitializerRecord rec)
 
static Mission OpenCaravanBattleMission (MissionInitializerRecord rec, bool isCaravan)
 
static Mission OpenAlleyFightMission (MissionInitializerRecord rec, Location location, TroopRoster playerSideTroops, TroopRoster rivalSideTroops)
 
static Mission OpenCombatMissionWithDialogue (MissionInitializerRecord rec, CharacterObject characterToTalkTo, CharacterObject allyTroopsWithFixedTeam)
 
static Mission OpenBattleMissionWhileEnteringSettlement (string scene, int upgradeLevel, int numberOfMaxTroopToBeSpawnedForPlayer, int numberOfMaxTroopToBeSpawnedForOpponent)
 
static Mission OpenBattleMission (string scene)
 
static Mission OpenAlleyFightMission (string scene, int upgradeLevel, Location location, TroopRoster playerSideTroops, TroopRoster rivalSideTroops)
 
static Mission OpenCombatMissionWithDialogue (string scene, CharacterObject characterToTalkTo, CharacterObject allyTroopsWithFixedTeam, int upgradeLevel)
 
static Mission OpenHideoutBattleMission (string scene, FlattenedTroopRoster playerTroops)
 
static Mission OpenAmbushMission (string scene, MissionResult oldResult)
 
static Mission OpenCampMission (string scene)
 
static Mission OpenSiegeMissionWithDeployment (string scene, float[] wallHitPointPercentages, bool hasAnySiegeTower, List< MissionSiegeWeapon > siegeWeaponsOfAttackers, List< MissionSiegeWeapon > siegeWeaponsOfDefenders, bool isPlayerAttacker, int sceneUpgradeLevel=0, bool isSallyOut=false, bool isReliefForceAttack=false)
 
static Mission OpenSiegeMissionNoDeployment (string scene, bool isSallyOut=false, bool isReliefForceAttack=false)
 
static Mission OpenSiegeLordsHallFightMission (string scene, FlattenedTroopRoster attackerPriorityList)
 
static Mission OpenAmbushMissionForTutorial (string scene, bool isPlayerAttacker)
 
static Mission OpenVillageBattleMission (string scene)
 
static Mission OpenConversationMission (ConversationCharacterData playerCharacterData, ConversationCharacterData conversationPartnerData, string specialScene="", string sceneLevels="")
 
static Mission OpenMeetingMission (string scene, CharacterObject character)
 

Member Function Documentation

◆ CreateSandBoxMissionInitializerRecord()

static MissionInitializerRecord SandBox.SandBoxMissions.CreateSandBoxMissionInitializerRecord ( string  sceneName,
string  sceneLevels = "",
bool  doNotUseLoadingScreen = false,
TaleWorlds::Engine::DecalAtlasGroup  decalAtlasGroup = 0 
)
static

◆ CreateSandBoxTrainingMissionInitializerRecord()

static MissionInitializerRecord SandBox.SandBoxMissions.CreateSandBoxTrainingMissionInitializerRecord ( string  sceneName,
string  sceneLevels = "",
bool  doNotUseLoadingScreen = false 
)
static

◆ OpenTownCenterMission() [1/2]

static Mission SandBox.SandBoxMissions.OpenTownCenterMission ( string  scene,
int  townUpgradeLevel,
Location  location,
CharacterObject  talkToChar,
string  playerSpawnTag 
)
static

◆ OpenTownCenterMission() [2/2]

static Mission SandBox.SandBoxMissions.OpenTownCenterMission ( string  scene,
string  sceneLevels,
Location  location,
CharacterObject  talkToChar,
string  playerSpawnTag 
)
static

◆ OpenCastleCourtyardMission() [1/2]

static Mission SandBox.SandBoxMissions.OpenCastleCourtyardMission ( string  scene,
int  castleUpgradeLevel,
Location  location,
CharacterObject  talkToChar 
)
static

◆ OpenCastleCourtyardMission() [2/2]

static Mission SandBox.SandBoxMissions.OpenCastleCourtyardMission ( string  scene,
string  sceneLevels,
Location  location,
CharacterObject  talkToChar 
)
static

◆ OpenIndoorMission() [1/2]

static Mission SandBox.SandBoxMissions.OpenIndoorMission ( string  scene,
int  townUpgradeLevel,
Location  location,
CharacterObject  talkToChar 
)
static

◆ OpenIndoorMission() [2/2]

static Mission SandBox.SandBoxMissions.OpenIndoorMission ( string  scene,
Location  location,
CharacterObject  talkToChar = null,
string  sceneLevels = "" 
)
static

◆ OpenPrisonBreakMission()

static Mission SandBox.SandBoxMissions.OpenPrisonBreakMission ( string  scene,
Location  location,
CharacterObject  prisonerCharacter,
CharacterObject  companionCharacter = null 
)
static

◆ OpenVillageMission()

static Mission SandBox.SandBoxMissions.OpenVillageMission ( string  scene,
Location  location,
CharacterObject  talkToChar = null,
string  sceneLevels = null 
)
static

◆ OpenArenaStartMission()

static Mission SandBox.SandBoxMissions.OpenArenaStartMission ( string  scene,
Location  location,
CharacterObject  talkToChar = null,
string  sceneLevels = "" 
)
static

◆ OpenRetirementMission()

static Mission SandBox.SandBoxMissions.OpenRetirementMission ( string  scene,
Location  location,
CharacterObject  talkToChar = null,
string  sceneLevels = null 
)
static

◆ OpenArenaDuelMission() [1/2]

static Mission SandBox.SandBoxMissions.OpenArenaDuelMission ( string  scene,
Location  location,
CharacterObject  duelCharacter,
bool  requireCivilianEquipment,
bool  spawnBOthSidesWithHorse,
Action< CharacterObject onDuelEnd,
float  customAgentHealth,
string  sceneLevels = "" 
)
static

◆ OpenArenaDuelMission() [2/2]

static Mission SandBox.SandBoxMissions.OpenArenaDuelMission ( string  scene,
Location  location 
)
static

◆ OpenBattleMission() [1/2]

static Mission SandBox.SandBoxMissions.OpenBattleMission ( MissionInitializerRecord  rec)
static

SandBox Specific

Common

Boundaries

Highlights

Deployment

◆ OpenCaravanBattleMission()

static Mission SandBox.SandBoxMissions.OpenCaravanBattleMission ( MissionInitializerRecord  rec,
bool  isCaravan 
)
static

◆ OpenAlleyFightMission() [1/2]

static Mission SandBox.SandBoxMissions.OpenAlleyFightMission ( MissionInitializerRecord  rec,
Location  location,
TroopRoster  playerSideTroops,
TroopRoster  rivalSideTroops 
)
static

◆ OpenCombatMissionWithDialogue() [1/2]

static Mission SandBox.SandBoxMissions.OpenCombatMissionWithDialogue ( MissionInitializerRecord  rec,
CharacterObject  characterToTalkTo,
CharacterObject  allyTroopsWithFixedTeam 
)
static

◆ OpenBattleMissionWhileEnteringSettlement()

static Mission SandBox.SandBoxMissions.OpenBattleMissionWhileEnteringSettlement ( string  scene,
int  upgradeLevel,
int  numberOfMaxTroopToBeSpawnedForPlayer,
int  numberOfMaxTroopToBeSpawnedForOpponent 
)
static

◆ OpenBattleMission() [2/2]

static Mission SandBox.SandBoxMissions.OpenBattleMission ( string  scene)
static

◆ OpenAlleyFightMission() [2/2]

static Mission SandBox.SandBoxMissions.OpenAlleyFightMission ( string  scene,
int  upgradeLevel,
Location  location,
TroopRoster  playerSideTroops,
TroopRoster  rivalSideTroops 
)
static

◆ OpenCombatMissionWithDialogue() [2/2]

static Mission SandBox.SandBoxMissions.OpenCombatMissionWithDialogue ( string  scene,
CharacterObject  characterToTalkTo,
CharacterObject  allyTroopsWithFixedTeam,
int  upgradeLevel 
)
static

◆ OpenHideoutBattleMission()

static Mission SandBox.SandBoxMissions.OpenHideoutBattleMission ( string  scene,
FlattenedTroopRoster  playerTroops 
)
static

◆ OpenAmbushMission()

static Mission SandBox.SandBoxMissions.OpenAmbushMission ( string  scene,
MissionResult  oldResult 
)
static

◆ OpenCampMission()

static Mission SandBox.SandBoxMissions.OpenCampMission ( string  scene)
static

◆ OpenSiegeMissionWithDeployment()

static Mission SandBox.SandBoxMissions.OpenSiegeMissionWithDeployment ( string  scene,
float[]  wallHitPointPercentages,
bool  hasAnySiegeTower,
List< MissionSiegeWeapon siegeWeaponsOfAttackers,
List< MissionSiegeWeapon siegeWeaponsOfDefenders,
bool  isPlayerAttacker,
int  sceneUpgradeLevel = 0,
bool  isSallyOut = false,
bool  isReliefForceAttack = false 
)
static

◆ OpenSiegeMissionNoDeployment()

static Mission SandBox.SandBoxMissions.OpenSiegeMissionNoDeployment ( string  scene,
bool  isSallyOut = false,
bool  isReliefForceAttack = false 
)
static

◆ OpenSiegeLordsHallFightMission()

static Mission SandBox.SandBoxMissions.OpenSiegeLordsHallFightMission ( string  scene,
FlattenedTroopRoster  attackerPriorityList 
)
static

◆ OpenAmbushMissionForTutorial()

static Mission SandBox.SandBoxMissions.OpenAmbushMissionForTutorial ( string  scene,
bool  isPlayerAttacker 
)
static

◆ OpenVillageBattleMission()

static Mission SandBox.SandBoxMissions.OpenVillageBattleMission ( string  scene)
static

◆ OpenConversationMission()

static Mission SandBox.SandBoxMissions.OpenConversationMission ( ConversationCharacterData  playerCharacterData,
ConversationCharacterData  conversationPartnerData,
string  specialScene = "",
string  sceneLevels = "" 
)
static

◆ OpenMeetingMission()

static Mission SandBox.SandBoxMissions.OpenMeetingMission ( string  scene,
CharacterObject  character 
)
static