Class ShotSnapHelper
Inherited Members
Namespace: GTA.NaturalMotion
Assembly: ScriptHookVDotNet2.dll
Syntax
public sealed class ShotSnapHelper : CustomHelper
Constructors
| Name | Description |
|---|---|
| ShotSnapHelper(Ped) | Creates a new Instance of the ShotSnapHelper for sending a ShotSnap Message to a given Ped. |
Properties
| Name | Description |
|---|---|
| Snap | Add a Snap to shot. |
| SnapAirborneMult | AirborneMult*snapMag = The magnitude of the reaction if airborne. |
| SnapBalancingMult | BalancingMult*snapMag = The magnitude of the reaction if balancing = (not lying on the floor/ not upper body not collided) and not airborne. |
| SnapDirectionRandomness | The character snaps in a prescribed way (decided by bullet direction) - Higher the value the more random this direction is. |
| SnapHipType | Type of hip reaction 0=none, 1=side2side 2=steplike. |
| SnapHitPart | Snap only around the wounded part//mmmmtodo check whether bodyPart doesn't have to be remembered for unSnap. |
| SnapLeftArm | Snap the leftArm. |
| SnapLeftLeg | Snap the leftLeg. |
| SnapMag | The magnitude of the reaction. |
| SnapMovingMult | MovingMult*snapMag = The magnitude of the reaction if moving(comVelMag) faster than movingThresh. |
| SnapMovingThresh | If moving(comVelMag) faster than movingThresh then mvingMult applied to stunMag. |
| SnapNeck | Snap the neck. |
| SnapPhasedLegs | Legs are either in phase with each other or not. |
| SnapRightArm | Snap the rightArm. |
| SnapRightLeg | Snap the rightLeg. |
| SnapSpine | Snap the spine. |
| SnapUseBulletDir | Legs are either in phase with each other or not. |
| SnapUseTorques | Use torques to make the snap otherwise use a change in the parts angular velocity. |
| UnSnapInterval | Interval before applying reverse snap. |
| UnSnapRatio | The magnitude of the reverse snap. |