@nativewrappers/redm-codegen 0.0.4 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/classes/AnimScene.d.ts +109 -109
- package/dist/classes/AnimScene.d.ts.map +1 -1
- package/dist/classes/AnimScene.js +158 -158
- package/dist/classes/BaseModel.d.ts +34 -34
- package/dist/classes/BaseModel.d.ts.map +1 -1
- package/dist/classes/BaseModel.js +53 -53
- package/dist/classes/BaseTask.d.ts +36 -36
- package/dist/classes/BaseTask.d.ts.map +1 -1
- package/dist/classes/BaseTask.js +44 -44
- package/dist/classes/Cam.d.ts +91 -91
- package/dist/classes/Cam.d.ts.map +1 -1
- package/dist/classes/Cam.js +124 -124
- package/dist/classes/Entity.d.ts +507 -502
- package/dist/classes/Entity.d.ts.map +1 -1
- package/dist/classes/Entity.js +723 -714
- package/dist/classes/Interior.d.ts +27 -27
- package/dist/classes/Interior.d.ts.map +1 -1
- package/dist/classes/Interior.js +42 -42
- package/dist/classes/ItemSet.d.ts +2 -2
- package/dist/classes/ItemSet.d.ts.map +1 -1
- package/dist/classes/ItemSet.js +3 -3
- package/dist/classes/Ped.d.ts +286 -286
- package/dist/classes/Ped.d.ts.map +1 -1
- package/dist/classes/Ped.js +425 -425
- package/dist/classes/PedModel.d.ts +1 -1
- package/dist/classes/PedModel.d.ts.map +1 -1
- package/dist/classes/PedModel.js +2 -2
- package/dist/classes/PedTask.d.ts +770 -770
- package/dist/classes/PedTask.d.ts.map +1 -1
- package/dist/classes/PedTask.js +985 -985
- package/dist/classes/PersChar.d.ts +11 -11
- package/dist/classes/PersChar.d.ts.map +1 -1
- package/dist/classes/PersChar.js +23 -23
- package/dist/classes/Pickup.d.ts +6 -6
- package/dist/classes/Pickup.d.ts.map +1 -1
- package/dist/classes/Pickup.js +12 -12
- package/dist/classes/Player.d.ts +237 -233
- package/dist/classes/Player.d.ts.map +1 -1
- package/dist/classes/Player.js +309 -303
- package/dist/classes/Prop.d.ts +126 -126
- package/dist/classes/Prop.d.ts.map +1 -1
- package/dist/classes/Prop.js +180 -180
- package/dist/classes/PropSet.d.ts +16 -16
- package/dist/classes/PropSet.d.ts.map +1 -1
- package/dist/classes/PropSet.js +22 -22
- package/dist/classes/Vehicle.d.ts +122 -122
- package/dist/classes/Vehicle.d.ts.map +1 -1
- package/dist/classes/Vehicle.js +147 -147
- package/dist/classes/VehicleModel.d.ts +1 -1
- package/dist/classes/VehicleModel.d.ts.map +1 -1
- package/dist/classes/VehicleModel.js +2 -2
- package/dist/classes/VehicleTask.d.ts +17 -17
- package/dist/classes/VehicleTask.d.ts.map +1 -1
- package/dist/classes/VehicleTask.js +24 -24
- package/dist/classes/Volume.d.ts +44 -44
- package/dist/classes/Volume.d.ts.map +1 -1
- package/dist/classes/Volume.js +58 -58
- package/dist/classes/Weapon.d.ts +243 -243
- package/dist/classes/Weapon.d.ts.map +1 -1
- package/dist/classes/Weapon.js +339 -339
- package/dist/namespaces/Aicoverpoint.d.ts +23 -23
- package/dist/namespaces/Aicoverpoint.d.ts.map +1 -1
- package/dist/namespaces/Aicoverpoint.js +35 -35
- package/dist/namespaces/Aitransport.d.ts +78 -78
- package/dist/namespaces/Aitransport.d.ts.map +1 -1
- package/dist/namespaces/Aitransport.js +95 -95
- package/dist/namespaces/Animscene.d.ts +37 -37
- package/dist/namespaces/Animscene.d.ts.map +1 -1
- package/dist/namespaces/Animscene.js +51 -51
- package/dist/namespaces/Audio.d.ts +395 -395
- package/dist/namespaces/Audio.d.ts.map +1 -1
- package/dist/namespaces/Audio.js +530 -530
- package/dist/namespaces/Bounty.d.ts +23 -23
- package/dist/namespaces/Bounty.d.ts.map +1 -1
- package/dist/namespaces/Bounty.js +40 -40
- package/dist/namespaces/Brain.d.ts +15 -15
- package/dist/namespaces/Brain.d.ts.map +1 -1
- package/dist/namespaces/Brain.js +20 -20
- package/dist/namespaces/CamStatics.d.ts +483 -483
- package/dist/namespaces/CamStatics.d.ts.map +1 -1
- package/dist/namespaces/CamStatics.js +693 -693
- package/dist/namespaces/Clock.d.ts +51 -51
- package/dist/namespaces/Clock.d.ts.map +1 -1
- package/dist/namespaces/Clock.js +73 -73
- package/dist/namespaces/Collection.d.ts +6 -6
- package/dist/namespaces/Collection.d.ts.map +1 -1
- package/dist/namespaces/Collection.js +11 -11
- package/dist/namespaces/Compapp.js +1 -1
- package/dist/namespaces/Compendium.d.ts +58 -58
- package/dist/namespaces/Compendium.d.ts.map +1 -1
- package/dist/namespaces/Compendium.js +83 -83
- package/dist/namespaces/Crashlog.js +9 -9
- package/dist/namespaces/Crew.d.ts +9 -9
- package/dist/namespaces/Crew.d.ts.map +1 -1
- package/dist/namespaces/Crew.js +18 -18
- package/dist/namespaces/Databinding.d.ts +146 -146
- package/dist/namespaces/Databinding.d.ts.map +1 -1
- package/dist/namespaces/Databinding.js +218 -218
- package/dist/namespaces/Datafile.js +4 -4
- package/dist/namespaces/Decorator.d.ts +19 -19
- package/dist/namespaces/Decorator.d.ts.map +1 -1
- package/dist/namespaces/Decorator.js +34 -34
- package/dist/namespaces/Dlc.js +2 -2
- package/dist/namespaces/EntityStatics.d.ts +186 -186
- package/dist/namespaces/EntityStatics.d.ts.map +1 -1
- package/dist/namespaces/EntityStatics.js +249 -249
- package/dist/namespaces/Event.js +4 -4
- package/dist/namespaces/Fire.d.ts +89 -89
- package/dist/namespaces/Fire.d.ts.map +1 -1
- package/dist/namespaces/Fire.js +115 -115
- package/dist/namespaces/Flock.js +2 -2
- package/dist/namespaces/Gang.js +2 -2
- package/dist/namespaces/GoogleAnalytics.js +2 -2
- package/dist/namespaces/Graphics.d.ts +776 -776
- package/dist/namespaces/Graphics.d.ts.map +1 -1
- package/dist/namespaces/Graphics.js +1120 -1120
- package/dist/namespaces/Hud.d.ts +497 -497
- package/dist/namespaces/Hud.d.ts.map +1 -1
- package/dist/namespaces/Hud.js +748 -748
- package/dist/namespaces/Ik.js +1 -1
- package/dist/namespaces/Interaction.js +3 -3
- package/dist/namespaces/InteriorStatics.d.ts +40 -40
- package/dist/namespaces/InteriorStatics.d.ts.map +1 -1
- package/dist/namespaces/InteriorStatics.js +57 -57
- package/dist/namespaces/Inventory.d.ts +205 -205
- package/dist/namespaces/Inventory.d.ts.map +1 -1
- package/dist/namespaces/Inventory.js +340 -340
- package/dist/namespaces/Itemdatabase.d.ts +78 -78
- package/dist/namespaces/Itemdatabase.d.ts.map +1 -1
- package/dist/namespaces/Itemdatabase.js +109 -109
- package/dist/namespaces/Itemset.js +2 -2
- package/dist/namespaces/Law.d.ts +1 -1
- package/dist/namespaces/Law.d.ts.map +1 -1
- package/dist/namespaces/Law.js +19 -19
- package/dist/namespaces/Localization.js +1 -1
- package/dist/namespaces/Map.d.ts +156 -156
- package/dist/namespaces/Map.d.ts.map +1 -1
- package/dist/namespaces/Map.js +209 -209
- package/dist/namespaces/Minigame.d.ts +66 -66
- package/dist/namespaces/Minigame.d.ts.map +1 -1
- package/dist/namespaces/Minigame.js +111 -111
- package/dist/namespaces/Misc.d.ts +3 -3
- package/dist/namespaces/Misc.d.ts.map +1 -1
- package/dist/namespaces/Misc.js +35 -35
- package/dist/namespaces/Missiondata.js +1 -1
- package/dist/namespaces/Money.js +3 -3
- package/dist/namespaces/Netshopping.d.ts +58 -58
- package/dist/namespaces/Netshopping.d.ts.map +1 -1
- package/dist/namespaces/Netshopping.js +89 -89
- package/dist/namespaces/Network.d.ts +1199 -1199
- package/dist/namespaces/Network.d.ts.map +1 -1
- package/dist/namespaces/Network.js +1650 -1650
- package/dist/namespaces/Object.d.ts +262 -262
- package/dist/namespaces/Object.d.ts.map +1 -1
- package/dist/namespaces/Object.js +367 -367
- package/dist/namespaces/Pad.d.ts +102 -102
- package/dist/namespaces/Pad.d.ts.map +1 -1
- package/dist/namespaces/Pad.js +141 -141
- package/dist/namespaces/Pathfind.js +10 -10
- package/dist/namespaces/PedStatics.d.ts +2 -2
- package/dist/namespaces/PedStatics.d.ts.map +1 -1
- package/dist/namespaces/PedStatics.js +10 -10
- package/dist/namespaces/Perschar.d.ts +42 -42
- package/dist/namespaces/Perschar.d.ts.map +1 -1
- package/dist/namespaces/Perschar.js +59 -59
- package/dist/namespaces/Physics.d.ts +37 -37
- package/dist/namespaces/Physics.d.ts.map +1 -1
- package/dist/namespaces/Physics.js +54 -54
- package/dist/namespaces/PlayerStatics.d.ts +68 -68
- package/dist/namespaces/PlayerStatics.d.ts.map +1 -1
- package/dist/namespaces/PlayerStatics.js +104 -104
- package/dist/namespaces/Population.d.ts +86 -86
- package/dist/namespaces/Population.d.ts.map +1 -1
- package/dist/namespaces/Population.js +116 -116
- package/dist/namespaces/Posse.d.ts +48 -48
- package/dist/namespaces/Posse.d.ts.map +1 -1
- package/dist/namespaces/Posse.js +78 -78
- package/dist/namespaces/Propset.d.ts +59 -59
- package/dist/namespaces/Propset.d.ts.map +1 -1
- package/dist/namespaces/Propset.js +81 -81
- package/dist/namespaces/Replay.d.ts +1 -1
- package/dist/namespaces/Replay.d.ts.map +1 -1
- package/dist/namespaces/Replay.js +2 -2
- package/dist/namespaces/Scripts.d.ts +1 -1
- package/dist/namespaces/Scripts.d.ts.map +1 -1
- package/dist/namespaces/Scripts.js +12 -12
- package/dist/namespaces/Socialclub.js +8 -8
- package/dist/namespaces/Socialclubfeed.js +1 -1
- package/dist/namespaces/Spactionproxy.js +4 -4
- package/dist/namespaces/Stats.d.ts +203 -203
- package/dist/namespaces/Stats.d.ts.map +1 -1
- package/dist/namespaces/Stats.js +294 -294
- package/dist/namespaces/Streaming.d.ts +128 -128
- package/dist/namespaces/Streaming.d.ts.map +1 -1
- package/dist/namespaces/Streaming.js +202 -202
- package/dist/namespaces/Task.d.ts +366 -366
- package/dist/namespaces/Task.d.ts.map +1 -1
- package/dist/namespaces/Task.js +517 -517
- package/dist/namespaces/Telemetry.d.ts +83 -83
- package/dist/namespaces/Telemetry.d.ts.map +1 -1
- package/dist/namespaces/Telemetry.js +111 -111
- package/dist/namespaces/Txd.js +1 -1
- package/dist/namespaces/Uiapps.d.ts +25 -25
- package/dist/namespaces/Uiapps.d.ts.map +1 -1
- package/dist/namespaces/Uiapps.js +36 -36
- package/dist/namespaces/Uievents.js +1 -1
- package/dist/namespaces/Uifeed.js +1 -1
- package/dist/namespaces/Uistickyfeed.d.ts +16 -16
- package/dist/namespaces/Uistickyfeed.d.ts.map +1 -1
- package/dist/namespaces/Uistickyfeed.js +21 -21
- package/dist/namespaces/Unlock.js +5 -5
- package/dist/namespaces/VehicleStatics.js +12 -12
- package/dist/namespaces/Voice.js +7 -7
- package/dist/namespaces/VolumeStatics.d.ts +99 -99
- package/dist/namespaces/VolumeStatics.d.ts.map +1 -1
- package/dist/namespaces/VolumeStatics.js +137 -137
- package/dist/namespaces/Water.d.ts +27 -27
- package/dist/namespaces/Water.d.ts.map +1 -1
- package/dist/namespaces/Water.js +41 -41
- package/dist/namespaces/WeaponStatics.d.ts +206 -206
- package/dist/namespaces/WeaponStatics.d.ts.map +1 -1
- package/dist/namespaces/WeaponStatics.js +303 -303
- package/dist/types/NativeAliases.d.ts +3 -1
- package/dist/types/NativeAliases.d.ts.map +1 -1
- package/dist/types/NativeAliases.js +3 -1
- package/package.json +1 -1
- package/src/classes/AnimScene.ts +164 -164
- package/src/classes/BaseModel.ts +60 -60
- package/src/classes/BaseTask.ts +46 -46
- package/src/classes/Cam.ts +136 -136
- package/src/classes/Entity.ts +738 -727
- package/src/classes/Interior.ts +43 -43
- package/src/classes/ItemSet.ts +3 -3
- package/src/classes/Ped.ts +432 -432
- package/src/classes/PedModel.ts +2 -2
- package/src/classes/PedTask.ts +1023 -1023
- package/src/classes/PersChar.ts +28 -28
- package/src/classes/Pickup.ts +13 -13
- package/src/classes/Player.ts +326 -319
- package/src/classes/Prop.ts +185 -185
- package/src/classes/PropSet.ts +25 -25
- package/src/classes/Vehicle.ts +147 -147
- package/src/classes/VehicleModel.ts +2 -2
- package/src/classes/VehicleTask.ts +27 -27
- package/src/classes/Volume.ts +62 -62
- package/src/classes/Weapon.ts +358 -358
- package/src/namespaces/Aicoverpoint.ts +40 -40
- package/src/namespaces/Aitransport.ts +104 -104
- package/src/namespaces/Animscene.ts +55 -55
- package/src/namespaces/Audio.ts +565 -565
- package/src/namespaces/Bounty.ts +46 -46
- package/src/namespaces/Brain.ts +22 -22
- package/src/namespaces/CamStatics.ts +706 -706
- package/src/namespaces/Clock.ts +82 -82
- package/src/namespaces/Collection.ts +12 -12
- package/src/namespaces/Compapp.ts +1 -1
- package/src/namespaces/Compendium.ts +94 -94
- package/src/namespaces/Crashlog.ts +9 -9
- package/src/namespaces/Crew.ts +20 -20
- package/src/namespaces/Databinding.ts +222 -222
- package/src/namespaces/Datafile.ts +4 -4
- package/src/namespaces/Decorator.ts +37 -37
- package/src/namespaces/Dlc.ts +2 -2
- package/src/namespaces/EntityStatics.ts +259 -259
- package/src/namespaces/Event.ts +4 -4
- package/src/namespaces/Fire.ts +127 -127
- package/src/namespaces/Flock.ts +2 -2
- package/src/namespaces/Gang.ts +2 -2
- package/src/namespaces/GoogleAnalytics.ts +2 -2
- package/src/namespaces/Graphics.ts +1081 -1081
- package/src/namespaces/Hud.ts +767 -767
- package/src/namespaces/Ik.ts +1 -1
- package/src/namespaces/Interaction.ts +3 -3
- package/src/namespaces/InteriorStatics.ts +65 -65
- package/src/namespaces/Inventory.ts +352 -352
- package/src/namespaces/Itemdatabase.ts +121 -121
- package/src/namespaces/Itemset.ts +2 -2
- package/src/namespaces/Law.ts +20 -20
- package/src/namespaces/Localization.ts +1 -1
- package/src/namespaces/Map.ts +217 -217
- package/src/namespaces/Minigame.ts +119 -119
- package/src/namespaces/Misc.ts +38 -38
- package/src/namespaces/Missiondata.ts +1 -1
- package/src/namespaces/Money.ts +3 -3
- package/src/namespaces/Netshopping.ts +99 -99
- package/src/namespaces/Network.ts +1738 -1738
- package/src/namespaces/Object.ts +370 -370
- package/src/namespaces/Pad.ts +155 -155
- package/src/namespaces/Pathfind.ts +10 -10
- package/src/namespaces/PedStatics.ts +12 -12
- package/src/namespaces/Perschar.ts +67 -67
- package/src/namespaces/Physics.ts +62 -62
- package/src/namespaces/PlayerStatics.ts +112 -112
- package/src/namespaces/Population.ts +131 -131
- package/src/namespaces/Posse.ts +81 -81
- package/src/namespaces/Propset.ts +92 -92
- package/src/namespaces/Replay.ts +3 -3
- package/src/namespaces/Scripts.ts +13 -13
- package/src/namespaces/Socialclub.ts +8 -8
- package/src/namespaces/Socialclubfeed.ts +1 -1
- package/src/namespaces/Spactionproxy.ts +4 -4
- package/src/namespaces/Stats.ts +296 -296
- package/src/namespaces/Streaming.ts +236 -236
- package/src/namespaces/Task.ts +583 -583
- package/src/namespaces/Telemetry.ts +125 -125
- package/src/namespaces/Txd.ts +1 -1
- package/src/namespaces/Uiapps.ts +43 -43
- package/src/namespaces/Uievents.ts +1 -1
- package/src/namespaces/Uifeed.ts +1 -1
- package/src/namespaces/Uistickyfeed.ts +23 -23
- package/src/namespaces/Unlock.ts +5 -5
- package/src/namespaces/VehicleStatics.ts +12 -12
- package/src/namespaces/Voice.ts +7 -7
- package/src/namespaces/VolumeStatics.ts +143 -143
- package/src/namespaces/Water.ts +47 -47
- package/src/namespaces/WeaponStatics.ts +311 -311
- package/src/types/NativeAliases.ts +6 -1
package/dist/classes/Ped.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ export declare class Ped extends Entity {
|
|
|
22
22
|
/**
|
|
23
23
|
* @returns
|
|
24
24
|
*/
|
|
25
|
-
|
|
25
|
+
get IsOnFoot(): boolean;
|
|
26
26
|
/**
|
|
27
27
|
* Only used in R* Script nb_stalking_hunter
|
|
28
28
|
*
|
|
@@ -32,7 +32,7 @@ export declare class Ped extends Entity {
|
|
|
32
32
|
/**
|
|
33
33
|
* @param grappleSequence
|
|
34
34
|
*/
|
|
35
|
-
|
|
35
|
+
set GrappleSequence(grappleSequence: string | null);
|
|
36
36
|
/**
|
|
37
37
|
* @param p1
|
|
38
38
|
*/
|
|
@@ -40,7 +40,7 @@ export declare class Ped extends Entity {
|
|
|
40
40
|
/**
|
|
41
41
|
* @returns
|
|
42
42
|
*/
|
|
43
|
-
|
|
43
|
+
get MeleeTargetForPed(): Ped | null;
|
|
44
44
|
/**
|
|
45
45
|
* Use to apply metaped player components
|
|
46
46
|
* Replaces asset, alternatively you can remove assets using REMOVE_TAG_FROM_META_PED
|
|
@@ -63,7 +63,7 @@ export declare class Ped extends Entity {
|
|
|
63
63
|
/**
|
|
64
64
|
* @returns
|
|
65
65
|
*/
|
|
66
|
-
|
|
66
|
+
get IsChild(): any;
|
|
67
67
|
/**
|
|
68
68
|
* @param index
|
|
69
69
|
* @param p2
|
|
@@ -73,7 +73,7 @@ export declare class Ped extends Entity {
|
|
|
73
73
|
/**
|
|
74
74
|
* @param value
|
|
75
75
|
*/
|
|
76
|
-
|
|
76
|
+
set MaxMoveBlendRatio(value: number);
|
|
77
77
|
/**
|
|
78
78
|
* If targetPed is set to 0 the ped motivationState affects everyone
|
|
79
79
|
*
|
|
@@ -103,7 +103,7 @@ export declare class Ped extends Entity {
|
|
|
103
103
|
/**
|
|
104
104
|
* @returns
|
|
105
105
|
*/
|
|
106
|
-
|
|
106
|
+
get MetaOutfitHash(): number;
|
|
107
107
|
/**
|
|
108
108
|
* @param variableName
|
|
109
109
|
*/
|
|
@@ -114,7 +114,7 @@ export declare class Ped extends Entity {
|
|
|
114
114
|
*
|
|
115
115
|
* @returns
|
|
116
116
|
*/
|
|
117
|
-
|
|
117
|
+
get Damaged(): any;
|
|
118
118
|
/**
|
|
119
119
|
* _IS_PED_IN*
|
|
120
120
|
*
|
|
@@ -137,11 +137,11 @@ export declare class Ped extends Entity {
|
|
|
137
137
|
/**
|
|
138
138
|
* @param bondingLevel
|
|
139
139
|
*/
|
|
140
|
-
|
|
140
|
+
set MountBondingLevel(bondingLevel: number);
|
|
141
141
|
/**
|
|
142
142
|
* @returns
|
|
143
143
|
*/
|
|
144
|
-
|
|
144
|
+
get IsVisibilityTracked(): any;
|
|
145
145
|
/**
|
|
146
146
|
* *HAS_PED**
|
|
147
147
|
*
|
|
@@ -188,7 +188,7 @@ export declare class Ped extends Entity {
|
|
|
188
188
|
/**
|
|
189
189
|
* @param toggle
|
|
190
190
|
*/
|
|
191
|
-
|
|
191
|
+
set HighlyPerceptive(toggle: boolean);
|
|
192
192
|
/**
|
|
193
193
|
* @param p1
|
|
194
194
|
*/
|
|
@@ -200,7 +200,7 @@ export declare class Ped extends Entity {
|
|
|
200
200
|
/**
|
|
201
201
|
* @param scale
|
|
202
202
|
*/
|
|
203
|
-
|
|
203
|
+
set Scale(scale: number);
|
|
204
204
|
/**
|
|
205
205
|
* Gets the position of the specified bone of the specified ped. ped: The ped to get the position of a bone from.
|
|
206
206
|
* boneId: The ID of the bone to get the position from. This is NOT the index.
|
|
@@ -224,7 +224,7 @@ export declare class Ped extends Entity {
|
|
|
224
224
|
*
|
|
225
225
|
* @param totalDamage
|
|
226
226
|
*/
|
|
227
|
-
|
|
227
|
+
set TotalDamageFromAi(totalDamage: number);
|
|
228
228
|
/**
|
|
229
229
|
* @param p1
|
|
230
230
|
* @param p2
|
|
@@ -234,7 +234,7 @@ export declare class Ped extends Entity {
|
|
|
234
234
|
/**
|
|
235
235
|
* @param toggle
|
|
236
236
|
*/
|
|
237
|
-
|
|
237
|
+
set CanTorsoVehicleIk(toggle: boolean);
|
|
238
238
|
/**
|
|
239
239
|
* https://github.com/femga/rdr3_discoveries/tree/master/AI/BLACKBOARDS
|
|
240
240
|
* Blackboard natives allow you to apply and check certain data to/for peds.
|
|
@@ -259,7 +259,7 @@ export declare class Ped extends Entity {
|
|
|
259
259
|
/**
|
|
260
260
|
* @returns
|
|
261
261
|
*/
|
|
262
|
-
|
|
262
|
+
get NumReservedHealth(): any;
|
|
263
263
|
/**
|
|
264
264
|
* @param actionDisableFlag Refer to [enum: eActionDisableFlags]
|
|
265
265
|
* @returns Returns `true` if the target action disable flag is set
|
|
@@ -272,7 +272,7 @@ export declare class Ped extends Entity {
|
|
|
272
272
|
/**
|
|
273
273
|
* @param modifier
|
|
274
274
|
*/
|
|
275
|
-
|
|
275
|
+
set DefenseModifierForPed(modifier: number);
|
|
276
276
|
/**
|
|
277
277
|
* *SET_PED**
|
|
278
278
|
*
|
|
@@ -289,22 +289,22 @@ export declare class Ped extends Entity {
|
|
|
289
289
|
/**
|
|
290
290
|
* @param abilityLevel Refer to [enum: ePedCombatAbility]
|
|
291
291
|
*/
|
|
292
|
-
|
|
292
|
+
set CombatAbility(abilityLevel: ePedCombatAbility);
|
|
293
293
|
/**
|
|
294
294
|
* @returns
|
|
295
295
|
*/
|
|
296
|
-
|
|
296
|
+
get IsRunningRagdollTask(): boolean;
|
|
297
297
|
/**
|
|
298
298
|
* @returns
|
|
299
299
|
*/
|
|
300
|
-
|
|
300
|
+
get IsJumping(): boolean;
|
|
301
301
|
/**
|
|
302
302
|
* 0.0 - 1.0
|
|
303
303
|
* Modifies the "scent line" on the ped's body when using Eagle Eye.
|
|
304
304
|
*
|
|
305
305
|
* @param scent
|
|
306
306
|
*/
|
|
307
|
-
|
|
307
|
+
set Scent(scent: number);
|
|
308
308
|
/**
|
|
309
309
|
* Returns vehicle speed
|
|
310
310
|
* *COMPUTE**
|
|
@@ -396,7 +396,7 @@ export declare class Ped extends Entity {
|
|
|
396
396
|
*
|
|
397
397
|
* @returns
|
|
398
398
|
*/
|
|
399
|
-
|
|
399
|
+
get HorseTamingState(): number;
|
|
400
400
|
/**
|
|
401
401
|
* @param bActionModeEnabled
|
|
402
402
|
* @param p2
|
|
@@ -410,7 +410,7 @@ export declare class Ped extends Entity {
|
|
|
410
410
|
/**
|
|
411
411
|
* @returns
|
|
412
412
|
*/
|
|
413
|
-
|
|
413
|
+
get TrackedPixelcount(): number;
|
|
414
414
|
/**
|
|
415
415
|
* _DISABLE_A* - _DISABLE_C*
|
|
416
416
|
*
|
|
@@ -427,11 +427,11 @@ export declare class Ped extends Entity {
|
|
|
427
427
|
*
|
|
428
428
|
* @param bleedoutProfile
|
|
429
429
|
*/
|
|
430
|
-
|
|
430
|
+
set BleedoutProfile(bleedoutProfile: string | number);
|
|
431
431
|
/**
|
|
432
432
|
* @returns
|
|
433
433
|
*/
|
|
434
|
-
|
|
434
|
+
get IsProne(): boolean;
|
|
435
435
|
/**
|
|
436
436
|
* _CLEAR_PED_D*
|
|
437
437
|
*
|
|
@@ -447,7 +447,7 @@ export declare class Ped extends Entity {
|
|
|
447
447
|
*
|
|
448
448
|
* @returns
|
|
449
449
|
*/
|
|
450
|
-
|
|
450
|
+
get IsSittingInAnyVehicle(): boolean;
|
|
451
451
|
/**
|
|
452
452
|
* flagId: https://github.com/Halen84/RDR3-Native-Flags-And-Enums/tree/main/ePedScriptConfigFlags
|
|
453
453
|
* https://alloc8or.re/rdr3/doc/enums/ePedScriptConfigFlags.txt
|
|
@@ -510,15 +510,15 @@ export declare class Ped extends Entity {
|
|
|
510
510
|
/**
|
|
511
511
|
* @param toggle
|
|
512
512
|
*/
|
|
513
|
-
|
|
513
|
+
set CanPlayAmbientBaseAnims(toggle: boolean);
|
|
514
514
|
/**
|
|
515
515
|
* @returns
|
|
516
516
|
*/
|
|
517
|
-
|
|
517
|
+
get GrappleState(): number;
|
|
518
518
|
/**
|
|
519
519
|
* @returns sizeAndVehs
|
|
520
520
|
*/
|
|
521
|
-
|
|
521
|
+
get NearbyVehicles(): [number, number];
|
|
522
522
|
/**
|
|
523
523
|
* _GET_PED_G* - _GET_PED_I*
|
|
524
524
|
*
|
|
@@ -530,7 +530,7 @@ export declare class Ped extends Entity {
|
|
|
530
530
|
/**
|
|
531
531
|
* @returns
|
|
532
532
|
*/
|
|
533
|
-
|
|
533
|
+
get IsDragging(): any;
|
|
534
534
|
/**
|
|
535
535
|
* _IS_PED_L* - _IS_PED_M*
|
|
536
536
|
*
|
|
@@ -547,11 +547,11 @@ export declare class Ped extends Entity {
|
|
|
547
547
|
*
|
|
548
548
|
* @returns
|
|
549
549
|
*/
|
|
550
|
-
|
|
550
|
+
get IsLeadingAnyGroup(): boolean;
|
|
551
551
|
/**
|
|
552
552
|
* @returns
|
|
553
553
|
*/
|
|
554
|
-
|
|
554
|
+
get IsEnteringAnyTransport(): boolean;
|
|
555
555
|
/**
|
|
556
556
|
* *HAS**
|
|
557
557
|
*
|
|
@@ -568,7 +568,7 @@ export declare class Ped extends Entity {
|
|
|
568
568
|
*
|
|
569
569
|
* @returns
|
|
570
570
|
*/
|
|
571
|
-
|
|
571
|
+
get IsRagdoll(): boolean;
|
|
572
572
|
/**
|
|
573
573
|
* @returns
|
|
574
574
|
*/
|
|
@@ -588,19 +588,19 @@ export declare class Ped extends Entity {
|
|
|
588
588
|
/**
|
|
589
589
|
* @returns
|
|
590
590
|
*/
|
|
591
|
-
|
|
591
|
+
get FirstEntityIsCarrying(): Entity | null;
|
|
592
592
|
/**
|
|
593
593
|
* @returns
|
|
594
594
|
*/
|
|
595
|
-
|
|
595
|
+
get TransportIsSeatedOn(): Entity | null;
|
|
596
596
|
/**
|
|
597
597
|
* @returns
|
|
598
598
|
*/
|
|
599
|
-
|
|
599
|
+
get IsAnimalInteractionRunning(): any;
|
|
600
600
|
/**
|
|
601
601
|
* @returns
|
|
602
602
|
*/
|
|
603
|
-
|
|
603
|
+
get CanBeIncapacitatedThisFrame(): any;
|
|
604
604
|
/**
|
|
605
605
|
* @param p1
|
|
606
606
|
* @param p2
|
|
@@ -615,13 +615,13 @@ export declare class Ped extends Entity {
|
|
|
615
615
|
/**
|
|
616
616
|
* @param p1
|
|
617
617
|
*/
|
|
618
|
-
|
|
618
|
+
set RandomComponentVariation(p1: number);
|
|
619
619
|
/**
|
|
620
620
|
* NET_FETCH_CLIENT_UPDATE_PED_FIGHT_PROFICIENCY: Changing parry multiplier for ped
|
|
621
621
|
*
|
|
622
622
|
* @param p1
|
|
623
623
|
*/
|
|
624
|
-
|
|
624
|
+
set BeatMultiplier(p1: number);
|
|
625
625
|
/**
|
|
626
626
|
* _IS_PED_RE*
|
|
627
627
|
*
|
|
@@ -639,11 +639,11 @@ export declare class Ped extends Entity {
|
|
|
639
639
|
/**
|
|
640
640
|
* @returns
|
|
641
641
|
*/
|
|
642
|
-
|
|
642
|
+
get IsHangingOnToVehicle(): boolean;
|
|
643
643
|
/**
|
|
644
644
|
* @returns
|
|
645
645
|
*/
|
|
646
|
-
|
|
646
|
+
get IsDoingCombatRoll(): any;
|
|
647
647
|
/**
|
|
648
648
|
* @param weaponType
|
|
649
649
|
* @returns
|
|
@@ -675,7 +675,7 @@ export declare class Ped extends Entity {
|
|
|
675
675
|
*
|
|
676
676
|
* @returns
|
|
677
677
|
*/
|
|
678
|
-
|
|
678
|
+
get IsAnimalControlledByAPlayer(): boolean;
|
|
679
679
|
/**
|
|
680
680
|
* @param object
|
|
681
681
|
* @param conditionalAnim
|
|
@@ -694,7 +694,7 @@ export declare class Ped extends Entity {
|
|
|
694
694
|
/**
|
|
695
695
|
* @returns
|
|
696
696
|
*/
|
|
697
|
-
|
|
697
|
+
get IncapacitationTimeRemaining(): number;
|
|
698
698
|
/**
|
|
699
699
|
* @param p1
|
|
700
700
|
* @param p2
|
|
@@ -706,13 +706,13 @@ export declare class Ped extends Entity {
|
|
|
706
706
|
/**
|
|
707
707
|
* @returns
|
|
708
708
|
*/
|
|
709
|
-
|
|
709
|
+
get IsCowering(): any;
|
|
710
710
|
/**
|
|
711
711
|
* Returns last horse the ped was leading
|
|
712
712
|
*
|
|
713
713
|
* @returns
|
|
714
714
|
*/
|
|
715
|
-
|
|
715
|
+
get LastLedMount(): Ped | null;
|
|
716
716
|
/**
|
|
717
717
|
* @param p1
|
|
718
718
|
* @param p2
|
|
@@ -731,7 +731,7 @@ export declare class Ped extends Entity {
|
|
|
731
731
|
/**
|
|
732
732
|
* @param toggle
|
|
733
733
|
*/
|
|
734
|
-
|
|
734
|
+
set CanTorsoReactIk(toggle: boolean);
|
|
735
735
|
/**
|
|
736
736
|
* _SET_PED_M*
|
|
737
737
|
*
|
|
@@ -751,11 +751,11 @@ export declare class Ped extends Entity {
|
|
|
751
751
|
/**
|
|
752
752
|
* @param toggle
|
|
753
753
|
*/
|
|
754
|
-
|
|
754
|
+
set CanLegIk(toggle: boolean);
|
|
755
755
|
/**
|
|
756
756
|
* @param speech
|
|
757
757
|
*/
|
|
758
|
-
|
|
758
|
+
set InteractionPositiveResponse(speech: string | null);
|
|
759
759
|
/**
|
|
760
760
|
* duration in seconds, -1.0 = forever
|
|
761
761
|
*
|
|
@@ -766,7 +766,7 @@ export declare class Ped extends Entity {
|
|
|
766
766
|
/**
|
|
767
767
|
* @param p1
|
|
768
768
|
*/
|
|
769
|
-
|
|
769
|
+
set LadderMovementSpeedModifier(p1: number);
|
|
770
770
|
/**
|
|
771
771
|
* @returns
|
|
772
772
|
*/
|
|
@@ -778,7 +778,7 @@ export declare class Ped extends Entity {
|
|
|
778
778
|
/**
|
|
779
779
|
* @param unk
|
|
780
780
|
*/
|
|
781
|
-
|
|
781
|
+
set InjuredOnGroundBehaviour(unk: number);
|
|
782
782
|
/**
|
|
783
783
|
* @param targetPed
|
|
784
784
|
* @param p2
|
|
@@ -799,13 +799,13 @@ export declare class Ped extends Entity {
|
|
|
799
799
|
/**
|
|
800
800
|
* @param toggle
|
|
801
801
|
*/
|
|
802
|
-
|
|
802
|
+
set KeepTask(toggle: boolean);
|
|
803
803
|
/**
|
|
804
804
|
* Used in various R* MP & SP Scripts
|
|
805
805
|
*
|
|
806
806
|
* @param patternHash
|
|
807
807
|
*/
|
|
808
|
-
|
|
808
|
+
set FiringPattern(patternHash: string | number);
|
|
809
809
|
/**
|
|
810
810
|
* @param p1
|
|
811
811
|
* @param p2
|
|
@@ -815,18 +815,18 @@ export declare class Ped extends Entity {
|
|
|
815
815
|
/**
|
|
816
816
|
* @returns
|
|
817
817
|
*/
|
|
818
|
-
|
|
818
|
+
get IsClimbing(): boolean;
|
|
819
819
|
/**
|
|
820
820
|
* Params: shootRate = 0 - 1000
|
|
821
821
|
*
|
|
822
822
|
* @param shootRate
|
|
823
823
|
*/
|
|
824
|
-
|
|
824
|
+
set ShootRate(shootRate: number);
|
|
825
825
|
/**
|
|
826
826
|
* @param animal
|
|
827
827
|
* @returns
|
|
828
828
|
*/
|
|
829
|
-
isAnimalInteractionPossible(animal: Ped):
|
|
829
|
+
isAnimalInteractionPossible(animal: Ped): boolean;
|
|
830
830
|
/**
|
|
831
831
|
* Ped will no longer get angry when you stay near him.
|
|
832
832
|
*
|
|
@@ -845,7 +845,7 @@ export declare class Ped extends Entity {
|
|
|
845
845
|
*
|
|
846
846
|
* @returns
|
|
847
847
|
*/
|
|
848
|
-
|
|
848
|
+
get IsShooting(): boolean;
|
|
849
849
|
/**
|
|
850
850
|
* p1:
|
|
851
851
|
* BodyPartChained
|
|
@@ -924,7 +924,7 @@ export declare class Ped extends Entity {
|
|
|
924
924
|
/**
|
|
925
925
|
* @param toggle
|
|
926
926
|
*/
|
|
927
|
-
|
|
927
|
+
set CanPlayAmbientAnims(toggle: boolean);
|
|
928
928
|
resetWeaponMovementClipset(): void;
|
|
929
929
|
/**
|
|
930
930
|
* Only used in R* Script mob4 combined with SET_ANIMAL_TUNING_BOOL_PARAM
|
|
@@ -936,7 +936,7 @@ export declare class Ped extends Entity {
|
|
|
936
936
|
/**
|
|
937
937
|
* @returns
|
|
938
938
|
*/
|
|
939
|
-
|
|
939
|
+
get MaxHealth(): number;
|
|
940
940
|
/**
|
|
941
941
|
* Despite this function's name, it simply returns whether the specified handle is a Ped.
|
|
942
942
|
*
|
|
@@ -946,7 +946,7 @@ export declare class Ped extends Entity {
|
|
|
946
946
|
/**
|
|
947
947
|
* @param damageCleanliness Refer to [enum: ePedDamageCleanliness]
|
|
948
948
|
*/
|
|
949
|
-
|
|
949
|
+
set DamageCleanliness(damageCleanliness: number);
|
|
950
950
|
/**
|
|
951
951
|
* Returns:
|
|
952
952
|
* 0 - CTR_CANNOT_TARGET
|
|
@@ -983,7 +983,7 @@ export declare class Ped extends Entity {
|
|
|
983
983
|
/**
|
|
984
984
|
* @param toggle
|
|
985
985
|
*/
|
|
986
|
-
|
|
986
|
+
set CanRagdoll(toggle: boolean);
|
|
987
987
|
/**
|
|
988
988
|
* @param suboutfit
|
|
989
989
|
* @param p2
|
|
@@ -999,7 +999,7 @@ export declare class Ped extends Entity {
|
|
|
999
999
|
*
|
|
1000
1000
|
* @param toggle
|
|
1001
1001
|
*/
|
|
1002
|
-
|
|
1002
|
+
set CanBeLassoed(toggle: boolean);
|
|
1003
1003
|
/**
|
|
1004
1004
|
* _SET_PED_A*
|
|
1005
1005
|
*
|
|
@@ -1021,7 +1021,7 @@ export declare class Ped extends Entity {
|
|
|
1021
1021
|
/**
|
|
1022
1022
|
* @returns
|
|
1023
1023
|
*/
|
|
1024
|
-
|
|
1024
|
+
get VehicleIsUsing(): Vehicle | null;
|
|
1025
1025
|
/**
|
|
1026
1026
|
* @param target
|
|
1027
1027
|
* @returns
|
|
@@ -1036,7 +1036,7 @@ export declare class Ped extends Entity {
|
|
|
1036
1036
|
/**
|
|
1037
1037
|
* @returns
|
|
1038
1038
|
*/
|
|
1039
|
-
|
|
1039
|
+
get HealthRechargeMultiplier(): number;
|
|
1040
1040
|
/**
|
|
1041
1041
|
* @param p1
|
|
1042
1042
|
*/
|
|
@@ -1044,11 +1044,11 @@ export declare class Ped extends Entity {
|
|
|
1044
1044
|
/**
|
|
1045
1045
|
* @param modifier
|
|
1046
1046
|
*/
|
|
1047
|
-
|
|
1047
|
+
set CurrentDefenseAgainstPlayersModifier(modifier: number);
|
|
1048
1048
|
/**
|
|
1049
1049
|
* @returns
|
|
1050
1050
|
*/
|
|
1051
|
-
|
|
1051
|
+
get ToPlayerWeaponDamageModifier(): number;
|
|
1052
1052
|
/**
|
|
1053
1053
|
* See _REQUEST_PED_EMOTIONAL_PRESET
|
|
1054
1054
|
*
|
|
@@ -1076,12 +1076,12 @@ export declare class Ped extends Entity {
|
|
|
1076
1076
|
/**
|
|
1077
1077
|
* @param toggle
|
|
1078
1078
|
*/
|
|
1079
|
-
|
|
1079
|
+
set EnableBoundAnkles(toggle: boolean);
|
|
1080
1080
|
requestVisibilityTracking(): void;
|
|
1081
1081
|
/**
|
|
1082
1082
|
* @param duration
|
|
1083
1083
|
*/
|
|
1084
|
-
|
|
1084
|
+
set IncapacitationTotalBleedOutDuration(duration: number);
|
|
1085
1085
|
/**
|
|
1086
1086
|
* _IS_PED_B* - _IS_PED_C*
|
|
1087
1087
|
*
|
|
@@ -1091,20 +1091,20 @@ export declare class Ped extends Entity {
|
|
|
1091
1091
|
/**
|
|
1092
1092
|
* @returns
|
|
1093
1093
|
*/
|
|
1094
|
-
|
|
1094
|
+
get IdRange(): number;
|
|
1095
1095
|
/**
|
|
1096
1096
|
* @param groupId
|
|
1097
1097
|
* @returns
|
|
1098
1098
|
*/
|
|
1099
|
-
isGroupLeader(groupId: number):
|
|
1099
|
+
isGroupLeader(groupId: number): boolean;
|
|
1100
1100
|
/**
|
|
1101
1101
|
* @returns
|
|
1102
1102
|
*/
|
|
1103
|
-
|
|
1103
|
+
get IsSliding(): any;
|
|
1104
1104
|
/**
|
|
1105
1105
|
* @returns
|
|
1106
1106
|
*/
|
|
1107
|
-
|
|
1107
|
+
get JackTarget(): Ped | null;
|
|
1108
1108
|
/**
|
|
1109
1109
|
* @param p1
|
|
1110
1110
|
* @returns
|
|
@@ -1129,7 +1129,7 @@ export declare class Ped extends Entity {
|
|
|
1129
1129
|
/**
|
|
1130
1130
|
* @returns
|
|
1131
1131
|
*/
|
|
1132
|
-
|
|
1132
|
+
get IncapacitationHealth(): number;
|
|
1133
1133
|
/**
|
|
1134
1134
|
* @param targetPed
|
|
1135
1135
|
*/
|
|
@@ -1163,11 +1163,11 @@ export declare class Ped extends Entity {
|
|
|
1163
1163
|
/**
|
|
1164
1164
|
* @param p1
|
|
1165
1165
|
*/
|
|
1166
|
-
|
|
1166
|
+
set RandomOutfitVariation(p1: boolean);
|
|
1167
1167
|
/**
|
|
1168
1168
|
* @returns
|
|
1169
1169
|
*/
|
|
1170
|
-
|
|
1170
|
+
get IsGrappling(): any;
|
|
1171
1171
|
/**
|
|
1172
1172
|
* @param pos
|
|
1173
1173
|
* @param lookIntensity Refer to [enum: eLookIntensity]
|
|
@@ -1177,11 +1177,11 @@ export declare class Ped extends Entity {
|
|
|
1177
1177
|
/**
|
|
1178
1178
|
* @returns
|
|
1179
1179
|
*/
|
|
1180
|
-
|
|
1180
|
+
get IsOnMount(): boolean;
|
|
1181
1181
|
/**
|
|
1182
1182
|
* @returns
|
|
1183
1183
|
*/
|
|
1184
|
-
|
|
1184
|
+
get LastVehicleDraftHorseWasAttachedTo(): Vehicle | null;
|
|
1185
1185
|
/**
|
|
1186
1186
|
* Used in Script Function LA_CHECK_ALERTED
|
|
1187
1187
|
* *GET_IS_PED**
|
|
@@ -1201,7 +1201,7 @@ export declare class Ped extends Entity {
|
|
|
1201
1201
|
*
|
|
1202
1202
|
* @returns
|
|
1203
1203
|
*/
|
|
1204
|
-
|
|
1204
|
+
get IsUsingSlipstream(): any;
|
|
1205
1205
|
/**
|
|
1206
1206
|
* @param peltId
|
|
1207
1207
|
*/
|
|
@@ -1243,7 +1243,7 @@ export declare class Ped extends Entity {
|
|
|
1243
1243
|
/**
|
|
1244
1244
|
* @returns
|
|
1245
1245
|
*/
|
|
1246
|
-
|
|
1246
|
+
get IsInAnyBoat(): boolean;
|
|
1247
1247
|
/**
|
|
1248
1248
|
* no bone = -1
|
|
1249
1249
|
*
|
|
@@ -1258,11 +1258,11 @@ export declare class Ped extends Entity {
|
|
|
1258
1258
|
/**
|
|
1259
1259
|
* @returns
|
|
1260
1260
|
*/
|
|
1261
|
-
|
|
1261
|
+
get Accuracy(): number;
|
|
1262
1262
|
/**
|
|
1263
1263
|
* @param toggle
|
|
1264
1264
|
*/
|
|
1265
|
-
|
|
1265
|
+
set DesiresGroup(toggle: boolean);
|
|
1266
1266
|
/**
|
|
1267
1267
|
* Gets the vehicle the specified Ped is in. If the Ped is not in a vehicle and includeLastVehicle is true, the vehicle they were last in is returned.
|
|
1268
1268
|
*
|
|
@@ -1305,7 +1305,7 @@ export declare class Ped extends Entity {
|
|
|
1305
1305
|
/**
|
|
1306
1306
|
* @param peltId
|
|
1307
1307
|
*/
|
|
1308
|
-
|
|
1308
|
+
set PeltForHorse(peltId: number);
|
|
1309
1309
|
/**
|
|
1310
1310
|
* Can be used to get a peds foliage raw height: variableName = FoliageHeight
|
|
1311
1311
|
*
|
|
@@ -1325,7 +1325,7 @@ export declare class Ped extends Entity {
|
|
|
1325
1325
|
/**
|
|
1326
1326
|
* @param modifier
|
|
1327
1327
|
*/
|
|
1328
|
-
|
|
1328
|
+
set AnimalDetectionModifier(modifier: number);
|
|
1329
1329
|
/**
|
|
1330
1330
|
* _SET_PLAYER_SN* - _SET_PLAYER_STAMINA*
|
|
1331
1331
|
*
|
|
@@ -1343,11 +1343,11 @@ export declare class Ped extends Entity {
|
|
|
1343
1343
|
*
|
|
1344
1344
|
* @param damageModifier
|
|
1345
1345
|
*/
|
|
1346
|
-
|
|
1346
|
+
set ToPlayerWeaponDamageModifier(damageModifier: number);
|
|
1347
1347
|
/**
|
|
1348
1348
|
* @param quality Refer to [enum: ePedQuality]
|
|
1349
1349
|
*/
|
|
1350
|
-
|
|
1350
|
+
set Quality(quality: number);
|
|
1351
1351
|
/**
|
|
1352
1352
|
* _IS_PED_H* - _IS_PED_I*
|
|
1353
1353
|
*
|
|
@@ -1377,7 +1377,7 @@ export declare class Ped extends Entity {
|
|
|
1377
1377
|
*
|
|
1378
1378
|
* @param value
|
|
1379
1379
|
*/
|
|
1380
|
-
|
|
1380
|
+
set MaxHealth(value: number);
|
|
1381
1381
|
/**
|
|
1382
1382
|
* @param volume
|
|
1383
1383
|
* @param p2
|
|
@@ -1388,7 +1388,7 @@ export declare class Ped extends Entity {
|
|
|
1388
1388
|
/**
|
|
1389
1389
|
* @param multiplier
|
|
1390
1390
|
*/
|
|
1391
|
-
|
|
1391
|
+
set HealthRechargeMultiplier(multiplier: number);
|
|
1392
1392
|
/**
|
|
1393
1393
|
* Note: you have to update your ped's variation after calling (using 0xCC8CA3E88256E58F) Body Types:
|
|
1394
1394
|
* MPCREATOR_NEUTRAL
|
|
@@ -1431,7 +1431,7 @@ export declare class Ped extends Entity {
|
|
|
1431
1431
|
/**
|
|
1432
1432
|
* @returns
|
|
1433
1433
|
*/
|
|
1434
|
-
|
|
1434
|
+
get IsHogtied(): boolean;
|
|
1435
1435
|
fadeAndDestroyPed(): void;
|
|
1436
1436
|
/**
|
|
1437
1437
|
* @param p1
|
|
@@ -1451,20 +1451,20 @@ export declare class Ped extends Entity {
|
|
|
1451
1451
|
*
|
|
1452
1452
|
* @param toggle
|
|
1453
1453
|
*/
|
|
1454
|
-
|
|
1454
|
+
set MountSecurityEnabled(toggle: boolean);
|
|
1455
1455
|
/**
|
|
1456
1456
|
* Disables being able to kick move ped.
|
|
1457
1457
|
*
|
|
1458
1458
|
* @param disable
|
|
1459
1459
|
*/
|
|
1460
|
-
|
|
1460
|
+
set DisableKickMove(disable: boolean);
|
|
1461
1461
|
/**
|
|
1462
1462
|
* personality (script_mp_rel): NONE, AGGRESSIVE, TIMID (non-aggressive), CRIPPS, SCRIPTEDINTIMIDATION, MAGGIE, MARCEL, SCRIPTEDSALOON
|
|
1463
1463
|
* personality (script_rel): AVOID, SCRIPTEDOUTLAW, TIMIDGUARDDOG, SCRIPTEDTIMIDROB, AGGRESSIVECAMPER, LAZYDOG, KIERANTIEDUP, SCRIPTEDGALA
|
|
1464
1464
|
*
|
|
1465
1465
|
* @param personality
|
|
1466
1466
|
*/
|
|
1467
|
-
|
|
1467
|
+
set InteractionPersonality(personality: string | number);
|
|
1468
1468
|
/**
|
|
1469
1469
|
* *SET_PED_COMBAT**
|
|
1470
1470
|
*
|
|
@@ -1482,38 +1482,38 @@ export declare class Ped extends Entity {
|
|
|
1482
1482
|
/**
|
|
1483
1483
|
* @param toggle
|
|
1484
1484
|
*/
|
|
1485
|
-
|
|
1485
|
+
set ToDisableRagdoll(toggle: boolean);
|
|
1486
1486
|
/**
|
|
1487
1487
|
* @returns
|
|
1488
1488
|
*/
|
|
1489
|
-
|
|
1489
|
+
get SeatIsUsing(): number;
|
|
1490
1490
|
/**
|
|
1491
1491
|
* Returns true/false if the ped is/isn't male.
|
|
1492
1492
|
*
|
|
1493
1493
|
* @returns
|
|
1494
1494
|
*/
|
|
1495
|
-
|
|
1495
|
+
get IsMale(): boolean;
|
|
1496
1496
|
/**
|
|
1497
1497
|
* @returns
|
|
1498
1498
|
*/
|
|
1499
|
-
|
|
1499
|
+
get LastDroppedHat(): Prop | null;
|
|
1500
1500
|
/**
|
|
1501
1501
|
* Equivalent to IS_PED_USING_SCENARIO from V but takes a hash instead of a string.
|
|
1502
1502
|
*
|
|
1503
1503
|
* @param scenarioHash
|
|
1504
1504
|
* @returns
|
|
1505
1505
|
*/
|
|
1506
|
-
isUsingScenarioHash(scenarioHash: string | number):
|
|
1506
|
+
isUsingScenarioHash(scenarioHash: string | number): boolean;
|
|
1507
1507
|
/**
|
|
1508
1508
|
* Sets ped eye redness, weariness: 0.f to 1.f
|
|
1509
1509
|
*
|
|
1510
1510
|
* @param weariness
|
|
1511
1511
|
*/
|
|
1512
|
-
|
|
1512
|
+
set MetaWeariness(weariness: number);
|
|
1513
1513
|
/**
|
|
1514
1514
|
* @returns
|
|
1515
1515
|
*/
|
|
1516
|
-
|
|
1516
|
+
get Height(): number;
|
|
1517
1517
|
/**
|
|
1518
1518
|
* Only used in R* SP Scripts
|
|
1519
1519
|
* _GET_PED_IN*
|
|
@@ -1538,7 +1538,7 @@ export declare class Ped extends Entity {
|
|
|
1538
1538
|
*
|
|
1539
1539
|
* @param p1
|
|
1540
1540
|
*/
|
|
1541
|
-
|
|
1541
|
+
set ClothPinFrames(p1: boolean);
|
|
1542
1542
|
/**
|
|
1543
1543
|
* Params: p1 either a 1 or 0, so perhaps BOOL
|
|
1544
1544
|
* _SET_PED_A*
|
|
@@ -1556,11 +1556,11 @@ export declare class Ped extends Entity {
|
|
|
1556
1556
|
/**
|
|
1557
1557
|
* @returns
|
|
1558
1558
|
*/
|
|
1559
|
-
|
|
1559
|
+
get IsBeingJacked(): boolean;
|
|
1560
1560
|
/**
|
|
1561
1561
|
* @returns
|
|
1562
1562
|
*/
|
|
1563
|
-
|
|
1563
|
+
get TimeOfDeath(): number;
|
|
1564
1564
|
/**
|
|
1565
1565
|
* _SET_H* - _SET_I*
|
|
1566
1566
|
*
|
|
@@ -1570,17 +1570,17 @@ export declare class Ped extends Entity {
|
|
|
1570
1570
|
/**
|
|
1571
1571
|
* @returns
|
|
1572
1572
|
*/
|
|
1573
|
-
|
|
1573
|
+
get LodMultiplier(): number;
|
|
1574
1574
|
/**
|
|
1575
1575
|
* Used in R* MP Script fm_mission_controller and various R* SP Scripts for ambush*
|
|
1576
1576
|
*
|
|
1577
1577
|
* @param patternHash
|
|
1578
1578
|
*/
|
|
1579
|
-
|
|
1579
|
+
set FiringPattern2(patternHash: string | number);
|
|
1580
1580
|
/**
|
|
1581
1581
|
* @returns outBone
|
|
1582
1582
|
*/
|
|
1583
|
-
|
|
1583
|
+
get LastDamageBone(): [boolean, number];
|
|
1584
1584
|
/**
|
|
1585
1585
|
* @param variableName
|
|
1586
1586
|
*/
|
|
@@ -1591,11 +1591,11 @@ export declare class Ped extends Entity {
|
|
|
1591
1591
|
*
|
|
1592
1592
|
* @param toggle
|
|
1593
1593
|
*/
|
|
1594
|
-
|
|
1594
|
+
set AsCop(toggle: boolean);
|
|
1595
1595
|
/**
|
|
1596
1596
|
* @param value
|
|
1597
1597
|
*/
|
|
1598
|
-
|
|
1598
|
+
set IdRange(value: number);
|
|
1599
1599
|
/**
|
|
1600
1600
|
* @param groupId
|
|
1601
1601
|
* @param p2
|
|
@@ -1613,11 +1613,11 @@ export declare class Ped extends Entity {
|
|
|
1613
1613
|
/**
|
|
1614
1614
|
* @param bEnableIK
|
|
1615
1615
|
*/
|
|
1616
|
-
|
|
1616
|
+
set CanBodyRecoilIk(bEnableIK: boolean);
|
|
1617
1617
|
/**
|
|
1618
1618
|
* @returns
|
|
1619
1619
|
*/
|
|
1620
|
-
|
|
1620
|
+
get LastMount(): Ped | null;
|
|
1621
1621
|
/**
|
|
1622
1622
|
* Changes health bar around heart core icon
|
|
1623
1623
|
* INITIALISE_NEW_ROLE - Applying Super Jump buffs: p1 = 10, p2 = 0.0f
|
|
@@ -1631,7 +1631,7 @@ export declare class Ped extends Entity {
|
|
|
1631
1631
|
/**
|
|
1632
1632
|
* @returns
|
|
1633
1633
|
*/
|
|
1634
|
-
|
|
1634
|
+
get RelationshipGroupHash(): number;
|
|
1635
1635
|
/**
|
|
1636
1636
|
* @param team
|
|
1637
1637
|
* @param toggle
|
|
@@ -1651,11 +1651,11 @@ export declare class Ped extends Entity {
|
|
|
1651
1651
|
/**
|
|
1652
1652
|
* @param multiplier
|
|
1653
1653
|
*/
|
|
1654
|
-
|
|
1654
|
+
set LodMultiplier(multiplier: number);
|
|
1655
1655
|
/**
|
|
1656
1656
|
* @returns
|
|
1657
1657
|
*/
|
|
1658
|
-
|
|
1658
|
+
get IsIntimidated(): any;
|
|
1659
1659
|
/**
|
|
1660
1660
|
* eventType: https://alloc8or.re/rdr3/doc/enums/eEventType.txt
|
|
1661
1661
|
*
|
|
@@ -1675,15 +1675,15 @@ export declare class Ped extends Entity {
|
|
|
1675
1675
|
/**
|
|
1676
1676
|
* @returns
|
|
1677
1677
|
*/
|
|
1678
|
-
|
|
1678
|
+
get IsSitting(): boolean;
|
|
1679
1679
|
/**
|
|
1680
1680
|
* @returns
|
|
1681
1681
|
*/
|
|
1682
|
-
|
|
1682
|
+
get NumComponentsInPed(): number;
|
|
1683
1683
|
/**
|
|
1684
1684
|
* @returns
|
|
1685
1685
|
*/
|
|
1686
|
-
|
|
1686
|
+
get IsSwimmingUnderWater(): boolean;
|
|
1687
1687
|
/**
|
|
1688
1688
|
* _SET_PED_T* - SET_PED_U*
|
|
1689
1689
|
*
|
|
@@ -1694,11 +1694,11 @@ export declare class Ped extends Entity {
|
|
|
1694
1694
|
/**
|
|
1695
1695
|
* @returns
|
|
1696
1696
|
*/
|
|
1697
|
-
|
|
1697
|
+
get CombatRange(): ePedCombatRange;
|
|
1698
1698
|
/**
|
|
1699
1699
|
* @param grappleAction
|
|
1700
1700
|
*/
|
|
1701
|
-
|
|
1701
|
+
set GrappleAction(grappleAction: string | number);
|
|
1702
1702
|
/**
|
|
1703
1703
|
* *RESET_PED**
|
|
1704
1704
|
*
|
|
@@ -1731,11 +1731,11 @@ export declare class Ped extends Entity {
|
|
|
1731
1731
|
/**
|
|
1732
1732
|
* @returns
|
|
1733
1733
|
*/
|
|
1734
|
-
|
|
1734
|
+
get IsReadyToRender(): boolean;
|
|
1735
1735
|
/**
|
|
1736
1736
|
* @param value
|
|
1737
1737
|
*/
|
|
1738
|
-
|
|
1738
|
+
set SeeingRange(value: number);
|
|
1739
1739
|
/**
|
|
1740
1740
|
* Copies ped's components and props to targetPed.
|
|
1741
1741
|
* Can be used to clear anything from a ped by cloning it, including bullet holes.
|
|
@@ -1758,7 +1758,7 @@ export declare class Ped extends Entity {
|
|
|
1758
1758
|
*
|
|
1759
1759
|
* @returns
|
|
1760
1760
|
*/
|
|
1761
|
-
|
|
1761
|
+
get NumComponentCategoriesInPed(): number;
|
|
1762
1762
|
disableInjuredOnGroundBehaviour(): void;
|
|
1763
1763
|
/**
|
|
1764
1764
|
* @param pos
|
|
@@ -1777,7 +1777,7 @@ export declare class Ped extends Entity {
|
|
|
1777
1777
|
/**
|
|
1778
1778
|
* @param toggle
|
|
1779
1779
|
*/
|
|
1780
|
-
|
|
1780
|
+
set CanHeadIk(toggle: boolean);
|
|
1781
1781
|
/**
|
|
1782
1782
|
* *GET_IS_PED*(BLEEDING_OUT?)*
|
|
1783
1783
|
*
|
|
@@ -1796,7 +1796,7 @@ export declare class Ped extends Entity {
|
|
|
1796
1796
|
/**
|
|
1797
1797
|
* @returns
|
|
1798
1798
|
*/
|
|
1799
|
-
|
|
1799
|
+
get IsBeingStealthKilled(): boolean;
|
|
1800
1800
|
/**
|
|
1801
1801
|
* *CLEAR_PED_COMBAT**
|
|
1802
1802
|
*
|
|
@@ -1809,7 +1809,7 @@ export declare class Ped extends Entity {
|
|
|
1809
1809
|
*
|
|
1810
1810
|
* @param toggle
|
|
1811
1811
|
*/
|
|
1812
|
-
|
|
1812
|
+
set ImmersionFlag(toggle: boolean);
|
|
1813
1813
|
/**
|
|
1814
1814
|
* normalized / non normalized
|
|
1815
1815
|
* 0.0 / 1000.0 STARTED IN WRITHE STAGE
|
|
@@ -1837,18 +1837,18 @@ export declare class Ped extends Entity {
|
|
|
1837
1837
|
/**
|
|
1838
1838
|
* @returns
|
|
1839
1839
|
*/
|
|
1840
|
-
|
|
1840
|
+
get GrappleStyle(): number;
|
|
1841
1841
|
N_0x2371C39D4F91C288(): void;
|
|
1842
1842
|
/**
|
|
1843
1843
|
* @returns
|
|
1844
1844
|
*/
|
|
1845
|
-
|
|
1845
|
+
get IsDrunk(): any;
|
|
1846
1846
|
/**
|
|
1847
1847
|
* It adds the wetness level to the player clothing/outfit. As if player just got out from water surface.
|
|
1848
1848
|
*
|
|
1849
1849
|
* @param height
|
|
1850
1850
|
*/
|
|
1851
|
-
|
|
1851
|
+
set WetnessHeight(height: number);
|
|
1852
1852
|
/**
|
|
1853
1853
|
* @param p1
|
|
1854
1854
|
*/
|
|
@@ -1859,7 +1859,7 @@ export declare class Ped extends Entity {
|
|
|
1859
1859
|
*
|
|
1860
1860
|
* @returns
|
|
1861
1861
|
*/
|
|
1862
|
-
|
|
1862
|
+
get IsMetaFish(): any;
|
|
1863
1863
|
/**
|
|
1864
1864
|
* @param enabled
|
|
1865
1865
|
*/
|
|
@@ -1877,7 +1877,7 @@ export declare class Ped extends Entity {
|
|
|
1877
1877
|
*
|
|
1878
1878
|
* @returns
|
|
1879
1879
|
*/
|
|
1880
|
-
|
|
1880
|
+
get StaminaNormalized(): number;
|
|
1881
1881
|
/**
|
|
1882
1882
|
* state:
|
|
1883
1883
|
* enum eKnockOffVehicle
|
|
@@ -1890,11 +1890,11 @@ export declare class Ped extends Entity {
|
|
|
1890
1890
|
*
|
|
1891
1891
|
* @param state
|
|
1892
1892
|
*/
|
|
1893
|
-
|
|
1893
|
+
set CanBeKnockedOffVehicle(state: number);
|
|
1894
1894
|
/**
|
|
1895
1895
|
* @param healthAmount
|
|
1896
1896
|
*/
|
|
1897
|
-
|
|
1897
|
+
set MinHealthThreshold(healthAmount: number);
|
|
1898
1898
|
/**
|
|
1899
1899
|
* _GET_PED_B* - _GET_PED_C*
|
|
1900
1900
|
*
|
|
@@ -1904,7 +1904,7 @@ export declare class Ped extends Entity {
|
|
|
1904
1904
|
/**
|
|
1905
1905
|
* @returns
|
|
1906
1906
|
*/
|
|
1907
|
-
|
|
1907
|
+
get LootingPickupTargetEntity(): Entity | null;
|
|
1908
1908
|
/**
|
|
1909
1909
|
* _TOGGLE_S* - *UPDATE**
|
|
1910
1910
|
*
|
|
@@ -1960,7 +1960,7 @@ export declare class Ped extends Entity {
|
|
|
1960
1960
|
*
|
|
1961
1961
|
* @returns
|
|
1962
1962
|
*/
|
|
1963
|
-
|
|
1963
|
+
get IsOpeningDoor(): boolean;
|
|
1964
1964
|
/**
|
|
1965
1965
|
* _SET_PED_O*
|
|
1966
1966
|
*
|
|
@@ -1972,7 +1972,7 @@ export declare class Ped extends Entity {
|
|
|
1972
1972
|
*
|
|
1973
1973
|
* @param toggle
|
|
1974
1974
|
*/
|
|
1975
|
-
|
|
1975
|
+
set CanBeIncapacitated(toggle: boolean);
|
|
1976
1976
|
/**
|
|
1977
1977
|
* @param player
|
|
1978
1978
|
* @returns
|
|
@@ -1981,7 +1981,7 @@ export declare class Ped extends Entity {
|
|
|
1981
1981
|
/**
|
|
1982
1982
|
* @param hash
|
|
1983
1983
|
*/
|
|
1984
|
-
|
|
1984
|
+
set RelationshipGroupDefaultHash(hash: string | number);
|
|
1985
1985
|
/**
|
|
1986
1986
|
* _GET_PED_D*
|
|
1987
1987
|
*
|
|
@@ -2000,7 +2000,7 @@ export declare class Ped extends Entity {
|
|
|
2000
2000
|
*
|
|
2001
2001
|
* @returns
|
|
2002
2002
|
*/
|
|
2003
|
-
|
|
2003
|
+
get IsReloading(): boolean;
|
|
2004
2004
|
/**
|
|
2005
2005
|
* NB_CUSTOM_CLIENT_ON_CREATE_COMPLETE - set legendary to not avoid prey
|
|
2006
2006
|
*
|
|
@@ -2021,7 +2021,7 @@ export declare class Ped extends Entity {
|
|
|
2021
2021
|
/**
|
|
2022
2022
|
* @returns
|
|
2023
2023
|
*/
|
|
2024
|
-
|
|
2024
|
+
get IsUsingActionMode(): boolean;
|
|
2025
2025
|
/**
|
|
2026
2026
|
* @param p1
|
|
2027
2027
|
* @returns
|
|
@@ -2030,15 +2030,15 @@ export declare class Ped extends Entity {
|
|
|
2030
2030
|
/**
|
|
2031
2031
|
* @param toggle
|
|
2032
2032
|
*/
|
|
2033
|
-
|
|
2033
|
+
set CanTorsoIk(toggle: boolean);
|
|
2034
2034
|
/**
|
|
2035
2035
|
* @returns
|
|
2036
2036
|
*/
|
|
2037
|
-
|
|
2037
|
+
get Tranquilizer(): Ped | null;
|
|
2038
2038
|
/**
|
|
2039
2039
|
* @returns
|
|
2040
2040
|
*/
|
|
2041
|
-
|
|
2041
|
+
get InteractionPersonality(): number;
|
|
2042
2042
|
/**
|
|
2043
2043
|
* *SET_PED*(A?)*
|
|
2044
2044
|
*
|
|
@@ -2073,7 +2073,7 @@ export declare class Ped extends Entity {
|
|
|
2073
2073
|
*
|
|
2074
2074
|
* @returns
|
|
2075
2075
|
*/
|
|
2076
|
-
|
|
2076
|
+
get IsHuman(): boolean;
|
|
2077
2077
|
/**
|
|
2078
2078
|
* @param p1
|
|
2079
2079
|
* @param p2
|
|
@@ -2083,7 +2083,7 @@ export declare class Ped extends Entity {
|
|
|
2083
2083
|
/**
|
|
2084
2084
|
* @returns
|
|
2085
2085
|
*/
|
|
2086
|
-
|
|
2086
|
+
get IsGoingIntoCover(): boolean;
|
|
2087
2087
|
setShouldPlayImmediateScenarioExit(): void;
|
|
2088
2088
|
/**
|
|
2089
2089
|
* @param variableName
|
|
@@ -2103,7 +2103,7 @@ export declare class Ped extends Entity {
|
|
|
2103
2103
|
/**
|
|
2104
2104
|
* @returns
|
|
2105
2105
|
*/
|
|
2106
|
-
|
|
2106
|
+
get VehicleDraftHorseIsAttachedTo(): Vehicle | null;
|
|
2107
2107
|
/**
|
|
2108
2108
|
* This is a way to get what drawables a ped has equipped
|
|
2109
2109
|
* Example: you are able to tell if the ped has the drawable PLAYER_ZERO_HAT_017 attached
|
|
@@ -2171,7 +2171,7 @@ export declare class Ped extends Entity {
|
|
|
2171
2171
|
*
|
|
2172
2172
|
* @param brawlingStyle
|
|
2173
2173
|
*/
|
|
2174
|
-
|
|
2174
|
+
set BrawlingStyle(brawlingStyle: string | number);
|
|
2175
2175
|
/**
|
|
2176
2176
|
* You can also get the entity being carried and the entity it was taken from with a buffer on `ents`. Status:
|
|
2177
2177
|
* INVALID = 0,
|
|
@@ -2215,7 +2215,7 @@ export declare class Ped extends Entity {
|
|
|
2215
2215
|
/**
|
|
2216
2216
|
* @returns
|
|
2217
2217
|
*/
|
|
2218
|
-
|
|
2218
|
+
get IsInAnyPlane(): boolean;
|
|
2219
2219
|
/**
|
|
2220
2220
|
* @param modelHash
|
|
2221
2221
|
* @returns
|
|
@@ -2224,7 +2224,7 @@ export declare class Ped extends Entity {
|
|
|
2224
2224
|
/**
|
|
2225
2225
|
* @returns
|
|
2226
2226
|
*/
|
|
2227
|
-
|
|
2227
|
+
get IsInGroup(): boolean;
|
|
2228
2228
|
/**
|
|
2229
2229
|
* For more information, see common:/data/emotional_presets.meta
|
|
2230
2230
|
*
|
|
@@ -2240,11 +2240,11 @@ export declare class Ped extends Entity {
|
|
|
2240
2240
|
/**
|
|
2241
2241
|
* @returns
|
|
2242
2242
|
*/
|
|
2243
|
-
|
|
2243
|
+
get AccuracyAgainstLocalPlayerModifier(): number;
|
|
2244
2244
|
/**
|
|
2245
2245
|
* @returns
|
|
2246
2246
|
*/
|
|
2247
|
-
|
|
2247
|
+
get NumMetaOutfits(): number;
|
|
2248
2248
|
N_0x2D976DBDC731DF80(): void;
|
|
2249
2249
|
/**
|
|
2250
2250
|
* Hashes: GS_DRAGGING, GS_FACE_TO_BACK, GS_FACE_TO_FACE, GS_FACE_TO_FACE_WALL, GS_MOUNTED
|
|
@@ -2272,11 +2272,11 @@ export declare class Ped extends Entity {
|
|
|
2272
2272
|
/**
|
|
2273
2273
|
* @returns
|
|
2274
2274
|
*/
|
|
2275
|
-
|
|
2275
|
+
get RelationshipGroupDefaultHash(): number;
|
|
2276
2276
|
/**
|
|
2277
2277
|
* @param groupId
|
|
2278
2278
|
*/
|
|
2279
|
-
|
|
2279
|
+
set AsGroupMember(groupId: number);
|
|
2280
2280
|
/**
|
|
2281
2281
|
* _SET_HO*
|
|
2282
2282
|
*
|
|
@@ -2286,7 +2286,7 @@ export declare class Ped extends Entity {
|
|
|
2286
2286
|
/**
|
|
2287
2287
|
* @returns
|
|
2288
2288
|
*/
|
|
2289
|
-
|
|
2289
|
+
get Grappler(): Ped | null;
|
|
2290
2290
|
/**
|
|
2291
2291
|
* @param variableName
|
|
2292
2292
|
* @returns
|
|
@@ -2309,11 +2309,11 @@ export declare class Ped extends Entity {
|
|
|
2309
2309
|
/**
|
|
2310
2310
|
* @param toggle
|
|
2311
2311
|
*/
|
|
2312
|
-
|
|
2312
|
+
set PauseWritheBleedout(toggle: boolean);
|
|
2313
2313
|
/**
|
|
2314
2314
|
* @returns
|
|
2315
2315
|
*/
|
|
2316
|
-
|
|
2316
|
+
get IsRespondingToThreat(): boolean;
|
|
2317
2317
|
/**
|
|
2318
2318
|
* @param metapedType
|
|
2319
2319
|
* @param p2
|
|
@@ -2329,11 +2329,11 @@ export declare class Ped extends Entity {
|
|
|
2329
2329
|
/**
|
|
2330
2330
|
* @param value
|
|
2331
2331
|
*/
|
|
2332
|
-
|
|
2332
|
+
set HearingRange(value: number);
|
|
2333
2333
|
/**
|
|
2334
2334
|
* @param relationshipGroup
|
|
2335
2335
|
*/
|
|
2336
|
-
|
|
2336
|
+
set RelationshipGroupHash(relationshipGroup: string | number);
|
|
2337
2337
|
/**
|
|
2338
2338
|
* @param pos
|
|
2339
2339
|
* @param radius
|
|
@@ -2349,13 +2349,13 @@ export declare class Ped extends Entity {
|
|
|
2349
2349
|
/**
|
|
2350
2350
|
* @param sweat
|
|
2351
2351
|
*/
|
|
2352
|
-
|
|
2352
|
+
set Sweat(sweat: number);
|
|
2353
2353
|
/**
|
|
2354
2354
|
* Returns the entity that killed the ped It is best to check if the Ped is dead before asking for its killer.
|
|
2355
2355
|
*
|
|
2356
2356
|
* @returns
|
|
2357
2357
|
*/
|
|
2358
|
-
|
|
2358
|
+
get SourceOfDeath(): Entity | null;
|
|
2359
2359
|
/**
|
|
2360
2360
|
* Only used in SP R* Script train_robbery3: p1 = CLIPSET@VEH_TRAIN@HANDCART@BASE_PANIC & CLIPSET@VEH_TRAIN@HANDCART@BASE_PANIC_JOHN
|
|
2361
2361
|
*
|
|
@@ -2385,7 +2385,7 @@ export declare class Ped extends Entity {
|
|
|
2385
2385
|
/**
|
|
2386
2386
|
* @param value
|
|
2387
2387
|
*/
|
|
2388
|
-
|
|
2388
|
+
set VisualFieldMinAngle(value: number);
|
|
2389
2389
|
/**
|
|
2390
2390
|
* _SET_PED_IN*
|
|
2391
2391
|
*
|
|
@@ -2399,7 +2399,7 @@ export declare class Ped extends Entity {
|
|
|
2399
2399
|
/**
|
|
2400
2400
|
* @returns
|
|
2401
2401
|
*/
|
|
2402
|
-
|
|
2402
|
+
get IsFalling(): boolean;
|
|
2403
2403
|
/**
|
|
2404
2404
|
* @param flags Refer to [enum: eRagdollBlockingFlags]
|
|
2405
2405
|
*/
|
|
@@ -2407,7 +2407,7 @@ export declare class Ped extends Entity {
|
|
|
2407
2407
|
/**
|
|
2408
2408
|
* @returns
|
|
2409
2409
|
*/
|
|
2410
|
-
|
|
2410
|
+
get IsLassoed(): boolean;
|
|
2411
2411
|
/**
|
|
2412
2412
|
* @param object
|
|
2413
2413
|
* @param p2
|
|
@@ -2428,14 +2428,14 @@ export declare class Ped extends Entity {
|
|
|
2428
2428
|
*
|
|
2429
2429
|
* @param patternHash
|
|
2430
2430
|
*/
|
|
2431
|
-
|
|
2431
|
+
set FiringPattern3(patternHash: string | number);
|
|
2432
2432
|
/**
|
|
2433
2433
|
* Hashes: STANDARD_PED_AGRO_GUARD, BOUNTY_HUNTER, PLAYER_HORSE, LAW_POLICE, GUARD_DOG, ATTACK_DOG
|
|
2434
2434
|
* Personalities can also be found in common:/data/ai/interactionpersonalities
|
|
2435
2435
|
*
|
|
2436
2436
|
* @param personality
|
|
2437
2437
|
*/
|
|
2438
|
-
|
|
2438
|
+
set Personality(personality: string | number);
|
|
2439
2439
|
/**
|
|
2440
2440
|
* Triggers a gunshot
|
|
2441
2441
|
* Params: p5 = -1 in R* Scripts
|
|
@@ -2464,15 +2464,15 @@ export declare class Ped extends Entity {
|
|
|
2464
2464
|
/**
|
|
2465
2465
|
* @returns
|
|
2466
2466
|
*/
|
|
2467
|
-
|
|
2467
|
+
get IsUsingAnyScenario(): boolean;
|
|
2468
2468
|
/**
|
|
2469
2469
|
* @param amount
|
|
2470
2470
|
*/
|
|
2471
|
-
|
|
2471
|
+
set Money(amount: number);
|
|
2472
2472
|
/**
|
|
2473
2473
|
* @returns
|
|
2474
2474
|
*/
|
|
2475
|
-
|
|
2475
|
+
get Stamina(): number;
|
|
2476
2476
|
/**
|
|
2477
2477
|
* Not implemented.
|
|
2478
2478
|
*
|
|
@@ -2506,7 +2506,7 @@ export declare class Ped extends Entity {
|
|
|
2506
2506
|
*
|
|
2507
2507
|
* @param bonus
|
|
2508
2508
|
*/
|
|
2509
|
-
|
|
2509
|
+
set TotalDamageFalloffBonus(bonus: number);
|
|
2510
2510
|
/**
|
|
2511
2511
|
* Old name: _SET_PED_SHOULD_PLAY_DIRECTED_SCENARIO_EXIT
|
|
2512
2512
|
*
|
|
@@ -2519,7 +2519,7 @@ export declare class Ped extends Entity {
|
|
|
2519
2519
|
*
|
|
2520
2520
|
* @param memoryType
|
|
2521
2521
|
*/
|
|
2522
|
-
|
|
2522
|
+
set SimplePlayerMemory(memoryType: number);
|
|
2523
2523
|
/**
|
|
2524
2524
|
* something to do with speech lines?
|
|
2525
2525
|
* some hashs MAR2_RIDE1, MAR2_RIDE1, RBCH1_RIDE1, SAD5_RIDE1
|
|
@@ -2531,11 +2531,11 @@ export declare class Ped extends Entity {
|
|
|
2531
2531
|
/**
|
|
2532
2532
|
* @returns
|
|
2533
2533
|
*/
|
|
2534
|
-
|
|
2534
|
+
get ActiveAnimalOwner(): Ped | null;
|
|
2535
2535
|
/**
|
|
2536
2536
|
* @returns
|
|
2537
2537
|
*/
|
|
2538
|
-
|
|
2538
|
+
get Type(): number;
|
|
2539
2539
|
/**
|
|
2540
2540
|
* Only used in SP R* Script rcm_jack2
|
|
2541
2541
|
*
|
|
@@ -2551,7 +2551,7 @@ export declare class Ped extends Entity {
|
|
|
2551
2551
|
*
|
|
2552
2552
|
* @returns
|
|
2553
2553
|
*/
|
|
2554
|
-
|
|
2554
|
+
get LassoerOfPed(): Entity | null;
|
|
2555
2555
|
/**
|
|
2556
2556
|
* Only used in SP R* Script winter1: p1 = Winter1Mount
|
|
2557
2557
|
*
|
|
@@ -2561,21 +2561,21 @@ export declare class Ped extends Entity {
|
|
|
2561
2561
|
/**
|
|
2562
2562
|
* @returns
|
|
2563
2563
|
*/
|
|
2564
|
-
|
|
2564
|
+
get CrouchMovement(): any;
|
|
2565
2565
|
/**
|
|
2566
2566
|
* @returns
|
|
2567
2567
|
*/
|
|
2568
|
-
|
|
2568
|
+
get IsRunningMobilePhoneTask(): boolean;
|
|
2569
2569
|
/**
|
|
2570
2570
|
* @returns
|
|
2571
2571
|
*/
|
|
2572
|
-
|
|
2572
|
+
get IsInCoverFacingLeft(): boolean;
|
|
2573
2573
|
/**
|
|
2574
2574
|
* accuracy = 0-100, 100 being perfectly accurate
|
|
2575
2575
|
*
|
|
2576
2576
|
* @param accuracy
|
|
2577
2577
|
*/
|
|
2578
|
-
|
|
2578
|
+
set Accuracy(accuracy: number);
|
|
2579
2579
|
/**
|
|
2580
2580
|
* _IS_PED_S* - _IS_PED_U*
|
|
2581
2581
|
*
|
|
@@ -2597,15 +2597,15 @@ export declare class Ped extends Entity {
|
|
|
2597
2597
|
/**
|
|
2598
2598
|
* @param multiplier
|
|
2599
2599
|
*/
|
|
2600
|
-
|
|
2600
|
+
set HeadshotDamageMultiplier(multiplier: number);
|
|
2601
2601
|
/**
|
|
2602
2602
|
* @returns Returns `true` if the ped is in the water, or on a boat that is in the water.
|
|
2603
2603
|
*/
|
|
2604
|
-
|
|
2604
|
+
get IsAfloat(): boolean;
|
|
2605
2605
|
/**
|
|
2606
2606
|
* @returns
|
|
2607
2607
|
*/
|
|
2608
|
-
|
|
2608
|
+
get IsAPlayer(): boolean;
|
|
2609
2609
|
/**
|
|
2610
2610
|
* This function will simply bring the dead ped back to life. Before calling this function, you may want to declare the position, where your Resurrected ped to be spawn at because theres a chance the ped will fall through the map Also, disabling any assigned task immediately helped in the number of scenarios, where If you want peds to perform certain decided tasks.
|
|
2611
2611
|
*/
|
|
@@ -2615,11 +2615,11 @@ export declare class Ped extends Entity {
|
|
|
2615
2615
|
*
|
|
2616
2616
|
* @returns
|
|
2617
2617
|
*/
|
|
2618
|
-
|
|
2618
|
+
get NumReservedStamina(): number;
|
|
2619
2619
|
/**
|
|
2620
2620
|
* @returns
|
|
2621
2621
|
*/
|
|
2622
|
-
|
|
2622
|
+
get IsJacking(): boolean;
|
|
2623
2623
|
/**
|
|
2624
2624
|
* _SET_PED_IN*
|
|
2625
2625
|
*
|
|
@@ -2640,7 +2640,7 @@ export declare class Ped extends Entity {
|
|
|
2640
2640
|
/**
|
|
2641
2641
|
* @param gxtEntryHash
|
|
2642
2642
|
*/
|
|
2643
|
-
|
|
2643
|
+
set PromptNameFromGxtEntry2(gxtEntryHash: string | number);
|
|
2644
2644
|
/**
|
|
2645
2645
|
* Update variation on ped, needed after first creation, or when component or texture/overlay is changed
|
|
2646
2646
|
*
|
|
@@ -2740,7 +2740,7 @@ export declare class Ped extends Entity {
|
|
|
2740
2740
|
/**
|
|
2741
2741
|
* @returns
|
|
2742
2742
|
*/
|
|
2743
|
-
|
|
2743
|
+
get PedsJacker(): Ped | null;
|
|
2744
2744
|
/**
|
|
2745
2745
|
* Seems to set the ped's loco type.
|
|
2746
2746
|
* Values used in the scripts:
|
|
@@ -2771,7 +2771,7 @@ export declare class Ped extends Entity {
|
|
|
2771
2771
|
*
|
|
2772
2772
|
* @param locomotionArchetype
|
|
2773
2773
|
*/
|
|
2774
|
-
|
|
2774
|
+
set DesiredLocoForModel(locomotionArchetype: string | null);
|
|
2775
2775
|
/**
|
|
2776
2776
|
* @param player
|
|
2777
2777
|
* @returns
|
|
@@ -2799,7 +2799,7 @@ export declare class Ped extends Entity {
|
|
|
2799
2799
|
*
|
|
2800
2800
|
* @param amount How wet the ped should appear ranges from `0.0`-`1.0`
|
|
2801
2801
|
*/
|
|
2802
|
-
|
|
2802
|
+
set Wetness(amount: number);
|
|
2803
2803
|
/**
|
|
2804
2804
|
* _CLEAR_PED_M*
|
|
2805
2805
|
*
|
|
@@ -2817,7 +2817,7 @@ export declare class Ped extends Entity {
|
|
|
2817
2817
|
/**
|
|
2818
2818
|
* @returns Refer to [enum: ePedDamageCleanliness]
|
|
2819
2819
|
*/
|
|
2820
|
-
|
|
2820
|
+
get DamageCleanliness(): number;
|
|
2821
2821
|
/**
|
|
2822
2822
|
* Same as SET_PED_ARMOUR, but ADDS 'amount' to the armor the Ped already has.
|
|
2823
2823
|
*
|
|
@@ -2831,7 +2831,7 @@ export declare class Ped extends Entity {
|
|
|
2831
2831
|
*
|
|
2832
2832
|
* @param responseType
|
|
2833
2833
|
*/
|
|
2834
|
-
|
|
2834
|
+
set TargetLossResponse(responseType: number);
|
|
2835
2835
|
/**
|
|
2836
2836
|
* If returned true, SET_ENABLE_BOUND_ANKLES is called in R* Script guama2
|
|
2837
2837
|
* _GET_D* - _GET_E*
|
|
@@ -2843,15 +2843,15 @@ export declare class Ped extends Entity {
|
|
|
2843
2843
|
* @param p1
|
|
2844
2844
|
* @returns
|
|
2845
2845
|
*/
|
|
2846
|
-
isLocationSpawnSafe(p1: number):
|
|
2846
|
+
isLocationSpawnSafe(p1: number): boolean;
|
|
2847
2847
|
/**
|
|
2848
2848
|
* @param modifier
|
|
2849
2849
|
*/
|
|
2850
|
-
|
|
2850
|
+
set AccuracyAgainstLocalPlayerModifier(modifier: number);
|
|
2851
2851
|
/**
|
|
2852
2852
|
* @param speech
|
|
2853
2853
|
*/
|
|
2854
|
-
|
|
2854
|
+
set InteractionNegativeResponse(speech: string | null);
|
|
2855
2855
|
/**
|
|
2856
2856
|
* *CAN_PED**
|
|
2857
2857
|
*
|
|
@@ -2863,7 +2863,7 @@ export declare class Ped extends Entity {
|
|
|
2863
2863
|
/**
|
|
2864
2864
|
* @returns
|
|
2865
2865
|
*/
|
|
2866
|
-
|
|
2866
|
+
get LassoTarget(): Entity | null;
|
|
2867
2867
|
/**
|
|
2868
2868
|
* Params: p2, p3 usually 0 in R* Scripts
|
|
2869
2869
|
*
|
|
@@ -2875,7 +2875,7 @@ export declare class Ped extends Entity {
|
|
|
2875
2875
|
/**
|
|
2876
2876
|
* @param range
|
|
2877
2877
|
*/
|
|
2878
|
-
|
|
2878
|
+
set VisualFieldPeripheralRange(range: number);
|
|
2879
2879
|
/**
|
|
2880
2880
|
* Returns boneIndex
|
|
2881
2881
|
*
|
|
@@ -2886,20 +2886,20 @@ export declare class Ped extends Entity {
|
|
|
2886
2886
|
/**
|
|
2887
2887
|
* @returns
|
|
2888
2888
|
*/
|
|
2889
|
-
|
|
2889
|
+
get BlockingOfNonTemporaryEvents(): any;
|
|
2890
2890
|
/**
|
|
2891
2891
|
* Returns kneeling, sitting, squating, and sleeping scenario hashes
|
|
2892
2892
|
*
|
|
2893
2893
|
* @returns
|
|
2894
2894
|
*/
|
|
2895
|
-
|
|
2895
|
+
get ActiveDynamicScenario2(): number;
|
|
2896
2896
|
/**
|
|
2897
2897
|
* Returns ped drunk level
|
|
2898
2898
|
* _H* or _I*
|
|
2899
2899
|
*
|
|
2900
2900
|
* @returns
|
|
2901
2901
|
*/
|
|
2902
|
-
|
|
2902
|
+
get Drunkness(): number;
|
|
2903
2903
|
/**
|
|
2904
2904
|
* This only will teleport the ped to the group leader if the group leader teleports (sets coords). Only works in singleplayer
|
|
2905
2905
|
*
|
|
@@ -2934,7 +2934,7 @@ export declare class Ped extends Entity {
|
|
|
2934
2934
|
/**
|
|
2935
2935
|
* @returns
|
|
2936
2936
|
*/
|
|
2937
|
-
|
|
2937
|
+
get LassoedLassoer(): Ped | null;
|
|
2938
2938
|
/**
|
|
2939
2939
|
* @param p2
|
|
2940
2940
|
*/
|
|
@@ -2943,7 +2943,7 @@ export declare class Ped extends Entity {
|
|
|
2943
2943
|
/**
|
|
2944
2944
|
* @returns
|
|
2945
2945
|
*/
|
|
2946
|
-
|
|
2946
|
+
get SeatIsTryingToEnter(): number;
|
|
2947
2947
|
/**
|
|
2948
2948
|
* combatType can be between 0-14. See GET_COMBAT_FLOAT below for a list of possible parameters.
|
|
2949
2949
|
* https://github.com/femga/rdr3_discoveries/tree/master/AI/COMBAT_FLOATS
|
|
@@ -2958,15 +2958,15 @@ export declare class Ped extends Entity {
|
|
|
2958
2958
|
*
|
|
2959
2959
|
* @param configHash
|
|
2960
2960
|
*/
|
|
2961
|
-
|
|
2961
|
+
set HealthConfig(configHash: string | number);
|
|
2962
2962
|
/**
|
|
2963
2963
|
* @param value
|
|
2964
2964
|
*/
|
|
2965
|
-
|
|
2965
|
+
set MinMoveBlendRatio(value: number);
|
|
2966
2966
|
/**
|
|
2967
2967
|
* @returns
|
|
2968
2968
|
*/
|
|
2969
|
-
|
|
2969
|
+
get GrappleFlag(): number;
|
|
2970
2970
|
/**
|
|
2971
2971
|
* @param p1
|
|
2972
2972
|
* @param p2
|
|
@@ -2975,7 +2975,7 @@ export declare class Ped extends Entity {
|
|
|
2975
2975
|
/**
|
|
2976
2976
|
* @param toggle
|
|
2977
2977
|
*/
|
|
2978
|
-
|
|
2978
|
+
set BlockingOfNonTemporaryEvents(toggle: boolean);
|
|
2979
2979
|
/**
|
|
2980
2980
|
* -1 - HORSE_ASSIST__NO_CHANGE
|
|
2981
2981
|
* 0 - HORSE_ASSIST__MANUAL
|
|
@@ -2984,7 +2984,7 @@ export declare class Ped extends Entity {
|
|
|
2984
2984
|
*
|
|
2985
2985
|
* @param avoidanceLevel
|
|
2986
2986
|
*/
|
|
2987
|
-
|
|
2987
|
+
set HorseAvoidanceLevel(avoidanceLevel: number);
|
|
2988
2988
|
/**
|
|
2989
2989
|
* Can be used to get a peds foliage active status: variableName = FoliageActive
|
|
2990
2990
|
*
|
|
@@ -3015,7 +3015,7 @@ export declare class Ped extends Entity {
|
|
|
3015
3015
|
/**
|
|
3016
3016
|
* @returns
|
|
3017
3017
|
*/
|
|
3018
|
-
|
|
3018
|
+
get IsAimingFromCover(): boolean;
|
|
3019
3019
|
/**
|
|
3020
3020
|
* Size will be permanent
|
|
3021
3021
|
*
|
|
@@ -3036,13 +3036,13 @@ export declare class Ped extends Entity {
|
|
|
3036
3036
|
/**
|
|
3037
3037
|
* @param gxtEntryHash
|
|
3038
3038
|
*/
|
|
3039
|
-
|
|
3039
|
+
set PromptNameFromGxtEntry(gxtEntryHash: string | number);
|
|
3040
3040
|
/**
|
|
3041
3041
|
* Returns Ped Quality to be used to calculate Skinning Quality
|
|
3042
3042
|
*
|
|
3043
3043
|
* @returns
|
|
3044
3044
|
*/
|
|
3045
|
-
|
|
3045
|
+
get Quality(): number;
|
|
3046
3046
|
/**
|
|
3047
3047
|
* @param commandHash
|
|
3048
3048
|
* @returns
|
|
@@ -3080,11 +3080,11 @@ export declare class Ped extends Entity {
|
|
|
3080
3080
|
/**
|
|
3081
3081
|
* @param name
|
|
3082
3082
|
*/
|
|
3083
|
-
|
|
3083
|
+
set PromptName(name: string | null);
|
|
3084
3084
|
/**
|
|
3085
3085
|
* @param grappleAnim
|
|
3086
3086
|
*/
|
|
3087
|
-
|
|
3087
|
+
set GrappleAnimation(grappleAnim: string | number);
|
|
3088
3088
|
/**
|
|
3089
3089
|
* *FORCE_PED**
|
|
3090
3090
|
*
|
|
@@ -3117,7 +3117,7 @@ export declare class Ped extends Entity {
|
|
|
3117
3117
|
/**
|
|
3118
3118
|
* @param combatMovement Refer to [enum: ePedCombatMovement]
|
|
3119
3119
|
*/
|
|
3120
|
-
|
|
3120
|
+
set CombatMovement(combatMovement: ePedCombatMovement);
|
|
3121
3121
|
/**
|
|
3122
3122
|
* @returns
|
|
3123
3123
|
*/
|
|
@@ -3127,14 +3127,14 @@ export declare class Ped extends Entity {
|
|
|
3127
3127
|
*
|
|
3128
3128
|
* @returns
|
|
3129
3129
|
*/
|
|
3130
|
-
|
|
3130
|
+
get StealthMovement(): boolean;
|
|
3131
3131
|
/**
|
|
3132
3132
|
* Returns whether or not a ped is visible within your FOV, not this check auto's to false after a certain distance.
|
|
3133
3133
|
* Target needs to be tracked first, won't work otherwise.
|
|
3134
3134
|
*
|
|
3135
3135
|
* @returns
|
|
3136
3136
|
*/
|
|
3137
|
-
|
|
3137
|
+
get IsTrackedVisible(): boolean;
|
|
3138
3138
|
/**
|
|
3139
3139
|
* Changes Multiplayer ped face and body type components, they can be stacked
|
|
3140
3140
|
* Params: p3 = 1
|
|
@@ -3171,7 +3171,7 @@ export declare class Ped extends Entity {
|
|
|
3171
3171
|
*
|
|
3172
3172
|
* @returns
|
|
3173
3173
|
*/
|
|
3174
|
-
|
|
3174
|
+
get IsInMeleeCombat(): boolean;
|
|
3175
3175
|
/**
|
|
3176
3176
|
* @param object
|
|
3177
3177
|
* @param propName
|
|
@@ -3181,7 +3181,7 @@ export declare class Ped extends Entity {
|
|
|
3181
3181
|
/**
|
|
3182
3182
|
* @returns
|
|
3183
3183
|
*/
|
|
3184
|
-
|
|
3184
|
+
get MotionFocusEntity(): Entity | null;
|
|
3185
3185
|
/**
|
|
3186
3186
|
* @param vehicle
|
|
3187
3187
|
* @returns
|
|
@@ -3202,7 +3202,7 @@ export declare class Ped extends Entity {
|
|
|
3202
3202
|
/**
|
|
3203
3203
|
* @returns
|
|
3204
3204
|
*/
|
|
3205
|
-
|
|
3205
|
+
get IsDiving(): boolean;
|
|
3206
3206
|
/**
|
|
3207
3207
|
* @param state
|
|
3208
3208
|
* @param p2
|
|
@@ -3224,19 +3224,19 @@ export declare class Ped extends Entity {
|
|
|
3224
3224
|
*
|
|
3225
3225
|
* @param name
|
|
3226
3226
|
*/
|
|
3227
|
-
|
|
3227
|
+
set NameDebug(name: string | null);
|
|
3228
3228
|
/**
|
|
3229
3229
|
* @returns
|
|
3230
3230
|
*/
|
|
3231
|
-
|
|
3231
|
+
get IsInFlyingVehicle(): boolean;
|
|
3232
3232
|
/**
|
|
3233
3233
|
* @returns
|
|
3234
3234
|
*/
|
|
3235
|
-
|
|
3235
|
+
get IsGettingIntoAVehicle(): boolean;
|
|
3236
3236
|
/**
|
|
3237
3237
|
* @returns
|
|
3238
3238
|
*/
|
|
3239
|
-
|
|
3239
|
+
get IsUsingActionMode2(): any;
|
|
3240
3240
|
/**
|
|
3241
3241
|
* p2 is always 0, p3 is always 0, p4 is always 1
|
|
3242
3242
|
*
|
|
@@ -3250,26 +3250,26 @@ export declare class Ped extends Entity {
|
|
|
3250
3250
|
/**
|
|
3251
3251
|
* @returns
|
|
3252
3252
|
*/
|
|
3253
|
-
|
|
3253
|
+
get IsCarryingSomething(): boolean;
|
|
3254
3254
|
setMoveAnimsBlendOut(): void;
|
|
3255
3255
|
/**
|
|
3256
3256
|
* @param angle
|
|
3257
3257
|
*/
|
|
3258
|
-
|
|
3258
|
+
set VisualFieldCenterAngle(angle: number);
|
|
3259
3259
|
/**
|
|
3260
3260
|
* @returns
|
|
3261
3261
|
*/
|
|
3262
|
-
|
|
3262
|
+
get IsDoingScenarioTransition(): any;
|
|
3263
3263
|
/**
|
|
3264
3264
|
* https://github.com/femga/rdr3_discoveries/tree/master/AI/RAGDOLL_BLOCKING_FLAGS
|
|
3265
3265
|
*
|
|
3266
3266
|
* @param flags Refer to [enum: eRagdollBlockingFlags]
|
|
3267
3267
|
*/
|
|
3268
|
-
|
|
3268
|
+
set RagdollBlockingFlags(flags: number);
|
|
3269
3269
|
/**
|
|
3270
3270
|
* @param toggle
|
|
3271
3271
|
*/
|
|
3272
|
-
|
|
3272
|
+
set Gravity(toggle: boolean);
|
|
3273
3273
|
/**
|
|
3274
3274
|
* Returns loot state
|
|
3275
3275
|
* enum eLootState
|
|
@@ -3299,7 +3299,7 @@ export declare class Ped extends Entity {
|
|
|
3299
3299
|
*
|
|
3300
3300
|
* @param playerType
|
|
3301
3301
|
*/
|
|
3302
|
-
|
|
3302
|
+
set ActivePlayerType(playerType: string | number);
|
|
3303
3303
|
/**
|
|
3304
3304
|
* Deletes the specified ped, then sets the handle pointed to by the pointer to NULL.
|
|
3305
3305
|
*/
|
|
@@ -3308,11 +3308,11 @@ export declare class Ped extends Entity {
|
|
|
3308
3308
|
/**
|
|
3309
3309
|
* @returns
|
|
3310
3310
|
*/
|
|
3311
|
-
|
|
3311
|
+
get IsStopped(): boolean;
|
|
3312
3312
|
/**
|
|
3313
3313
|
* @param p1
|
|
3314
3314
|
*/
|
|
3315
|
-
|
|
3315
|
+
set RemoveNetworked(p1: number);
|
|
3316
3316
|
/**
|
|
3317
3317
|
* _RESET_PED_C*
|
|
3318
3318
|
*/
|
|
@@ -3325,7 +3325,7 @@ export declare class Ped extends Entity {
|
|
|
3325
3325
|
/**
|
|
3326
3326
|
* @param flags
|
|
3327
3327
|
*/
|
|
3328
|
-
|
|
3328
|
+
set IncapacitationFlags(flags: number);
|
|
3329
3329
|
/**
|
|
3330
3330
|
* @param entity
|
|
3331
3331
|
* @param pos
|
|
@@ -3337,7 +3337,7 @@ export declare class Ped extends Entity {
|
|
|
3337
3337
|
/**
|
|
3338
3338
|
* @param range Refer to [enum: ePedCombatRange]
|
|
3339
3339
|
*/
|
|
3340
|
-
|
|
3340
|
+
set CombatRange(range: ePedCombatRange);
|
|
3341
3341
|
/**
|
|
3342
3342
|
* angle is ped's view cone
|
|
3343
3343
|
*
|
|
@@ -3349,7 +3349,7 @@ export declare class Ped extends Entity {
|
|
|
3349
3349
|
/**
|
|
3350
3350
|
* @returns
|
|
3351
3351
|
*/
|
|
3352
|
-
|
|
3352
|
+
get IsQueuedForDeletion(): any;
|
|
3353
3353
|
/**
|
|
3354
3354
|
* _SET_D*
|
|
3355
3355
|
*
|
|
@@ -3360,12 +3360,12 @@ export declare class Ped extends Entity {
|
|
|
3360
3360
|
/**
|
|
3361
3361
|
* @param index
|
|
3362
3362
|
*/
|
|
3363
|
-
|
|
3363
|
+
set GroupMemberPassengerIndex(index: number);
|
|
3364
3364
|
N_0xC9151483CC06A414(): void;
|
|
3365
3365
|
/**
|
|
3366
3366
|
* @returns
|
|
3367
3367
|
*/
|
|
3368
|
-
|
|
3368
|
+
get IsClimbingLadder(): any;
|
|
3369
3369
|
/**
|
|
3370
3370
|
* @param p1
|
|
3371
3371
|
* @param p2
|
|
@@ -3374,14 +3374,14 @@ export declare class Ped extends Entity {
|
|
|
3374
3374
|
/**
|
|
3375
3375
|
* @returns
|
|
3376
3376
|
*/
|
|
3377
|
-
|
|
3377
|
+
get IsHogtying(): boolean;
|
|
3378
3378
|
/**
|
|
3379
3379
|
* Hashes: GUARD, COMBAT_ANIMAL, LAW, LAW_SHERIFF
|
|
3380
3380
|
* _SET_PED_COMBAT_A* - _SET_PED_COMBAT_M*
|
|
3381
3381
|
*
|
|
3382
3382
|
* @param p1
|
|
3383
3383
|
*/
|
|
3384
|
-
|
|
3384
|
+
set CombatAttributeHash(p1: string | number);
|
|
3385
3385
|
/**
|
|
3386
3386
|
* Used in Script Function PLAYER_HEAD_TRACKING_MAINTAIN
|
|
3387
3387
|
*
|
|
@@ -3407,19 +3407,19 @@ export declare class Ped extends Entity {
|
|
|
3407
3407
|
*
|
|
3408
3408
|
* @returns
|
|
3409
3409
|
*/
|
|
3410
|
-
|
|
3410
|
+
get PlayerWaterDepth(): number;
|
|
3411
3411
|
/**
|
|
3412
3412
|
* @param actionDisableFlag Refer to [enum: eActionDisableFlags]
|
|
3413
3413
|
*/
|
|
3414
|
-
|
|
3414
|
+
set TargetActionDisableFlag(actionDisableFlag: eActionDisableFlags);
|
|
3415
3415
|
/**
|
|
3416
3416
|
* @returns
|
|
3417
3417
|
*/
|
|
3418
|
-
|
|
3418
|
+
get IsFleeing(): boolean;
|
|
3419
3419
|
/**
|
|
3420
3420
|
* @returns
|
|
3421
3421
|
*/
|
|
3422
|
-
|
|
3422
|
+
get IsFallingOver(): boolean;
|
|
3423
3423
|
/**
|
|
3424
3424
|
* target: 0 affects everyone
|
|
3425
3425
|
* duration: -1 indefinite
|
|
@@ -3451,7 +3451,7 @@ export declare class Ped extends Entity {
|
|
|
3451
3451
|
/**
|
|
3452
3452
|
* @param multiplier
|
|
3453
3453
|
*/
|
|
3454
|
-
|
|
3454
|
+
set StaminaDepletionMultiplier(multiplier: number);
|
|
3455
3455
|
/**
|
|
3456
3456
|
* _C*
|
|
3457
3457
|
*/
|
|
@@ -3465,7 +3465,7 @@ export declare class Ped extends Entity {
|
|
|
3465
3465
|
/**
|
|
3466
3466
|
* @returns
|
|
3467
3467
|
*/
|
|
3468
|
-
|
|
3468
|
+
get BrawlingStyle(): number;
|
|
3469
3469
|
/**
|
|
3470
3470
|
* @param p1
|
|
3471
3471
|
* @returns
|
|
@@ -3479,7 +3479,7 @@ export declare class Ped extends Entity {
|
|
|
3479
3479
|
/**
|
|
3480
3480
|
* @returns
|
|
3481
3481
|
*/
|
|
3482
|
-
|
|
3482
|
+
get IsInAnyTaxi(): boolean;
|
|
3483
3483
|
/**
|
|
3484
3484
|
* If returned true: There are enemy peds near friendly turn in ped. Going to aggro.
|
|
3485
3485
|
* If returned false: Moving back to idle as there aren't any remaining enemy peds near ped
|
|
@@ -3494,11 +3494,11 @@ export declare class Ped extends Entity {
|
|
|
3494
3494
|
/**
|
|
3495
3495
|
* @returns
|
|
3496
3496
|
*/
|
|
3497
|
-
|
|
3497
|
+
get StaminaDepletionMultiplier(): number;
|
|
3498
3498
|
/**
|
|
3499
3499
|
* @param multiplier
|
|
3500
3500
|
*/
|
|
3501
|
-
|
|
3501
|
+
set StaminaRechargeMultiplier(multiplier: number);
|
|
3502
3502
|
/**
|
|
3503
3503
|
* Used in Script Functions PLAYER_HORSE_RELEASE_HORSE_TO_AMBIENT_WORLD (p1 = true), HORSE_SETUP_PLAYER_HORSE_ATTRIBUTES (p1 = false)
|
|
3504
3504
|
* Set to false for player horse in scripts and seems it's only true when releasing/changing a player horse? Cannot determine what effect it has, but it doesn't seem to affect _GET_HORSE_TAMING_STATE
|
|
@@ -3509,7 +3509,7 @@ export declare class Ped extends Entity {
|
|
|
3509
3509
|
/**
|
|
3510
3510
|
* @returns
|
|
3511
3511
|
*/
|
|
3512
|
-
|
|
3512
|
+
get IsInAnyTrain(): boolean;
|
|
3513
3513
|
/**
|
|
3514
3514
|
* Detect if ped is sitting in the specified vehicle
|
|
3515
3515
|
* [True/False]
|
|
@@ -3531,11 +3531,11 @@ export declare class Ped extends Entity {
|
|
|
3531
3531
|
/**
|
|
3532
3532
|
* @returns
|
|
3533
3533
|
*/
|
|
3534
|
-
|
|
3534
|
+
get Mount(): Ped | null;
|
|
3535
3535
|
/**
|
|
3536
3536
|
* @returns
|
|
3537
3537
|
*/
|
|
3538
|
-
|
|
3538
|
+
get Money(): number;
|
|
3539
3539
|
/**
|
|
3540
3540
|
* https://github.com/femga/rdr3_discoveries/blob/master/peds_customization/ped_decals.lua
|
|
3541
3541
|
*
|
|
@@ -3572,7 +3572,7 @@ export declare class Ped extends Entity {
|
|
|
3572
3572
|
/**
|
|
3573
3573
|
* @param value
|
|
3574
3574
|
*/
|
|
3575
|
-
|
|
3575
|
+
set MaxTimeInWater(value: number);
|
|
3576
3576
|
/**
|
|
3577
3577
|
* combined with PED::SET_PED_WETNESS_HEIGHT(), this native makes the ped drenched in water up to the height specified in the other function
|
|
3578
3578
|
*/
|
|
@@ -3587,7 +3587,7 @@ export declare class Ped extends Entity {
|
|
|
3587
3587
|
/**
|
|
3588
3588
|
* @param name
|
|
3589
3589
|
*/
|
|
3590
|
-
|
|
3590
|
+
set PromptName2(name: string | null);
|
|
3591
3591
|
/**
|
|
3592
3592
|
* @param p1
|
|
3593
3593
|
* @param p2
|
|
@@ -3600,17 +3600,17 @@ export declare class Ped extends Entity {
|
|
|
3600
3600
|
*
|
|
3601
3601
|
* @returns
|
|
3602
3602
|
*/
|
|
3603
|
-
|
|
3603
|
+
get IsFatallyInjured(): boolean;
|
|
3604
3604
|
/**
|
|
3605
3605
|
* _IS_PED_IN*
|
|
3606
3606
|
*
|
|
3607
3607
|
* @returns
|
|
3608
3608
|
*/
|
|
3609
|
-
|
|
3609
|
+
get IsInvestigating(): boolean;
|
|
3610
3610
|
/**
|
|
3611
3611
|
* @returns
|
|
3612
3612
|
*/
|
|
3613
|
-
|
|
3613
|
+
get CurrentTargetForPed(): Entity | null;
|
|
3614
3614
|
/**
|
|
3615
3615
|
* _CLEAR_PED_B* - _CLEAR_PED_C*
|
|
3616
3616
|
*/
|
|
@@ -3621,7 +3621,7 @@ export declare class Ped extends Entity {
|
|
|
3621
3621
|
*
|
|
3622
3622
|
* @param value
|
|
3623
3623
|
*/
|
|
3624
|
-
|
|
3624
|
+
set Capsule(value: number);
|
|
3625
3625
|
/**
|
|
3626
3626
|
* @param entity
|
|
3627
3627
|
* @returns
|
|
@@ -3630,7 +3630,7 @@ export declare class Ped extends Entity {
|
|
|
3630
3630
|
/**
|
|
3631
3631
|
* @returns
|
|
3632
3632
|
*/
|
|
3633
|
-
|
|
3633
|
+
get IsVaulting(): boolean;
|
|
3634
3634
|
/**
|
|
3635
3635
|
* _IS_PED_M* - _IS_PED_O*
|
|
3636
3636
|
*
|
|
@@ -3651,11 +3651,11 @@ export declare class Ped extends Entity {
|
|
|
3651
3651
|
*
|
|
3652
3652
|
* @returns speedX; speedY
|
|
3653
3653
|
*/
|
|
3654
|
-
|
|
3654
|
+
get CurrentMoveBlendRatio(): [boolean, number, number];
|
|
3655
3655
|
/**
|
|
3656
3656
|
* @param heading
|
|
3657
3657
|
*/
|
|
3658
|
-
|
|
3658
|
+
set DesiredHeading(heading: number);
|
|
3659
3659
|
/**
|
|
3660
3660
|
* @param animName
|
|
3661
3661
|
* @param animDict
|
|
@@ -3673,16 +3673,16 @@ export declare class Ped extends Entity {
|
|
|
3673
3673
|
*
|
|
3674
3674
|
* @returns
|
|
3675
3675
|
*/
|
|
3676
|
-
|
|
3676
|
+
get ActiveDynamicScenario(): number;
|
|
3677
3677
|
/**
|
|
3678
3678
|
* @param toggle
|
|
3679
3679
|
*/
|
|
3680
|
-
|
|
3680
|
+
set CanRagdollFromPlayerImpact(toggle: boolean);
|
|
3681
3681
|
/**
|
|
3682
3682
|
* @param eventType
|
|
3683
3683
|
* @returns
|
|
3684
3684
|
*/
|
|
3685
|
-
isEventInQueue(eventType: string | number):
|
|
3685
|
+
isEventInQueue(eventType: string | number): boolean;
|
|
3686
3686
|
/**
|
|
3687
3687
|
* @param mount
|
|
3688
3688
|
* @param seatIndex Refer to [enum: eVehicleSeat]
|
|
@@ -3704,11 +3704,11 @@ export declare class Ped extends Entity {
|
|
|
3704
3704
|
/**
|
|
3705
3705
|
* @param value
|
|
3706
3706
|
*/
|
|
3707
|
-
|
|
3707
|
+
set VisualFieldMaxAngle(value: number);
|
|
3708
3708
|
/**
|
|
3709
3709
|
* @returns
|
|
3710
3710
|
*/
|
|
3711
|
-
|
|
3711
|
+
get MetaRace(): any;
|
|
3712
3712
|
/**
|
|
3713
3713
|
* enum ePedLootStatus
|
|
3714
3714
|
* {
|
|
@@ -3720,7 +3720,7 @@ export declare class Ped extends Entity {
|
|
|
3720
3720
|
*
|
|
3721
3721
|
* @returns
|
|
3722
3722
|
*/
|
|
3723
|
-
|
|
3723
|
+
get LootStatusMp(): number;
|
|
3724
3724
|
/**
|
|
3725
3725
|
* @param radius
|
|
3726
3726
|
* @param maxFriends
|
|
@@ -3735,7 +3735,7 @@ export declare class Ped extends Entity {
|
|
|
3735
3735
|
*
|
|
3736
3736
|
* @returns
|
|
3737
3737
|
*/
|
|
3738
|
-
|
|
3738
|
+
get CauseOfDeath(): number;
|
|
3739
3739
|
/**
|
|
3740
3740
|
* bloodFountainPressure: visible effect from 0.0 till 20.0
|
|
3741
3741
|
* yaw: visible effect from -3.0 till 3.0
|
|
@@ -3774,7 +3774,7 @@ export declare class Ped extends Entity {
|
|
|
3774
3774
|
/**
|
|
3775
3775
|
* @param toggle
|
|
3776
3776
|
*/
|
|
3777
|
-
|
|
3777
|
+
set CanArmIk(toggle: boolean);
|
|
3778
3778
|
/**
|
|
3779
3779
|
* *SET_PED**
|
|
3780
3780
|
*
|
|
@@ -3798,7 +3798,7 @@ export declare class Ped extends Entity {
|
|
|
3798
3798
|
/**
|
|
3799
3799
|
* @returns
|
|
3800
3800
|
*/
|
|
3801
|
-
|
|
3801
|
+
get IsInAnyHeli(): boolean;
|
|
3802
3802
|
/**
|
|
3803
3803
|
* @param ped
|
|
3804
3804
|
* @param flag Usually flag is set to false when ped is in stealth mode
|
|
@@ -3815,7 +3815,7 @@ export declare class Ped extends Entity {
|
|
|
3815
3815
|
*
|
|
3816
3816
|
* @returns
|
|
3817
3817
|
*/
|
|
3818
|
-
|
|
3818
|
+
get GroupIndex(): number;
|
|
3819
3819
|
/**
|
|
3820
3820
|
* flagId: see SET_PED_CONFIG_FLAG
|
|
3821
3821
|
*
|
|
@@ -3827,7 +3827,7 @@ export declare class Ped extends Entity {
|
|
|
3827
3827
|
/**
|
|
3828
3828
|
* @returns
|
|
3829
3829
|
*/
|
|
3830
|
-
|
|
3830
|
+
get IsIncapacitated(): boolean;
|
|
3831
3831
|
/**
|
|
3832
3832
|
* duration in seconds
|
|
3833
3833
|
*
|
|
@@ -3848,7 +3848,7 @@ export declare class Ped extends Entity {
|
|
|
3848
3848
|
/**
|
|
3849
3849
|
* @param damaged
|
|
3850
3850
|
*/
|
|
3851
|
-
|
|
3851
|
+
set Damaged(damaged: boolean);
|
|
3852
3852
|
/**
|
|
3853
3853
|
* @param pos
|
|
3854
3854
|
* @param radius
|
|
@@ -3868,7 +3868,7 @@ export declare class Ped extends Entity {
|
|
|
3868
3868
|
/**
|
|
3869
3869
|
* @param mode
|
|
3870
3870
|
*/
|
|
3871
|
-
|
|
3871
|
+
set LegIkMode(mode: number);
|
|
3872
3872
|
/**
|
|
3873
3873
|
* Only used in SP
|
|
3874
3874
|
* _SET_REMOVE_PED*
|
|
@@ -3880,29 +3880,29 @@ export declare class Ped extends Entity {
|
|
|
3880
3880
|
* @param scenario
|
|
3881
3881
|
* @returns
|
|
3882
3882
|
*/
|
|
3883
|
-
isUsingThisScenario(scenario: number):
|
|
3883
|
+
isUsingThisScenario(scenario: number): boolean;
|
|
3884
3884
|
/**
|
|
3885
3885
|
* @returns Returns the peds [enum: ePedCombatMovement]
|
|
3886
3886
|
*/
|
|
3887
|
-
|
|
3887
|
+
get CombatMovement(): ePedCombatMovement;
|
|
3888
3888
|
/**
|
|
3889
3889
|
* @returns
|
|
3890
3890
|
*/
|
|
3891
|
-
|
|
3891
|
+
get VehicleIsEntering(): Vehicle | null;
|
|
3892
3892
|
/**
|
|
3893
3893
|
* @param toggle
|
|
3894
3894
|
*/
|
|
3895
|
-
|
|
3895
|
+
set CanBeTargetted(toggle: boolean);
|
|
3896
3896
|
/**
|
|
3897
3897
|
* @returns
|
|
3898
3898
|
*/
|
|
3899
|
-
|
|
3899
|
+
get MeleeActionPhase(): number;
|
|
3900
3900
|
/**
|
|
3901
3901
|
* _SET_PED_S* - _SET_PED_T*
|
|
3902
3902
|
*
|
|
3903
3903
|
* @param volume
|
|
3904
3904
|
*/
|
|
3905
|
-
|
|
3905
|
+
set VoiceVolume(volume: number);
|
|
3906
3906
|
/**
|
|
3907
3907
|
* Params: p1 = 1 in R* Scripts
|
|
3908
3908
|
*
|
|
@@ -3920,11 +3920,11 @@ export declare class Ped extends Entity {
|
|
|
3920
3920
|
/**
|
|
3921
3921
|
* @returns
|
|
3922
3922
|
*/
|
|
3923
|
-
|
|
3923
|
+
get IsBeingDragged(): boolean;
|
|
3924
3924
|
/**
|
|
3925
3925
|
* @param actionDisableFlag Refer to [enum: eActionDisableFlags]
|
|
3926
3926
|
*/
|
|
3927
|
-
|
|
3927
|
+
set ActionDisableFlag(actionDisableFlag: eActionDisableFlags);
|
|
3928
3928
|
/**
|
|
3929
3929
|
* @param animal
|
|
3930
3930
|
* @param p2
|
|
@@ -3951,7 +3951,7 @@ export declare class Ped extends Entity {
|
|
|
3951
3951
|
/**
|
|
3952
3952
|
* @param toggle
|
|
3953
3953
|
*/
|
|
3954
|
-
|
|
3954
|
+
set Lights(toggle: boolean);
|
|
3955
3955
|
/**
|
|
3956
3956
|
* @returns
|
|
3957
3957
|
*/
|
|
@@ -3959,11 +3959,11 @@ export declare class Ped extends Entity {
|
|
|
3959
3959
|
/**
|
|
3960
3960
|
* @param p1
|
|
3961
3961
|
*/
|
|
3962
|
-
|
|
3962
|
+
set KnockedByOneHit(p1: number);
|
|
3963
3963
|
/**
|
|
3964
3964
|
* @returns
|
|
3965
3965
|
*/
|
|
3966
|
-
|
|
3966
|
+
get IsBeingGrappled(): any;
|
|
3967
3967
|
clearEnvDirt(): void;
|
|
3968
3968
|
/**
|
|
3969
3969
|
* enum eMetaPedType
|
|
@@ -3977,7 +3977,7 @@ export declare class Ped extends Entity {
|
|
|
3977
3977
|
*
|
|
3978
3978
|
* @returns
|
|
3979
3979
|
*/
|
|
3980
|
-
|
|
3980
|
+
get MetaType(): number;
|
|
3981
3981
|
/**
|
|
3982
3982
|
* Gets a value indicating whether the specified ped is on top of any vehicle. Return 1 when ped is on vehicle.
|
|
3983
3983
|
* Return 0 when ped is not on a vehicle.
|
|
@@ -4002,7 +4002,7 @@ export declare class Ped extends Entity {
|
|
|
4002
4002
|
/**
|
|
4003
4003
|
* @returns
|
|
4004
4004
|
*/
|
|
4005
|
-
|
|
4005
|
+
get MaxStamina(): number;
|
|
4006
4006
|
/**
|
|
4007
4007
|
* @param variableName
|
|
4008
4008
|
* @returns
|
|
@@ -4025,7 +4025,7 @@ export declare class Ped extends Entity {
|
|
|
4025
4025
|
*
|
|
4026
4026
|
* @returns
|
|
4027
4027
|
*/
|
|
4028
|
-
|
|
4028
|
+
get TotalDamageFromAi(): number;
|
|
4029
4029
|
/**
|
|
4030
4030
|
* @param attributeIndex
|
|
4031
4031
|
* @returns
|
|
@@ -4036,7 +4036,7 @@ export declare class Ped extends Entity {
|
|
|
4036
4036
|
*
|
|
4037
4037
|
* @param locoMotionType
|
|
4038
4038
|
*/
|
|
4039
|
-
|
|
4039
|
+
set DesiredLocoMotionType(locoMotionType: string | null);
|
|
4040
4040
|
/**
|
|
4041
4041
|
* *STOP*(?)*
|
|
4042
4042
|
*/
|
|
@@ -4047,7 +4047,7 @@ export declare class Ped extends Entity {
|
|
|
4047
4047
|
*
|
|
4048
4048
|
* @param value
|
|
4049
4049
|
*/
|
|
4050
|
-
|
|
4050
|
+
set MoveRateOverride(value: number);
|
|
4051
4051
|
/**
|
|
4052
4052
|
* Causes Ped to ragdoll on collision with any object (e.g Running into trashcan). If applied to player you will sometimes trip on the sidewalk.
|
|
4053
4053
|
*
|
|
@@ -4067,7 +4067,7 @@ export declare class Ped extends Entity {
|
|
|
4067
4067
|
/**
|
|
4068
4068
|
* @param toggle
|
|
4069
4069
|
*/
|
|
4070
|
-
|
|
4070
|
+
set CanUseAutoConversationLookat(toggle: boolean);
|
|
4071
4071
|
/**
|
|
4072
4072
|
* @param p1
|
|
4073
4073
|
*/
|
|
@@ -4087,11 +4087,11 @@ export declare class Ped extends Entity {
|
|
|
4087
4087
|
*
|
|
4088
4088
|
* @returns
|
|
4089
4089
|
*/
|
|
4090
|
-
|
|
4090
|
+
get IsInjured(): boolean;
|
|
4091
4091
|
/**
|
|
4092
4092
|
* @returns
|
|
4093
4093
|
*/
|
|
4094
|
-
|
|
4094
|
+
get IsBeingHogtied(): boolean;
|
|
4095
4095
|
/**
|
|
4096
4096
|
* https://github.com/Halen84/RDR3-Native-Flags-And-Enums/tree/main/Lasso%20Hogtie%20Flags
|
|
4097
4097
|
* https://github.com/femga/rdr3_discoveries/tree/master/AI/LASSO_HOGTIE_FLAG
|
|
@@ -4103,7 +4103,7 @@ export declare class Ped extends Entity {
|
|
|
4103
4103
|
/**
|
|
4104
4104
|
* @returns
|
|
4105
4105
|
*/
|
|
4106
|
-
|
|
4106
|
+
get StaminaRechargeMultiplier(): number;
|
|
4107
4107
|
/**
|
|
4108
4108
|
* Used in Script Function NB_EVENT_OVERRIDE__HANDLE__EVENT_DAMAGE_ENTITY
|
|
4109
4109
|
*
|
|
@@ -4118,7 +4118,7 @@ export declare class Ped extends Entity {
|
|
|
4118
4118
|
/**
|
|
4119
4119
|
* @param behaviour
|
|
4120
4120
|
*/
|
|
4121
|
-
|
|
4121
|
+
set CombatBehaviour(behaviour: string | number);
|
|
4122
4122
|
/**
|
|
4123
4123
|
* @param componentHash
|
|
4124
4124
|
* @param immediately
|
|
@@ -4139,7 +4139,7 @@ export declare class Ped extends Entity {
|
|
|
4139
4139
|
/**
|
|
4140
4140
|
* @returns
|
|
4141
4141
|
*/
|
|
4142
|
-
|
|
4142
|
+
get IsPlantingBomb(): boolean;
|
|
4143
4143
|
/**
|
|
4144
4144
|
* @returns
|
|
4145
4145
|
*/
|
|
@@ -4159,13 +4159,13 @@ export declare class Ped extends Entity {
|
|
|
4159
4159
|
* @param p1
|
|
4160
4160
|
* @returns
|
|
4161
4161
|
*/
|
|
4162
|
-
isFullyOnMount(p1: boolean):
|
|
4162
|
+
isFullyOnMount(p1: boolean): boolean;
|
|
4163
4163
|
/**
|
|
4164
4164
|
* Presumably returns the Entity that the Ped is currently diving out of the way of.
|
|
4165
4165
|
*
|
|
4166
4166
|
* @returns evadingEntity
|
|
4167
4167
|
*/
|
|
4168
|
-
|
|
4168
|
+
get IsEvasiveDiving(): [boolean, Entity | null];
|
|
4169
4169
|
/**
|
|
4170
4170
|
* @param ped2
|
|
4171
4171
|
*/
|
|
@@ -4182,11 +4182,11 @@ export declare class Ped extends Entity {
|
|
|
4182
4182
|
/**
|
|
4183
4183
|
* @returns
|
|
4184
4184
|
*/
|
|
4185
|
-
|
|
4185
|
+
get PlayerIsFollowing(): Player | null;
|
|
4186
4186
|
/**
|
|
4187
4187
|
* @returns
|
|
4188
4188
|
*/
|
|
4189
|
-
|
|
4189
|
+
get IsSwimming(): boolean;
|
|
4190
4190
|
/**
|
|
4191
4191
|
* Seems to set the peds stamina to 30%
|
|
4192
4192
|
*/
|
|
@@ -4204,7 +4204,7 @@ export declare class Ped extends Entity {
|
|
|
4204
4204
|
/**
|
|
4205
4205
|
* @param value
|
|
4206
4206
|
*/
|
|
4207
|
-
|
|
4207
|
+
set MaxTimeUnderwater(value: number);
|
|
4208
4208
|
/**
|
|
4209
4209
|
* @param p1
|
|
4210
4210
|
* @param p2
|