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
PointRadius
public const float PointRadius = 4
Field Value
RadiusMultiplierForContestedArea
public const float RadiusMultiplierForContestedArea = 1.5
Field Value
Properties
FlagChar
public int FlagChar { get; }
Property Value
IsContested
public bool IsContested { get; }
Property Value
IsDeactivated
public bool IsDeactivated { get; }
Property Value
IsFullyRaised
public bool IsFullyRaised { get; }
Property Value
Position
[EditableScriptComponentVariable(false)]
public Vec3 Position { get; }
Property Value
Methods
ChangeMovementSpeed(float)
public void ChangeMovementSpeed(float speedMultiplier)
Parameters
speedMultiplier
float
GetFlagColor()
public uint GetFlagColor()
Returns
GetFlagColor2()
public uint GetFlagColor2()
Returns
GetFlagProgress()
public float GetFlagProgress()
Returns
OnAfterTick(bool, out bool)
public void OnAfterTick(bool canOwnershipChange, out bool ownerTeamChanged)
Parameters
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
SetMoveFlag(CaptureTheFlagFlagDirection, float)
public void SetMoveFlag(CaptureTheFlagFlagDirection directionTo, float speedMultiplier = 1)
Parameters
directionTo
CaptureTheFlagFlagDirectionspeedMultiplier
float
SetMoveNone()
public void SetMoveNone()
SetTeamColorsWithAllSynched(uint, uint)
public void SetTeamColorsWithAllSynched(uint color, uint color2)
Parameters
SetVisibleWithAllSynched(bool, bool)
public void SetVisibleWithAllSynched(bool value, bool forceChildrenVisible = false)
Parameters
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).