Search Results for

    Show / Hide Table of Contents

    Class ShotHeadLookHelper

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

    Constructors

    | Improve this Doc View Source

    ShotHeadLookHelper(Ped)

    Creates a new Instance of the ShotHeadLookHelper for sending a ShotHeadLook Message to a given Ped.

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

    The Ped to send the ShotHeadLook Message to.

    Properties

    | Improve this Doc View Source

    HeadLook

    Position to look at with headlook flag.

    Declaration
    public Vector3 HeadLook { set; }
    Property Value
    Type Description
    Vector3
    Remarks

    Default value = Vector3(0.0f, 0.0f, 0.0f).

    | Improve this Doc View Source

    HeadLookAtHeadPosMaxTimer

    Min time to look headLook or if zero - forward or in velocity direction.

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

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

    | Improve this Doc View Source

    HeadLookAtHeadPosMinTimer

    Max time to look headLook or if zero - forward or in velocity direction.

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

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

    | Improve this Doc View Source

    HeadLookAtWoundMaxTimer

    Max time to look at wound.

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

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

    | Improve this Doc View Source

    HeadLookAtWoundMinTimer

    Min time to look at wound.

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

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

    | Improve this Doc View Source

    UseHeadLook

    Use head look. Default: looks at provided target or if this is zero - looks forward or in velocity direction. If reachForWound is enabled, switches between looking at the wound and at the default target.

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

    Default value = False.

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