Show / Hide Table of Contents

    Enum WalkPlanStrategy

    Enumeration of the possible walk plan strategies.

    Namespace: Fibula.Creatures.Contracts.Enumerations
    Assembly: Fibula.Creatures.Contracts.dll
    Syntax
    public enum WalkPlanStrategy

    Fields

    Name Description
    AggressiveRecalculation

    Intended for moderate moving goals, following players, or medium artificial inteligence. The creature follows the walk plan and there is a 25% chance of recalculating at each waypoint. If the waypoint is not accessible or the creature is otherwise interrupted, it will recalculate the plan from it's current position.

    ConservativeRecalculation

    Intended for slow moving goals, or low level artificial inteligence. The creature follows the walk plan and there is a 10% chance of recalculating at each waypoint. If the waypoint is not accessible or the creature is otherwise interrupted, it will recalculate the plan from it's current position.

    DoNotRecalculate

    Intended for static goals. When a creature is following a walk plan and it's suddenly interrupted, it will give up and abort the plan, sending a walk cancellation if applicable.

    ExtremeRecalculation

    Intended for fast moving goals, or highest artificial inteligence. Compute expensive. The creature follows the walk plan and there is a 50% chance of recalculating at each waypoint. If the waypoint is not accessible or the creature is otherwise interrupted, it will recalculate the plan from it's current position.

    RecalculateOnInterruption

    Intended for static goals. When a creature is following a walk plan and it's suddenly interrupted, it will recalculate the plan from it's current position.

    Extension Methods

    ObjectExtensions.YieldSingleItem<WalkPlanStrategy>()
    ObjectExtensions.GetPropertyValue(String)
    Validate.ThrowIfNull(String)
    Validate.ThrowIfDefaultValue<WalkPlanStrategy>(String)
    WalkPlanStrategyExtensions.IsStatic()
    • Improve this Doc
    • View Source
    In This Article
    • Fields
    • Extension Methods
    Back to top Copyright © 2018-2020 | The Fibula Project
    Generated using DocFX | Jose L. Nuñez de Caceres et al.