Search Results for

    Show / Hide Table of Contents

    Class SetFrictionScaleHelper

    SetFrictionScale:.

    Inheritance
    Object
    CustomHelper
    SetFrictionScaleHelper
    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 SetFrictionScaleHelper : CustomHelper

    Constructors

    | Improve this Doc View Source

    SetFrictionScaleHelper(Ped)

    Creates a new Instance of the SetFrictionScaleHelper for sending a SetFrictionScale Message to a given Ped.

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

    The Ped to send the SetFrictionScale Message to.

    Remarks

    SetFrictionScale:.

    Properties

    | Improve this Doc View Source

    GlobalMax

    Character-wide maximum impact friction. Affects all parts (not just those in mask).

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

    Default value = 999999.0f. Min value = 0.0f. Max value = 1000000.0f.

    | Improve this Doc View Source

    GlobalMin

    Character-wide minimum impact friction. Affects all parts (not just those in mask).

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

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

    | Improve this Doc View Source

    Mask

    Two character body-masking value, bitwise joint mask or bitwise logic string of two character body-masking value (see Active Pose notes for possible values).

    Declaration
    public string Mask { set; }
    Property Value
    Type Description
    String
    Remarks

    Default value = "fb".

    | Improve this Doc View Source

    Scale

    Friction scale to be applied to parts in mask.

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

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

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