Search Results for

    Show / Hide Table of Contents

    Class ShotNewBulletHelper

    Send new wound information to the shot. Can cause shot to restart it's performance in part or in whole.

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

    Constructors

    | Improve this Doc View Source

    ShotNewBulletHelper(Ped)

    Creates a new Instance of the ShotNewBulletHelper for sending a ShotNewBullet Message to a given Ped.

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

    The Ped to send the ShotNewBullet Message to.

    Remarks

    Send new wound information to the shot. Can cause shot to restart it's performance in part or in whole.

    Properties

    | Improve this Doc View Source

    BodyPart

    Part ID on the body where the bullet hit.

    Declaration
    public int BodyPart { set; }
    Property Value
    Type Description
    Int32
    Remarks

    Default value = 0. Min value = 0. Max value = 21.

    | Improve this Doc View Source

    BulletVel

    Bullet velocity in world coordinates.

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

    Default value = Vector3(0.0f, 0.0f, 0.0f). Min value = -2000.0f. Max value = 2000.0f.

    | Improve this Doc View Source

    HitPoint

    Position of impact on character. Can be local or global depending on localHitPointInfo.

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

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

    | Improve this Doc View Source

    LocalHitPointInfo

    If true then normal and hitPoint should be supplied in local coordinates of bodyPart. If false then normal and hitPoint should be supplied in World coordinates.

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

    Default value = True.

    | Improve this Doc View Source

    Normal

    Normal coming out of impact point on character. Can be local or global depending on localHitPointInfo.

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

    Default value = Vector3(0.0f, 0.0f, -1.0f). Min value = -1.0f. Max value = 1.0f.

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