M&B: Bannerlord 1.1.0
The horns sound, the ravens gather.
|
Inherits TaleWorlds.MountAndBlade.MissionObject.
Public Types | |
enum | TacticalPositionTypeEnum { Regional , HighGround , ChokePoint , Cliff , SpecialMissionPosition } |
![]() | |
enum | TickRequirement : uint { None = 0x00000000 , TickOccasionally = 0x00000001 , Tick = 0x00000002 , TickParallel = 0x00000004 , TickParallel2 = 0x00000008 } |
Public Member Functions | |
TacticalPosition () | |
TacticalPosition (WorldPosition position, Vec2 direction, float width, float slope=0f, bool isInsurmountable=false, TacticalPositionTypeEnum tacticalPositionType=TacticalPositionTypeEnum.Regional, TacticalRegion.TacticalRegionTypeEnum tacticalRegionMembership=TacticalRegion.TacticalRegionTypeEnum.Opening) | |
override void | AfterMissionStart () |
void | SetWidth (float width) |
![]() | |
MissionObject () | |
virtual void | SetAbilityOfFaces (bool enabled) |
override int | GetHashCode () |
virtual void | AfterMissionStart () |
void | SetDisabled (bool isParentObject=false) |
Only disables the mission object script and removes it from active mission objects list but the object entity remains visible with active physics. | |
void | SetDisabledAndMakeInvisible (bool isParentObject=false) |
Mission object is disabled and removed from active mission objects list, its entity is made invisible and therefore its physics is turned off. | |
virtual void | OnEndMission () |
virtual void | AddStuckMissile (GameEntity missileEntity) |
![]() | |
void | SetScriptComponentToTick (TickRequirement value) |
void | SetScriptComponentToTickMT (TickRequirement value) |
virtual TickRequirement | GetTickRequirement () |
Properties | |
WorldPosition | Position [get, set] |
Vec2 | Direction [get, set] |
float | Width [get] |
float | Slope [get] |
bool | IsInsurmountable [get] |
bool | IsOuterEdge [get] |
List< TacticalPosition > | LinkedTacticalPositions [get, set] |
TacticalPositionTypeEnum | TacticalPositionType [get] |
TacticalRegion.TacticalRegionTypeEnum | TacticalRegionMembership [get] |
FormationAI.BehaviorSide | TacticalPositionSide [get] |
![]() | |
MissionObjectId | Id [get, set] |
bool | IsDisabled [get] |
bool | CreatedAtRuntime [get] |
![]() | |
GameEntity | GameEntity [get] |
ManagedScriptComponent | ScriptComponent [get] |
ManagedScriptHolder | ManagedScriptHolder [get] |
Scene | Scene [get] |
Additional Inherited Members | |
![]() | |
virtual void | AttachDynamicNavmeshToEntity () |
virtual GameEntity | GetEntityToAttachNavMeshFaces () |
override void | OnRemoved (int removeReason) |
![]() | |
void | InvalidateWeakPointersIfValid () |
ScriptComponentBehavior () | |
virtual void | OnRemoved (int removeReason) |
![]() | |
string | NavMeshPrefabName = "" |
int | DynamicNavmeshIdStart = 0 |
![]() | |
const int | InsideNavMeshIdLocal = 1 |
const int | EnterNavMeshIdLocal = 2 |
const int | ExitNavMeshIdLocal = 3 |
const int | BlockerNavMeshIdLocal = 4 |
const int | ExtraNavMesh1IdLocal = 5 |
const int | ExtraNavMesh2IdLocal = 6 |
const int | ExtraNavMesh3IdLocal = 7 |
TaleWorlds.MountAndBlade.TacticalPosition.TacticalPosition | ( | ) |
TaleWorlds.MountAndBlade.TacticalPosition.TacticalPosition | ( | WorldPosition | position, |
Vec2 | direction, | ||
float | width, | ||
float | slope = 0f , |
||
bool | isInsurmountable = false , |
||
TacticalPositionTypeEnum | tacticalPositionType = TacticalPositionTypeEnum::Regional , |
||
TacticalRegion::TacticalRegionTypeEnum | tacticalRegionMembership = TacticalRegion::TacticalRegionTypeEnum::Opening |
||
) |
|
virtual |
Reimplemented from TaleWorlds.MountAndBlade.MissionObject.
void TaleWorlds.MountAndBlade.TacticalPosition.SetWidth | ( | float | width | ) |
|
getset |
|
getset |
|
get |
|
get |
|
get |
|
get |
|
getset |
|
get |
|
get |
|
get |