Search Results for

    Show / Hide Table of Contents

    Class CustomHelper

    A helper class for building a Message and sending it to a given Ped.

    Inheritance
    Object
    CustomHelper
    ActivePoseHelper
    AnimPoseHelper
    ApplyBulletImpulseHelper
    ApplyImpulseHelper
    ArmsWindmillAdaptiveHelper
    ArmsWindmillHelper
    BalancerCollisionsReactionHelper
    BodyBalanceHelper
    BodyFoetalHelper
    BodyRelaxHelper
    BodyRollUpHelper
    BodyWritheHelper
    BraceForImpactHelper
    BuoyancyHelper
    CarriedHelper
    CatchFallHelper
    ConfigureBalanceHelper
    ConfigureBalanceResetHelper
    ConfigureBulletsExtraHelper
    ConfigureBulletsHelper
    ConfigureConstraintsHelper
    ConfigureLimitsHelper
    ConfigureSelfAvoidanceHelper
    ConfigureShotInjuredArmHelper
    ConfigureShotInjuredLegHelper
    ConfigureSoftLimitHelper
    DangleHelper
    DefineAttachedObjectHelper
    ElectrocuteHelper
    FallOverWallHelper
    FireWeaponHelper
    ForceLeanInDirectionHelper
    ForceLeanRandomHelper
    ForceLeanToPositionHelper
    ForceLeanTowardsObjectHelper
    ForceToBodyPartHelper
    GrabHelper
    HeadLookHelper
    HighFallHelper
    HipsLeanInDirectionHelper
    HipsLeanRandomHelper
    HipsLeanToPositionHelper
    HipsLeanTowardsObjectHelper
    IncomingTransformsHelper
    InjuredOnGroundHelper
    LeanInDirectionHelper
    LeanRandomHelper
    LeanToPositionHelper
    LeanTowardsObjectHelper
    OnFireHelper
    PedalLegsHelper
    PointArmHelper
    PointGunExtraHelper
    PointGunHelper
    RegisterWeaponHelper
    RollDownStairsHelper
    SetCharacterCollisionsHelper
    SetCharacterDampingHelper
    SetCharacterHealthHelper
    SetCharacterStrengthHelper
    SetCharacterUnderwaterHelper
    SetFallingReactionHelper
    SetFrictionScaleHelper
    SetMuscleStiffnessHelper
    SetStiffnessHelper
    SetWeaponModeHelper
    ShotConfigureArmsHelper
    ShotFallToKneesHelper
    ShotFromBehindHelper
    ShotHeadLookHelper
    ShotHelper
    ShotInGutsHelper
    ShotNewBulletHelper
    ShotRelaxHelper
    ShotShockSpinHelper
    ShotSnapHelper
    SmartFallHelper
    StaggerFallHelper
    StayUprightHelper
    StopAllBehaviorsHelper
    TeeterHelper
    UpperBodyFlinchHelper
    YankedHelper
    Inherited Members
    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 abstract class CustomHelper

    Constructors

    | Improve this Doc View Source

    CustomHelper(Ped, String)

    Creates a helper class for building Natural Motion messages to send to a given Ped.

    Declaration
    protected CustomHelper(Ped target, string message)
    Parameters
    Type Name Description
    Ped target

    The Ped that the message will be applied to.

    String message

    The name of the natural motion message.

    Methods

    | Improve this Doc View Source

    ResetArguments()

    Resets all arguments to their default values.

    Declaration
    public void ResetArguments()
    | Improve this Doc View Source

    SetArgument(String, Vector3)

    Sets a Message argument to a Vector3 value.

    Declaration
    public void SetArgument(string argName, Vector3 value)
    Parameters
    Type Name Description
    String argName

    The argument name.

    Vector3 value

    The value to set the argument to.

    | Improve this Doc View Source

    SetArgument(String, Boolean)

    Sets a Message argument to a Boolean value.

    Declaration
    public void SetArgument(string argName, bool value)
    Parameters
    Type Name Description
    String argName

    The argument name.

    Boolean value

    The value to set the argument to.

    | Improve this Doc View Source

    SetArgument(String, Int32)

    Sets a Message argument to a Int32 value.

    Declaration
    public void SetArgument(string argName, int value)
    Parameters
    Type Name Description
    String argName

    The argument name.

    Int32 value

    The value to set the argument to.

    | Improve this Doc View Source

    SetArgument(String, Single)

    Sets a Message argument to a Single value.

    Declaration
    public void SetArgument(string argName, float value)
    Parameters
    Type Name Description
    String argName

    The argument name.

    Single value

    The value to set the argument to.

    | Improve this Doc View Source

    SetArgument(String, String)

    Sets a Message argument to a String value.

    Declaration
    public void SetArgument(string argName, string value)
    Parameters
    Type Name Description
    String argName

    The argument name.

    String value

    The value to set the argument to.

    | Improve this Doc View Source

    Start()

    Starts this Natural Motion behavior on the Ped that will loop until manually aborted.

    Declaration
    public void Start()
    | Improve this Doc View Source

    Start(Int32)

    Starts this Natural Motion behavior on the Ped for a specified duration.

    Declaration
    public void Start(int duration)
    Parameters
    Type Name Description
    Int32 duration

    How long to apply the behavior for (-1 for looped).

    | Improve this Doc View Source

    Stop()

    Stops this Natural Motion behavior on the Ped.

    Declaration
    public void Stop()
    | Improve this Doc View Source

    ToString()

    Returns the internal message name.

    Declaration
    public override string ToString()
    Returns
    Type Description
    String
    Overrides
    Object.ToString()
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX