Search Results for

    Show / Hide Table of Contents

    Class FireWeaponHelper

    One shot message apply a force to the hand as we fire the gun that should be in this hand.

    Inheritance
    System.Object
    Message
    CustomHelper
    FireWeaponHelper
    Inherited Members
    CustomHelper.Start()
    CustomHelper.Start(Int32)
    CustomHelper.Stop()
    CustomHelper.Abort()
    Message.Abort(Ped)
    Message.SendTo(Ped)
    Message.SendTo(Ped, Int32)
    Message.SetArgument(String, Boolean)
    Message.SetArgument(String, Int32)
    Message.SetArgument(String, Single)
    Message.SetArgument(String, String)
    Message.SetArgument(String, Vector3)
    Message.ResetArguments()
    Message.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: GTA.NaturalMotion
    Assembly: ScriptHookVDotNet2.dll
    Syntax
    public sealed class FireWeaponHelper : CustomHelper

    Constructors

    Name Description
    FireWeaponHelper(Ped)

    Creates a new Instance of the FireWeaponHelper for sending a FireWeapon Message to a given Ped.

    Properties

    Name Description
    ApplyFireGunForceAtClavicle

    Should we apply some of the force at the shoulder. Force double handed weapons (Ak47 etc).

    Direction

    Direction of impulse in gun frame.

    FiredWeaponStrength

    The force of the gun.

    GunHandEnum

    Which hand is the gun in.

    InhibitTime

    Minimum time before next fire impulse.

    Split

    Split force between hand and clavicle when applyFireGunForceAtClavicle is true. 1 = all hand, 0 = all clavicle.

    ☀
    ☾
    Back to top Copyright (C) 2015 crosire - zlib
    Generated with DocFX