Search Results for

    Show / Hide Table of Contents

    Class ConfigureShotInjuredLegHelper

    This single message allows you to configure the injured leg reaction during shot.

    Inheritance
    Object
    CustomHelper
    ConfigureShotInjuredLegHelper
    Inherited Members
    CustomHelper.Start()
    CustomHelper.Start(Int32)
    CustomHelper.Stop()
    CustomHelper.SetArgument(String, Boolean)
    CustomHelper.SetArgument(String, Int32)
    CustomHelper.SetArgument(String, Single)
    CustomHelper.SetArgument(String, String)
    CustomHelper.SetArgument(String, Vector3)
    CustomHelper.ResetArguments()
    CustomHelper.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: GTA.NaturalMotion
    Assembly: ScriptHookVDotNet3.dll
    Syntax
    public sealed class ConfigureShotInjuredLegHelper : CustomHelper

    Constructors

    | Improve this Doc View Source

    ConfigureShotInjuredLegHelper(Ped)

    Creates a new Instance of the ConfigureShotInjuredLegHelper for sending a ConfigureShotInjuredLeg Message to a given Ped.

    Declaration
    public ConfigureShotInjuredLegHelper(Ped ped)
    Parameters
    Type Name Description
    Ped ped

    The Ped to send the ConfigureShotInjuredLeg Message to.

    Remarks

    This single message allows you to configure the injured leg reaction during shot.

    Properties

    | Improve this Doc View Source

    LegForceStep

    Force a step to be taken whether pushed out of balance or not.

    Declaration
    public bool LegForceStep { set; }
    Property Value
    Type Description
    Boolean
    Remarks

    Default value = True.

    | Improve this Doc View Source

    LegInjury

    Leg injury - leg strength is reduced.

    Declaration
    public float LegInjury { set; }
    Property Value
    Type Description
    Single
    Remarks

    Default value = 0.3f. Min value = 0.0f. Max value = 1.0f.

    | Improve this Doc View Source

    LegInjuryHipPitch

    Leg injury bend forwards amount when not lifting leg.

    Declaration
    public float LegInjuryHipPitch { set; }
    Property Value
    Type Description
    Single
    Remarks

    Default value = 0.0f. Min value = -1.0f. Max value = 1.0f.

    | Improve this Doc View Source

    LegInjuryLiftHipPitch

    Leg injury bend forwards amount when lifting leg. (Lifting happens when not stepping with other leg).

    Declaration
    public float LegInjuryLiftHipPitch { set; }
    Property Value
    Type Description
    Single
    Remarks

    Default value = 0.0f. Min value = -1.0f. Max value = 1.0f.

    | Improve this Doc View Source

    LegInjuryLiftSpineBend

    Leg injury bend forwards amount when lifting leg. (Lifting happens when not stepping with other leg).

    Declaration
    public float LegInjuryLiftSpineBend { set; }
    Property Value
    Type Description
    Single
    Remarks

    Default value = 0.2f. Min value = -1.0f. Max value = 1.0f.

    | Improve this Doc View Source

    LegInjurySpineBend

    Leg injury bend forwards amount when not lifting leg.

    Declaration
    public float LegInjurySpineBend { set; }
    Property Value
    Type Description
    Single
    Remarks

    Default value = 0.1f. Min value = -1.0f. Max value = 1.0f.

    | Improve this Doc View Source

    LegInjuryTime

    Leg injury duration (reaction to being shot in leg).

    Declaration
    public float LegInjuryTime { set; }
    Property Value
    Type Description
    Single
    Remarks

    Default value = 0.4f. Min value = 0.0f. Max value = 2.0f.

    | Improve this Doc View Source

    LegLiftTime

    Leg lift duration (reaction to being shot in leg). (Lifting happens when not stepping with other leg).

    Declaration
    public float LegLiftTime { set; }
    Property Value
    Type Description
    Single
    Remarks

    Default value = 0.0f. Min value = 0.0f. Max value = 2.0f.

    | Improve this Doc View Source

    LegLimpBend

    Bend the legs via the balancer by this amount if stepping on the injured leg. 0.2 seems a good default.

    Declaration
    public float LegLimpBend { set; }
    Property Value
    Type Description
    Single
    Remarks

    Default value = 0.0f. Min value = 0.0f. Max value = 1.0f.

    | Improve this Doc View Source

    TimeBeforeCollapseWoundLeg

    Time before a wounded leg is set to be weak and cause the character to collapse.

    Declaration
    public float TimeBeforeCollapseWoundLeg { set; }
    Property Value
    Type Description
    Single
    Remarks

    Default value = 0.3f. Min value = 0.0f. Max value = 10.0f.

    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX