Table of Contents

Class FlagCapturePoint

Namespace
TaleWorlds.MountAndBlade.Objects
Assembly
TaleWorlds.MountAndBlade.dll
public class FlagCapturePoint : SynchedMissionObject
Inheritance
FlagCapturePoint
Inherited Members

Constructors

FlagCapturePoint()

public FlagCapturePoint()

Fields

FlagIndex

public int FlagIndex

Field Value

int

PointRadius

public const float PointRadius = 4

Field Value

float

RadiusMultiplierForContestedArea

public const float RadiusMultiplierForContestedArea = 1.5

Field Value

float

Properties

FlagChar

public int FlagChar { get; }

Property Value

int

IsContested

public bool IsContested { get; }

Property Value

bool

IsDeactivated

public bool IsDeactivated { get; }

Property Value

bool

IsFullyRaised

public bool IsFullyRaised { get; }

Property Value

bool

Position

[EditableScriptComponentVariable(false)]
public Vec3 Position { get; }

Property Value

Vec3

Methods

ChangeMovementSpeed(float)

public void ChangeMovementSpeed(float speedMultiplier)

Parameters

speedMultiplier float

GetFlagColor()

public uint GetFlagColor()

Returns

uint

GetFlagColor2()

public uint GetFlagColor2()

Returns

uint

GetFlagProgress()

public float GetFlagProgress()

Returns

float

OnAfterTick(bool, out bool)

public void OnAfterTick(bool canOwnershipChange, out bool ownerTeamChanged)

Parameters

canOwnershipChange bool
ownerTeamChanged bool

OnEditorTick(float)

protected override void OnEditorTick(float dt)

Parameters

dt float

OnInit()

protected override void OnInit()

OnMissionReset()

protected override void OnMissionReset()

RemovePointAsServer()

public void RemovePointAsServer()

ResetPointAsServer(uint, uint)

public void ResetPointAsServer(uint defaultColor, uint defaultColor2)

Parameters

defaultColor uint
defaultColor2 uint

SetMoveFlag(CaptureTheFlagFlagDirection, float)

public void SetMoveFlag(CaptureTheFlagFlagDirection directionTo, float speedMultiplier = 1)

Parameters

directionTo CaptureTheFlagFlagDirection
speedMultiplier float

SetMoveNone()

public void SetMoveNone()

SetTeamColorsWithAllSynched(uint, uint)

public void SetTeamColorsWithAllSynched(uint color, uint color2)

Parameters

color uint
color2 uint

SetVisibleWithAllSynched(bool, bool)

public void SetVisibleWithAllSynched(bool value, bool forceChildrenVisible = false)

Parameters

value bool
forceChildrenVisible bool

This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).