Class ShotHeadLookHelper
Inherited Members
Namespace: GTA.NaturalMotion
Assembly: ScriptHookVDotNet3.dll
Syntax
public sealed class ShotHeadLookHelper : CustomHelper
Constructors
| Improve this Doc View SourceShotHeadLookHelper(Ped)
Declaration
public ShotHeadLookHelper(Ped ped)
Parameters
Type | Name | Description |
---|---|---|
Ped | ped |
Properties
| Improve this Doc View SourceHeadLook
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).
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.
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.
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.
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.
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.