Search Results for

    Show / Hide Table of Contents

    Class RegisterWeaponHelper

    Use this message to register weapon. This is an alternativeto the registerWeapon public function.

    Inheritance
    System.Object
    Message
    CustomHelper
    RegisterWeaponHelper
    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 RegisterWeaponHelper : CustomHelper

    Constructors

    Name Description
    RegisterWeaponHelper(Ped)

    Creates a new Instance of the RegisterWeaponHelper for sending a RegisterWeapon Message to a given Ped.

    Properties

    Name Description
    ConstraintHandle

    Pointer to the hand-gun constraint handle.

    GunToButtInGun

    Gun center to butt expressed in gun co-ordinates. The gun pivots around this point when aiming.

    GunToHandA

    A vector of the gunToHand matrix. The gunToHandMatrix is the desired gunToHandMatrix in the aimingPose. (The gunToHandMatrix when pointGun starts can be different so will be blended to this desired one).

    GunToHandB

    B vector of the gunToHand matrix.

    GunToHandC

    C vector of the gunToHand matrix.

    GunToHandD

    D vector of the gunToHand matrix.

    GunToMuzzleInGun

    Gun center to muzzle expressed in gun co-ordinates. To get the line of sight/barrel of the gun. Assumption: the muzzle direction is always along the same primary axis of the gun.

    Hand
    LevelIndex

    Level index of the weapon.

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