@nativewrappers/redm-codegen 0.0.3 → 0.0.5
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 +135 -135
- package/dist/classes/AnimScene.d.ts.map +1 -1
- package/dist/classes/AnimScene.js +208 -208
- package/dist/classes/BaseModel.d.ts +21 -21
- package/dist/classes/BaseModel.d.ts.map +1 -1
- package/dist/classes/BaseModel.js +33 -33
- package/dist/classes/BaseTask.d.ts +23 -23
- package/dist/classes/BaseTask.d.ts.map +1 -1
- package/dist/classes/BaseTask.js +27 -27
- package/dist/classes/Cam.d.ts +98 -98
- package/dist/classes/Cam.d.ts.map +1 -1
- package/dist/classes/Cam.js +134 -134
- package/dist/classes/Entity.d.ts +385 -380
- package/dist/classes/Entity.d.ts.map +1 -1
- package/dist/classes/Entity.js +498 -489
- package/dist/classes/Interior.d.ts +5 -5
- package/dist/classes/Interior.d.ts.map +1 -1
- package/dist/classes/Interior.js +8 -8
- 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 +336 -336
- package/dist/classes/Ped.d.ts.map +1 -1
- package/dist/classes/Ped.js +495 -495
- 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 +255 -255
- package/dist/classes/PedTask.d.ts.map +1 -1
- package/dist/classes/PedTask.js +345 -345
- package/dist/classes/PersChar.d.ts +13 -13
- package/dist/classes/PersChar.d.ts.map +1 -1
- package/dist/classes/PersChar.js +29 -29
- package/dist/classes/Pickup.d.ts +8 -8
- package/dist/classes/Pickup.d.ts.map +1 -1
- package/dist/classes/Pickup.js +15 -15
- package/dist/classes/Player.d.ts +713 -709
- package/dist/classes/Player.d.ts.map +1 -1
- package/dist/classes/Player.js +979 -973
- package/dist/classes/Prop.d.ts +115 -115
- package/dist/classes/Prop.d.ts.map +1 -1
- package/dist/classes/Prop.js +160 -160
- package/dist/classes/PropSet.d.ts +5 -5
- package/dist/classes/PropSet.d.ts.map +1 -1
- package/dist/classes/PropSet.js +6 -6
- 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 +9 -9
- package/dist/classes/VehicleTask.d.ts.map +1 -1
- package/dist/classes/VehicleTask.js +12 -12
- package/dist/classes/Volume.d.ts +56 -56
- package/dist/classes/Volume.d.ts.map +1 -1
- package/dist/classes/Volume.js +84 -84
- package/dist/classes/Weapon.d.ts +354 -354
- package/dist/classes/Weapon.d.ts.map +1 -1
- package/dist/classes/Weapon.js +464 -464
- 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 +49 -49
- package/dist/namespaces/Animscene.d.ts.map +1 -1
- package/dist/namespaces/Animscene.js +67 -67
- package/dist/namespaces/Audio.d.ts +447 -447
- package/dist/namespaces/Audio.d.ts.map +1 -1
- package/dist/namespaces/Audio.js +635 -635
- package/dist/namespaces/CamStatics.d.ts +441 -441
- package/dist/namespaces/CamStatics.d.ts.map +1 -1
- package/dist/namespaces/CamStatics.js +675 -675
- 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/Companion.d.ts +22 -22
- package/dist/namespaces/Companion.d.ts.map +1 -1
- package/dist/namespaces/Companion.js +30 -30
- package/dist/namespaces/Compapp.js +1 -1
- package/dist/namespaces/Compendium.d.ts +82 -82
- package/dist/namespaces/Compendium.d.ts.map +1 -1
- package/dist/namespaces/Compendium.js +115 -115
- package/dist/namespaces/Crashlog.js +9 -9
- package/dist/namespaces/Crew.js +4 -4
- package/dist/namespaces/Databinding.d.ts +164 -164
- package/dist/namespaces/Databinding.d.ts.map +1 -1
- package/dist/namespaces/Databinding.js +232 -232
- 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.d.ts +5 -5
- package/dist/namespaces/Dlc.d.ts.map +1 -1
- package/dist/namespaces/Dlc.js +9 -9
- package/dist/namespaces/EntityStatics.d.ts +119 -119
- package/dist/namespaces/EntityStatics.d.ts.map +1 -1
- package/dist/namespaces/EntityStatics.js +164 -164
- 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 +375 -375
- package/dist/namespaces/Graphics.d.ts.map +1 -1
- package/dist/namespaces/Graphics.js +569 -569
- package/dist/namespaces/Hud.d.ts +507 -507
- package/dist/namespaces/Hud.d.ts.map +1 -1
- package/dist/namespaces/Hud.js +706 -706
- package/dist/namespaces/Ik.js +1 -1
- package/dist/namespaces/Interaction.js +3 -3
- package/dist/namespaces/InteriorStatics.js +2 -2
- package/dist/namespaces/Inventory.d.ts +159 -159
- package/dist/namespaces/Inventory.d.ts.map +1 -1
- package/dist/namespaces/Inventory.js +214 -214
- package/dist/namespaces/Itemdatabase.d.ts +5 -5
- package/dist/namespaces/Itemdatabase.d.ts.map +1 -1
- package/dist/namespaces/Itemdatabase.js +10 -10
- 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 +173 -173
- package/dist/namespaces/Map.d.ts.map +1 -1
- package/dist/namespaces/Map.js +240 -240
- package/dist/namespaces/Minigame.d.ts +17 -17
- package/dist/namespaces/Minigame.d.ts.map +1 -1
- package/dist/namespaces/Minigame.js +25 -25
- 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.d.ts +15 -15
- package/dist/namespaces/Missiondata.d.ts.map +1 -1
- package/dist/namespaces/Missiondata.js +24 -24
- 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 +694 -694
- package/dist/namespaces/Network.d.ts.map +1 -1
- package/dist/namespaces/Network.js +1129 -1129
- package/dist/namespaces/Object.d.ts +142 -142
- package/dist/namespaces/Object.d.ts.map +1 -1
- package/dist/namespaces/Object.js +195 -195
- package/dist/namespaces/Pad.d.ts +101 -101
- package/dist/namespaces/Pad.d.ts.map +1 -1
- package/dist/namespaces/Pad.js +142 -142
- package/dist/namespaces/Pathfind.js +10 -10
- package/dist/namespaces/PedStatics.d.ts +20 -20
- package/dist/namespaces/PedStatics.d.ts.map +1 -1
- package/dist/namespaces/PedStatics.js +36 -36
- package/dist/namespaces/Perschar.d.ts +49 -49
- package/dist/namespaces/Perschar.d.ts.map +1 -1
- package/dist/namespaces/Perschar.js +76 -76
- package/dist/namespaces/Physics.d.ts +89 -89
- package/dist/namespaces/Physics.d.ts.map +1 -1
- package/dist/namespaces/Physics.js +125 -125
- package/dist/namespaces/PlayerStatics.d.ts +139 -139
- package/dist/namespaces/PlayerStatics.d.ts.map +1 -1
- package/dist/namespaces/PlayerStatics.js +200 -200
- package/dist/namespaces/Population.d.ts +75 -75
- package/dist/namespaces/Population.d.ts.map +1 -1
- package/dist/namespaces/Population.js +101 -101
- package/dist/namespaces/Posse.d.ts +54 -54
- package/dist/namespaces/Posse.d.ts.map +1 -1
- package/dist/namespaces/Posse.js +86 -86
- 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 +197 -197
- package/dist/namespaces/Stats.d.ts.map +1 -1
- package/dist/namespaces/Stats.js +285 -285
- package/dist/namespaces/Streaming.d.ts +46 -46
- package/dist/namespaces/Streaming.d.ts.map +1 -1
- package/dist/namespaces/Streaming.js +79 -79
- package/dist/namespaces/Task.d.ts +138 -138
- package/dist/namespaces/Task.d.ts.map +1 -1
- package/dist/namespaces/Task.js +204 -204
- package/dist/namespaces/Telemetry.d.ts +212 -212
- package/dist/namespaces/Telemetry.d.ts.map +1 -1
- package/dist/namespaces/Telemetry.js +308 -308
- 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.d.ts +15 -15
- package/dist/namespaces/Uifeed.d.ts.map +1 -1
- package/dist/namespaces/Uifeed.js +25 -25
- 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.d.ts +38 -38
- package/dist/namespaces/Voice.d.ts.map +1 -1
- package/dist/namespaces/Voice.js +61 -61
- package/dist/namespaces/VolumeStatics.d.ts +161 -161
- package/dist/namespaces/VolumeStatics.d.ts.map +1 -1
- package/dist/namespaces/VolumeStatics.js +217 -217
- 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 +274 -274
- package/dist/namespaces/WeaponStatics.d.ts.map +1 -1
- package/dist/namespaces/WeaponStatics.js +390 -390
- package/dist/namespaces/Zone.d.ts +7 -7
- package/dist/namespaces/Zone.d.ts.map +1 -1
- package/dist/namespaces/Zone.js +9 -9
- 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 +227 -227
- package/src/classes/BaseModel.ts +36 -36
- package/src/classes/BaseTask.ts +29 -29
- package/src/classes/Cam.ts +143 -143
- package/src/classes/Entity.ts +517 -506
- package/src/classes/Interior.ts +8 -8
- package/src/classes/ItemSet.ts +3 -3
- package/src/classes/Ped.ts +512 -512
- package/src/classes/PedModel.ts +2 -2
- package/src/classes/PedTask.ts +429 -429
- package/src/classes/PersChar.ts +35 -35
- package/src/classes/Pickup.ts +16 -16
- package/src/classes/Player.ts +995 -988
- package/src/classes/Prop.ts +177 -177
- package/src/classes/PropSet.ts +6 -6
- package/src/classes/Vehicle.ts +147 -147
- package/src/classes/VehicleModel.ts +2 -2
- package/src/classes/VehicleTask.ts +13 -13
- package/src/classes/Volume.ts +91 -91
- package/src/classes/Weapon.ts +489 -489
- package/src/namespaces/Aicoverpoint.ts +40 -40
- package/src/namespaces/Aitransport.ts +104 -104
- package/src/namespaces/Animscene.ts +74 -74
- package/src/namespaces/Audio.ts +647 -647
- package/src/namespaces/CamStatics.ts +768 -768
- package/src/namespaces/Collection.ts +12 -12
- package/src/namespaces/Companion.ts +34 -34
- package/src/namespaces/Compapp.ts +1 -1
- package/src/namespaces/Compendium.ts +120 -120
- package/src/namespaces/Crashlog.ts +9 -9
- package/src/namespaces/Crew.ts +4 -4
- package/src/namespaces/Databinding.ts +249 -249
- package/src/namespaces/Datafile.ts +4 -4
- package/src/namespaces/Decorator.ts +37 -37
- package/src/namespaces/Dlc.ts +9 -9
- package/src/namespaces/EntityStatics.ts +172 -172
- 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 +583 -583
- package/src/namespaces/Hud.ts +741 -741
- package/src/namespaces/Ik.ts +1 -1
- package/src/namespaces/Interaction.ts +3 -3
- package/src/namespaces/InteriorStatics.ts +2 -2
- package/src/namespaces/Inventory.ts +236 -236
- package/src/namespaces/Itemdatabase.ts +11 -11
- 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 +256 -256
- package/src/namespaces/Minigame.ts +29 -29
- package/src/namespaces/Misc.ts +38 -38
- package/src/namespaces/Missiondata.ts +28 -28
- package/src/namespaces/Money.ts +3 -3
- package/src/namespaces/Netshopping.ts +99 -99
- package/src/namespaces/Network.ts +1165 -1165
- package/src/namespaces/Object.ts +214 -214
- package/src/namespaces/Pad.ts +150 -150
- package/src/namespaces/Pathfind.ts +10 -10
- package/src/namespaces/PedStatics.ts +42 -42
- package/src/namespaces/Perschar.ts +78 -78
- package/src/namespaces/Physics.ts +141 -141
- package/src/namespaces/PlayerStatics.ts +228 -228
- package/src/namespaces/Population.ts +114 -114
- package/src/namespaces/Posse.ts +87 -87
- 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 +293 -293
- package/src/namespaces/Streaming.ts +93 -93
- package/src/namespaces/Task.ts +228 -228
- package/src/namespaces/Telemetry.ts +322 -322
- 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 +28 -28
- 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 +70 -70
- package/src/namespaces/VolumeStatics.ts +222 -222
- package/src/namespaces/Water.ts +47 -47
- package/src/namespaces/WeaponStatics.ts +402 -402
- package/src/namespaces/Zone.ts +10 -10
- package/src/types/NativeAliases.ts +6 -1
package/dist/classes/Ped.d.ts
CHANGED
|
@@ -19,6 +19,61 @@ import { Weapon } from './Weapon';
|
|
|
19
19
|
export declare class Ped extends Entity {
|
|
20
20
|
static fromHandle(handle: number): Ped | null;
|
|
21
21
|
static fromNetworkId(netId: number): Ped | null;
|
|
22
|
+
/**
|
|
23
|
+
* @returns
|
|
24
|
+
*/
|
|
25
|
+
get IsOnFoot(): boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Only used in R* Script nb_stalking_hunter
|
|
28
|
+
*
|
|
29
|
+
* @param ped2
|
|
30
|
+
*/
|
|
31
|
+
N_0xED1C764997A86D5A(ped2: Ped): void;
|
|
32
|
+
/**
|
|
33
|
+
* @param grappleSequence
|
|
34
|
+
*/
|
|
35
|
+
set GrappleSequence(grappleSequence: string | null);
|
|
36
|
+
/**
|
|
37
|
+
* @param p1
|
|
38
|
+
*/
|
|
39
|
+
N_0xFFA1594703ED27CA(p1: number): void;
|
|
40
|
+
/**
|
|
41
|
+
* @returns
|
|
42
|
+
*/
|
|
43
|
+
get MeleeTargetForPed(): Ped | null;
|
|
44
|
+
/**
|
|
45
|
+
* Use to apply metaped player components
|
|
46
|
+
* Replaces asset, alternatively you can remove assets using REMOVE_TAG_FROM_META_PED
|
|
47
|
+
*
|
|
48
|
+
* @param drawable
|
|
49
|
+
* @param albedo
|
|
50
|
+
* @param normal
|
|
51
|
+
* @param material
|
|
52
|
+
* @param palette
|
|
53
|
+
* @param tint0
|
|
54
|
+
* @param tint1
|
|
55
|
+
* @param tint2
|
|
56
|
+
*/
|
|
57
|
+
setMetaTag(drawable: string | number, albedo: string | number, normal: string | number, material: string | number, palette: string | number, tint0: number, tint1: number, tint2: number): void;
|
|
58
|
+
/**
|
|
59
|
+
* @param p1
|
|
60
|
+
* @param p2
|
|
61
|
+
*/
|
|
62
|
+
N_0x32CEDA9A0AB4CEF7(p1: string | number, p2: boolean): void;
|
|
63
|
+
/**
|
|
64
|
+
* @returns
|
|
65
|
+
*/
|
|
66
|
+
get IsChild(): any;
|
|
67
|
+
/**
|
|
68
|
+
* @param index
|
|
69
|
+
* @param p2
|
|
70
|
+
* @returns argStruct; argStruct2
|
|
71
|
+
*/
|
|
72
|
+
getShopItemComponentAtIndex(index: number, p2: boolean): [number, number, number];
|
|
73
|
+
/**
|
|
74
|
+
* @param value
|
|
75
|
+
*/
|
|
76
|
+
set MaxMoveBlendRatio(value: number);
|
|
22
77
|
/**
|
|
23
78
|
* If targetPed is set to 0 the ped motivationState affects everyone
|
|
24
79
|
*
|
|
@@ -48,7 +103,7 @@ export declare class Ped extends Entity {
|
|
|
48
103
|
/**
|
|
49
104
|
* @returns
|
|
50
105
|
*/
|
|
51
|
-
|
|
106
|
+
get MetaOutfitHash(): number;
|
|
52
107
|
/**
|
|
53
108
|
* @param variableName
|
|
54
109
|
*/
|
|
@@ -59,7 +114,7 @@ export declare class Ped extends Entity {
|
|
|
59
114
|
*
|
|
60
115
|
* @returns
|
|
61
116
|
*/
|
|
62
|
-
|
|
117
|
+
get Damaged(): any;
|
|
63
118
|
/**
|
|
64
119
|
* _IS_PED_IN*
|
|
65
120
|
*
|
|
@@ -82,11 +137,11 @@ export declare class Ped extends Entity {
|
|
|
82
137
|
/**
|
|
83
138
|
* @param bondingLevel
|
|
84
139
|
*/
|
|
85
|
-
|
|
140
|
+
set MountBondingLevel(bondingLevel: number);
|
|
86
141
|
/**
|
|
87
142
|
* @returns
|
|
88
143
|
*/
|
|
89
|
-
|
|
144
|
+
get IsVisibilityTracked(): any;
|
|
90
145
|
/**
|
|
91
146
|
* *HAS_PED**
|
|
92
147
|
*
|
|
@@ -133,7 +188,7 @@ export declare class Ped extends Entity {
|
|
|
133
188
|
/**
|
|
134
189
|
* @param toggle
|
|
135
190
|
*/
|
|
136
|
-
|
|
191
|
+
set HighlyPerceptive(toggle: boolean);
|
|
137
192
|
/**
|
|
138
193
|
* @param p1
|
|
139
194
|
*/
|
|
@@ -145,7 +200,7 @@ export declare class Ped extends Entity {
|
|
|
145
200
|
/**
|
|
146
201
|
* @param scale
|
|
147
202
|
*/
|
|
148
|
-
|
|
203
|
+
set Scale(scale: number);
|
|
149
204
|
/**
|
|
150
205
|
* Gets the position of the specified bone of the specified ped. ped: The ped to get the position of a bone from.
|
|
151
206
|
* boneId: The ID of the bone to get the position from. This is NOT the index.
|
|
@@ -169,7 +224,7 @@ export declare class Ped extends Entity {
|
|
|
169
224
|
*
|
|
170
225
|
* @param totalDamage
|
|
171
226
|
*/
|
|
172
|
-
|
|
227
|
+
set TotalDamageFromAi(totalDamage: number);
|
|
173
228
|
/**
|
|
174
229
|
* @param p1
|
|
175
230
|
* @param p2
|
|
@@ -179,7 +234,7 @@ export declare class Ped extends Entity {
|
|
|
179
234
|
/**
|
|
180
235
|
* @param toggle
|
|
181
236
|
*/
|
|
182
|
-
|
|
237
|
+
set CanTorsoVehicleIk(toggle: boolean);
|
|
183
238
|
/**
|
|
184
239
|
* https://github.com/femga/rdr3_discoveries/tree/master/AI/BLACKBOARDS
|
|
185
240
|
* Blackboard natives allow you to apply and check certain data to/for peds.
|
|
@@ -204,7 +259,7 @@ export declare class Ped extends Entity {
|
|
|
204
259
|
/**
|
|
205
260
|
* @returns
|
|
206
261
|
*/
|
|
207
|
-
|
|
262
|
+
get NumReservedHealth(): any;
|
|
208
263
|
/**
|
|
209
264
|
* @param actionDisableFlag Refer to [enum: eActionDisableFlags]
|
|
210
265
|
* @returns Returns `true` if the target action disable flag is set
|
|
@@ -217,7 +272,7 @@ export declare class Ped extends Entity {
|
|
|
217
272
|
/**
|
|
218
273
|
* @param modifier
|
|
219
274
|
*/
|
|
220
|
-
|
|
275
|
+
set DefenseModifierForPed(modifier: number);
|
|
221
276
|
/**
|
|
222
277
|
* *SET_PED**
|
|
223
278
|
*
|
|
@@ -234,22 +289,22 @@ export declare class Ped extends Entity {
|
|
|
234
289
|
/**
|
|
235
290
|
* @param abilityLevel Refer to [enum: ePedCombatAbility]
|
|
236
291
|
*/
|
|
237
|
-
|
|
292
|
+
set CombatAbility(abilityLevel: ePedCombatAbility);
|
|
238
293
|
/**
|
|
239
294
|
* @returns
|
|
240
295
|
*/
|
|
241
|
-
|
|
296
|
+
get IsRunningRagdollTask(): boolean;
|
|
242
297
|
/**
|
|
243
298
|
* @returns
|
|
244
299
|
*/
|
|
245
|
-
|
|
300
|
+
get IsJumping(): boolean;
|
|
246
301
|
/**
|
|
247
302
|
* 0.0 - 1.0
|
|
248
303
|
* Modifies the "scent line" on the ped's body when using Eagle Eye.
|
|
249
304
|
*
|
|
250
305
|
* @param scent
|
|
251
306
|
*/
|
|
252
|
-
|
|
307
|
+
set Scent(scent: number);
|
|
253
308
|
/**
|
|
254
309
|
* Returns vehicle speed
|
|
255
310
|
* *COMPUTE**
|
|
@@ -341,7 +396,7 @@ export declare class Ped extends Entity {
|
|
|
341
396
|
*
|
|
342
397
|
* @returns
|
|
343
398
|
*/
|
|
344
|
-
|
|
399
|
+
get HorseTamingState(): number;
|
|
345
400
|
/**
|
|
346
401
|
* @param bActionModeEnabled
|
|
347
402
|
* @param p2
|
|
@@ -355,7 +410,7 @@ export declare class Ped extends Entity {
|
|
|
355
410
|
/**
|
|
356
411
|
* @returns
|
|
357
412
|
*/
|
|
358
|
-
|
|
413
|
+
get TrackedPixelcount(): number;
|
|
359
414
|
/**
|
|
360
415
|
* _DISABLE_A* - _DISABLE_C*
|
|
361
416
|
*
|
|
@@ -372,11 +427,11 @@ export declare class Ped extends Entity {
|
|
|
372
427
|
*
|
|
373
428
|
* @param bleedoutProfile
|
|
374
429
|
*/
|
|
375
|
-
|
|
430
|
+
set BleedoutProfile(bleedoutProfile: string | number);
|
|
376
431
|
/**
|
|
377
432
|
* @returns
|
|
378
433
|
*/
|
|
379
|
-
|
|
434
|
+
get IsProne(): boolean;
|
|
380
435
|
/**
|
|
381
436
|
* _CLEAR_PED_D*
|
|
382
437
|
*
|
|
@@ -392,7 +447,7 @@ export declare class Ped extends Entity {
|
|
|
392
447
|
*
|
|
393
448
|
* @returns
|
|
394
449
|
*/
|
|
395
|
-
|
|
450
|
+
get IsSittingInAnyVehicle(): boolean;
|
|
396
451
|
/**
|
|
397
452
|
* flagId: https://github.com/Halen84/RDR3-Native-Flags-And-Enums/tree/main/ePedScriptConfigFlags
|
|
398
453
|
* https://alloc8or.re/rdr3/doc/enums/ePedScriptConfigFlags.txt
|
|
@@ -455,15 +510,15 @@ export declare class Ped extends Entity {
|
|
|
455
510
|
/**
|
|
456
511
|
* @param toggle
|
|
457
512
|
*/
|
|
458
|
-
|
|
513
|
+
set CanPlayAmbientBaseAnims(toggle: boolean);
|
|
459
514
|
/**
|
|
460
515
|
* @returns
|
|
461
516
|
*/
|
|
462
|
-
|
|
517
|
+
get GrappleState(): number;
|
|
463
518
|
/**
|
|
464
519
|
* @returns sizeAndVehs
|
|
465
520
|
*/
|
|
466
|
-
|
|
521
|
+
get NearbyVehicles(): [number, number];
|
|
467
522
|
/**
|
|
468
523
|
* _GET_PED_G* - _GET_PED_I*
|
|
469
524
|
*
|
|
@@ -475,7 +530,7 @@ export declare class Ped extends Entity {
|
|
|
475
530
|
/**
|
|
476
531
|
* @returns
|
|
477
532
|
*/
|
|
478
|
-
|
|
533
|
+
get IsDragging(): any;
|
|
479
534
|
/**
|
|
480
535
|
* _IS_PED_L* - _IS_PED_M*
|
|
481
536
|
*
|
|
@@ -492,11 +547,11 @@ export declare class Ped extends Entity {
|
|
|
492
547
|
*
|
|
493
548
|
* @returns
|
|
494
549
|
*/
|
|
495
|
-
|
|
550
|
+
get IsLeadingAnyGroup(): boolean;
|
|
496
551
|
/**
|
|
497
552
|
* @returns
|
|
498
553
|
*/
|
|
499
|
-
|
|
554
|
+
get IsEnteringAnyTransport(): boolean;
|
|
500
555
|
/**
|
|
501
556
|
* *HAS**
|
|
502
557
|
*
|
|
@@ -513,7 +568,7 @@ export declare class Ped extends Entity {
|
|
|
513
568
|
*
|
|
514
569
|
* @returns
|
|
515
570
|
*/
|
|
516
|
-
|
|
571
|
+
get IsRagdoll(): boolean;
|
|
517
572
|
/**
|
|
518
573
|
* @returns
|
|
519
574
|
*/
|
|
@@ -533,19 +588,19 @@ export declare class Ped extends Entity {
|
|
|
533
588
|
/**
|
|
534
589
|
* @returns
|
|
535
590
|
*/
|
|
536
|
-
|
|
591
|
+
get FirstEntityIsCarrying(): Entity | null;
|
|
537
592
|
/**
|
|
538
593
|
* @returns
|
|
539
594
|
*/
|
|
540
|
-
|
|
595
|
+
get TransportIsSeatedOn(): Entity | null;
|
|
541
596
|
/**
|
|
542
597
|
* @returns
|
|
543
598
|
*/
|
|
544
|
-
|
|
599
|
+
get IsAnimalInteractionRunning(): any;
|
|
545
600
|
/**
|
|
546
601
|
* @returns
|
|
547
602
|
*/
|
|
548
|
-
|
|
603
|
+
get CanBeIncapacitatedThisFrame(): any;
|
|
549
604
|
/**
|
|
550
605
|
* @param p1
|
|
551
606
|
* @param p2
|
|
@@ -560,13 +615,13 @@ export declare class Ped extends Entity {
|
|
|
560
615
|
/**
|
|
561
616
|
* @param p1
|
|
562
617
|
*/
|
|
563
|
-
|
|
618
|
+
set RandomComponentVariation(p1: number);
|
|
564
619
|
/**
|
|
565
620
|
* NET_FETCH_CLIENT_UPDATE_PED_FIGHT_PROFICIENCY: Changing parry multiplier for ped
|
|
566
621
|
*
|
|
567
622
|
* @param p1
|
|
568
623
|
*/
|
|
569
|
-
|
|
624
|
+
set BeatMultiplier(p1: number);
|
|
570
625
|
/**
|
|
571
626
|
* _IS_PED_RE*
|
|
572
627
|
*
|
|
@@ -584,11 +639,11 @@ export declare class Ped extends Entity {
|
|
|
584
639
|
/**
|
|
585
640
|
* @returns
|
|
586
641
|
*/
|
|
587
|
-
|
|
642
|
+
get IsHangingOnToVehicle(): boolean;
|
|
588
643
|
/**
|
|
589
644
|
* @returns
|
|
590
645
|
*/
|
|
591
|
-
|
|
646
|
+
get IsDoingCombatRoll(): any;
|
|
592
647
|
/**
|
|
593
648
|
* @param weaponType
|
|
594
649
|
* @returns
|
|
@@ -620,7 +675,7 @@ export declare class Ped extends Entity {
|
|
|
620
675
|
*
|
|
621
676
|
* @returns
|
|
622
677
|
*/
|
|
623
|
-
|
|
678
|
+
get IsAnimalControlledByAPlayer(): boolean;
|
|
624
679
|
/**
|
|
625
680
|
* @param object
|
|
626
681
|
* @param conditionalAnim
|
|
@@ -639,7 +694,7 @@ export declare class Ped extends Entity {
|
|
|
639
694
|
/**
|
|
640
695
|
* @returns
|
|
641
696
|
*/
|
|
642
|
-
|
|
697
|
+
get IncapacitationTimeRemaining(): number;
|
|
643
698
|
/**
|
|
644
699
|
* @param p1
|
|
645
700
|
* @param p2
|
|
@@ -651,13 +706,13 @@ export declare class Ped extends Entity {
|
|
|
651
706
|
/**
|
|
652
707
|
* @returns
|
|
653
708
|
*/
|
|
654
|
-
|
|
709
|
+
get IsCowering(): any;
|
|
655
710
|
/**
|
|
656
711
|
* Returns last horse the ped was leading
|
|
657
712
|
*
|
|
658
713
|
* @returns
|
|
659
714
|
*/
|
|
660
|
-
|
|
715
|
+
get LastLedMount(): Ped | null;
|
|
661
716
|
/**
|
|
662
717
|
* @param p1
|
|
663
718
|
* @param p2
|
|
@@ -676,7 +731,7 @@ export declare class Ped extends Entity {
|
|
|
676
731
|
/**
|
|
677
732
|
* @param toggle
|
|
678
733
|
*/
|
|
679
|
-
|
|
734
|
+
set CanTorsoReactIk(toggle: boolean);
|
|
680
735
|
/**
|
|
681
736
|
* _SET_PED_M*
|
|
682
737
|
*
|
|
@@ -696,11 +751,11 @@ export declare class Ped extends Entity {
|
|
|
696
751
|
/**
|
|
697
752
|
* @param toggle
|
|
698
753
|
*/
|
|
699
|
-
|
|
754
|
+
set CanLegIk(toggle: boolean);
|
|
700
755
|
/**
|
|
701
756
|
* @param speech
|
|
702
757
|
*/
|
|
703
|
-
|
|
758
|
+
set InteractionPositiveResponse(speech: string | null);
|
|
704
759
|
/**
|
|
705
760
|
* duration in seconds, -1.0 = forever
|
|
706
761
|
*
|
|
@@ -711,7 +766,7 @@ export declare class Ped extends Entity {
|
|
|
711
766
|
/**
|
|
712
767
|
* @param p1
|
|
713
768
|
*/
|
|
714
|
-
|
|
769
|
+
set LadderMovementSpeedModifier(p1: number);
|
|
715
770
|
/**
|
|
716
771
|
* @returns
|
|
717
772
|
*/
|
|
@@ -723,7 +778,7 @@ export declare class Ped extends Entity {
|
|
|
723
778
|
/**
|
|
724
779
|
* @param unk
|
|
725
780
|
*/
|
|
726
|
-
|
|
781
|
+
set InjuredOnGroundBehaviour(unk: number);
|
|
727
782
|
/**
|
|
728
783
|
* @param targetPed
|
|
729
784
|
* @param p2
|
|
@@ -744,13 +799,13 @@ export declare class Ped extends Entity {
|
|
|
744
799
|
/**
|
|
745
800
|
* @param toggle
|
|
746
801
|
*/
|
|
747
|
-
|
|
802
|
+
set KeepTask(toggle: boolean);
|
|
748
803
|
/**
|
|
749
804
|
* Used in various R* MP & SP Scripts
|
|
750
805
|
*
|
|
751
806
|
* @param patternHash
|
|
752
807
|
*/
|
|
753
|
-
|
|
808
|
+
set FiringPattern(patternHash: string | number);
|
|
754
809
|
/**
|
|
755
810
|
* @param p1
|
|
756
811
|
* @param p2
|
|
@@ -760,18 +815,18 @@ export declare class Ped extends Entity {
|
|
|
760
815
|
/**
|
|
761
816
|
* @returns
|
|
762
817
|
*/
|
|
763
|
-
|
|
818
|
+
get IsClimbing(): boolean;
|
|
764
819
|
/**
|
|
765
820
|
* Params: shootRate = 0 - 1000
|
|
766
821
|
*
|
|
767
822
|
* @param shootRate
|
|
768
823
|
*/
|
|
769
|
-
|
|
824
|
+
set ShootRate(shootRate: number);
|
|
770
825
|
/**
|
|
771
826
|
* @param animal
|
|
772
827
|
* @returns
|
|
773
828
|
*/
|
|
774
|
-
isAnimalInteractionPossible(animal: Ped):
|
|
829
|
+
isAnimalInteractionPossible(animal: Ped): boolean;
|
|
775
830
|
/**
|
|
776
831
|
* Ped will no longer get angry when you stay near him.
|
|
777
832
|
*
|
|
@@ -790,7 +845,7 @@ export declare class Ped extends Entity {
|
|
|
790
845
|
*
|
|
791
846
|
* @returns
|
|
792
847
|
*/
|
|
793
|
-
|
|
848
|
+
get IsShooting(): boolean;
|
|
794
849
|
/**
|
|
795
850
|
* p1:
|
|
796
851
|
* BodyPartChained
|
|
@@ -869,7 +924,7 @@ export declare class Ped extends Entity {
|
|
|
869
924
|
/**
|
|
870
925
|
* @param toggle
|
|
871
926
|
*/
|
|
872
|
-
|
|
927
|
+
set CanPlayAmbientAnims(toggle: boolean);
|
|
873
928
|
resetWeaponMovementClipset(): void;
|
|
874
929
|
/**
|
|
875
930
|
* Only used in R* Script mob4 combined with SET_ANIMAL_TUNING_BOOL_PARAM
|
|
@@ -881,7 +936,7 @@ export declare class Ped extends Entity {
|
|
|
881
936
|
/**
|
|
882
937
|
* @returns
|
|
883
938
|
*/
|
|
884
|
-
|
|
939
|
+
get MaxHealth(): number;
|
|
885
940
|
/**
|
|
886
941
|
* Despite this function's name, it simply returns whether the specified handle is a Ped.
|
|
887
942
|
*
|
|
@@ -891,7 +946,7 @@ export declare class Ped extends Entity {
|
|
|
891
946
|
/**
|
|
892
947
|
* @param damageCleanliness Refer to [enum: ePedDamageCleanliness]
|
|
893
948
|
*/
|
|
894
|
-
|
|
949
|
+
set DamageCleanliness(damageCleanliness: number);
|
|
895
950
|
/**
|
|
896
951
|
* Returns:
|
|
897
952
|
* 0 - CTR_CANNOT_TARGET
|
|
@@ -928,7 +983,7 @@ export declare class Ped extends Entity {
|
|
|
928
983
|
/**
|
|
929
984
|
* @param toggle
|
|
930
985
|
*/
|
|
931
|
-
|
|
986
|
+
set CanRagdoll(toggle: boolean);
|
|
932
987
|
/**
|
|
933
988
|
* @param suboutfit
|
|
934
989
|
* @param p2
|
|
@@ -944,7 +999,7 @@ export declare class Ped extends Entity {
|
|
|
944
999
|
*
|
|
945
1000
|
* @param toggle
|
|
946
1001
|
*/
|
|
947
|
-
|
|
1002
|
+
set CanBeLassoed(toggle: boolean);
|
|
948
1003
|
/**
|
|
949
1004
|
* _SET_PED_A*
|
|
950
1005
|
*
|
|
@@ -966,7 +1021,7 @@ export declare class Ped extends Entity {
|
|
|
966
1021
|
/**
|
|
967
1022
|
* @returns
|
|
968
1023
|
*/
|
|
969
|
-
|
|
1024
|
+
get VehicleIsUsing(): Vehicle | null;
|
|
970
1025
|
/**
|
|
971
1026
|
* @param target
|
|
972
1027
|
* @returns
|
|
@@ -981,7 +1036,7 @@ export declare class Ped extends Entity {
|
|
|
981
1036
|
/**
|
|
982
1037
|
* @returns
|
|
983
1038
|
*/
|
|
984
|
-
|
|
1039
|
+
get HealthRechargeMultiplier(): number;
|
|
985
1040
|
/**
|
|
986
1041
|
* @param p1
|
|
987
1042
|
*/
|
|
@@ -989,11 +1044,11 @@ export declare class Ped extends Entity {
|
|
|
989
1044
|
/**
|
|
990
1045
|
* @param modifier
|
|
991
1046
|
*/
|
|
992
|
-
|
|
1047
|
+
set CurrentDefenseAgainstPlayersModifier(modifier: number);
|
|
993
1048
|
/**
|
|
994
1049
|
* @returns
|
|
995
1050
|
*/
|
|
996
|
-
|
|
1051
|
+
get ToPlayerWeaponDamageModifier(): number;
|
|
997
1052
|
/**
|
|
998
1053
|
* See _REQUEST_PED_EMOTIONAL_PRESET
|
|
999
1054
|
*
|
|
@@ -1021,12 +1076,12 @@ export declare class Ped extends Entity {
|
|
|
1021
1076
|
/**
|
|
1022
1077
|
* @param toggle
|
|
1023
1078
|
*/
|
|
1024
|
-
|
|
1079
|
+
set EnableBoundAnkles(toggle: boolean);
|
|
1025
1080
|
requestVisibilityTracking(): void;
|
|
1026
1081
|
/**
|
|
1027
1082
|
* @param duration
|
|
1028
1083
|
*/
|
|
1029
|
-
|
|
1084
|
+
set IncapacitationTotalBleedOutDuration(duration: number);
|
|
1030
1085
|
/**
|
|
1031
1086
|
* _IS_PED_B* - _IS_PED_C*
|
|
1032
1087
|
*
|
|
@@ -1036,20 +1091,20 @@ export declare class Ped extends Entity {
|
|
|
1036
1091
|
/**
|
|
1037
1092
|
* @returns
|
|
1038
1093
|
*/
|
|
1039
|
-
|
|
1094
|
+
get IdRange(): number;
|
|
1040
1095
|
/**
|
|
1041
1096
|
* @param groupId
|
|
1042
1097
|
* @returns
|
|
1043
1098
|
*/
|
|
1044
|
-
isGroupLeader(groupId: number):
|
|
1099
|
+
isGroupLeader(groupId: number): boolean;
|
|
1045
1100
|
/**
|
|
1046
1101
|
* @returns
|
|
1047
1102
|
*/
|
|
1048
|
-
|
|
1103
|
+
get IsSliding(): any;
|
|
1049
1104
|
/**
|
|
1050
1105
|
* @returns
|
|
1051
1106
|
*/
|
|
1052
|
-
|
|
1107
|
+
get JackTarget(): Ped | null;
|
|
1053
1108
|
/**
|
|
1054
1109
|
* @param p1
|
|
1055
1110
|
* @returns
|
|
@@ -1074,7 +1129,7 @@ export declare class Ped extends Entity {
|
|
|
1074
1129
|
/**
|
|
1075
1130
|
* @returns
|
|
1076
1131
|
*/
|
|
1077
|
-
|
|
1132
|
+
get IncapacitationHealth(): number;
|
|
1078
1133
|
/**
|
|
1079
1134
|
* @param targetPed
|
|
1080
1135
|
*/
|
|
@@ -1108,11 +1163,11 @@ export declare class Ped extends Entity {
|
|
|
1108
1163
|
/**
|
|
1109
1164
|
* @param p1
|
|
1110
1165
|
*/
|
|
1111
|
-
|
|
1166
|
+
set RandomOutfitVariation(p1: boolean);
|
|
1112
1167
|
/**
|
|
1113
1168
|
* @returns
|
|
1114
1169
|
*/
|
|
1115
|
-
|
|
1170
|
+
get IsGrappling(): any;
|
|
1116
1171
|
/**
|
|
1117
1172
|
* @param pos
|
|
1118
1173
|
* @param lookIntensity Refer to [enum: eLookIntensity]
|
|
@@ -1122,11 +1177,11 @@ export declare class Ped extends Entity {
|
|
|
1122
1177
|
/**
|
|
1123
1178
|
* @returns
|
|
1124
1179
|
*/
|
|
1125
|
-
|
|
1180
|
+
get IsOnMount(): boolean;
|
|
1126
1181
|
/**
|
|
1127
1182
|
* @returns
|
|
1128
1183
|
*/
|
|
1129
|
-
|
|
1184
|
+
get LastVehicleDraftHorseWasAttachedTo(): Vehicle | null;
|
|
1130
1185
|
/**
|
|
1131
1186
|
* Used in Script Function LA_CHECK_ALERTED
|
|
1132
1187
|
* *GET_IS_PED**
|
|
@@ -1146,7 +1201,7 @@ export declare class Ped extends Entity {
|
|
|
1146
1201
|
*
|
|
1147
1202
|
* @returns
|
|
1148
1203
|
*/
|
|
1149
|
-
|
|
1204
|
+
get IsUsingSlipstream(): any;
|
|
1150
1205
|
/**
|
|
1151
1206
|
* @param peltId
|
|
1152
1207
|
*/
|
|
@@ -1188,7 +1243,7 @@ export declare class Ped extends Entity {
|
|
|
1188
1243
|
/**
|
|
1189
1244
|
* @returns
|
|
1190
1245
|
*/
|
|
1191
|
-
|
|
1246
|
+
get IsInAnyBoat(): boolean;
|
|
1192
1247
|
/**
|
|
1193
1248
|
* no bone = -1
|
|
1194
1249
|
*
|
|
@@ -1203,11 +1258,11 @@ export declare class Ped extends Entity {
|
|
|
1203
1258
|
/**
|
|
1204
1259
|
* @returns
|
|
1205
1260
|
*/
|
|
1206
|
-
|
|
1261
|
+
get Accuracy(): number;
|
|
1207
1262
|
/**
|
|
1208
1263
|
* @param toggle
|
|
1209
1264
|
*/
|
|
1210
|
-
|
|
1265
|
+
set DesiresGroup(toggle: boolean);
|
|
1211
1266
|
/**
|
|
1212
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.
|
|
1213
1268
|
*
|
|
@@ -1250,7 +1305,7 @@ export declare class Ped extends Entity {
|
|
|
1250
1305
|
/**
|
|
1251
1306
|
* @param peltId
|
|
1252
1307
|
*/
|
|
1253
|
-
|
|
1308
|
+
set PeltForHorse(peltId: number);
|
|
1254
1309
|
/**
|
|
1255
1310
|
* Can be used to get a peds foliage raw height: variableName = FoliageHeight
|
|
1256
1311
|
*
|
|
@@ -1270,7 +1325,7 @@ export declare class Ped extends Entity {
|
|
|
1270
1325
|
/**
|
|
1271
1326
|
* @param modifier
|
|
1272
1327
|
*/
|
|
1273
|
-
|
|
1328
|
+
set AnimalDetectionModifier(modifier: number);
|
|
1274
1329
|
/**
|
|
1275
1330
|
* _SET_PLAYER_SN* - _SET_PLAYER_STAMINA*
|
|
1276
1331
|
*
|
|
@@ -1288,11 +1343,11 @@ export declare class Ped extends Entity {
|
|
|
1288
1343
|
*
|
|
1289
1344
|
* @param damageModifier
|
|
1290
1345
|
*/
|
|
1291
|
-
|
|
1346
|
+
set ToPlayerWeaponDamageModifier(damageModifier: number);
|
|
1292
1347
|
/**
|
|
1293
1348
|
* @param quality Refer to [enum: ePedQuality]
|
|
1294
1349
|
*/
|
|
1295
|
-
|
|
1350
|
+
set Quality(quality: number);
|
|
1296
1351
|
/**
|
|
1297
1352
|
* _IS_PED_H* - _IS_PED_I*
|
|
1298
1353
|
*
|
|
@@ -1322,7 +1377,7 @@ export declare class Ped extends Entity {
|
|
|
1322
1377
|
*
|
|
1323
1378
|
* @param value
|
|
1324
1379
|
*/
|
|
1325
|
-
|
|
1380
|
+
set MaxHealth(value: number);
|
|
1326
1381
|
/**
|
|
1327
1382
|
* @param volume
|
|
1328
1383
|
* @param p2
|
|
@@ -1333,7 +1388,7 @@ export declare class Ped extends Entity {
|
|
|
1333
1388
|
/**
|
|
1334
1389
|
* @param multiplier
|
|
1335
1390
|
*/
|
|
1336
|
-
|
|
1391
|
+
set HealthRechargeMultiplier(multiplier: number);
|
|
1337
1392
|
/**
|
|
1338
1393
|
* Note: you have to update your ped's variation after calling (using 0xCC8CA3E88256E58F) Body Types:
|
|
1339
1394
|
* MPCREATOR_NEUTRAL
|
|
@@ -1376,7 +1431,7 @@ export declare class Ped extends Entity {
|
|
|
1376
1431
|
/**
|
|
1377
1432
|
* @returns
|
|
1378
1433
|
*/
|
|
1379
|
-
|
|
1434
|
+
get IsHogtied(): boolean;
|
|
1380
1435
|
fadeAndDestroyPed(): void;
|
|
1381
1436
|
/**
|
|
1382
1437
|
* @param p1
|
|
@@ -1396,20 +1451,20 @@ export declare class Ped extends Entity {
|
|
|
1396
1451
|
*
|
|
1397
1452
|
* @param toggle
|
|
1398
1453
|
*/
|
|
1399
|
-
|
|
1454
|
+
set MountSecurityEnabled(toggle: boolean);
|
|
1400
1455
|
/**
|
|
1401
1456
|
* Disables being able to kick move ped.
|
|
1402
1457
|
*
|
|
1403
1458
|
* @param disable
|
|
1404
1459
|
*/
|
|
1405
|
-
|
|
1460
|
+
set DisableKickMove(disable: boolean);
|
|
1406
1461
|
/**
|
|
1407
1462
|
* personality (script_mp_rel): NONE, AGGRESSIVE, TIMID (non-aggressive), CRIPPS, SCRIPTEDINTIMIDATION, MAGGIE, MARCEL, SCRIPTEDSALOON
|
|
1408
1463
|
* personality (script_rel): AVOID, SCRIPTEDOUTLAW, TIMIDGUARDDOG, SCRIPTEDTIMIDROB, AGGRESSIVECAMPER, LAZYDOG, KIERANTIEDUP, SCRIPTEDGALA
|
|
1409
1464
|
*
|
|
1410
1465
|
* @param personality
|
|
1411
1466
|
*/
|
|
1412
|
-
|
|
1467
|
+
set InteractionPersonality(personality: string | number);
|
|
1413
1468
|
/**
|
|
1414
1469
|
* *SET_PED_COMBAT**
|
|
1415
1470
|
*
|
|
@@ -1427,38 +1482,38 @@ export declare class Ped extends Entity {
|
|
|
1427
1482
|
/**
|
|
1428
1483
|
* @param toggle
|
|
1429
1484
|
*/
|
|
1430
|
-
|
|
1485
|
+
set ToDisableRagdoll(toggle: boolean);
|
|
1431
1486
|
/**
|
|
1432
1487
|
* @returns
|
|
1433
1488
|
*/
|
|
1434
|
-
|
|
1489
|
+
get SeatIsUsing(): number;
|
|
1435
1490
|
/**
|
|
1436
1491
|
* Returns true/false if the ped is/isn't male.
|
|
1437
1492
|
*
|
|
1438
1493
|
* @returns
|
|
1439
1494
|
*/
|
|
1440
|
-
|
|
1495
|
+
get IsMale(): boolean;
|
|
1441
1496
|
/**
|
|
1442
1497
|
* @returns
|
|
1443
1498
|
*/
|
|
1444
|
-
|
|
1499
|
+
get LastDroppedHat(): Prop | null;
|
|
1445
1500
|
/**
|
|
1446
1501
|
* Equivalent to IS_PED_USING_SCENARIO from V but takes a hash instead of a string.
|
|
1447
1502
|
*
|
|
1448
1503
|
* @param scenarioHash
|
|
1449
1504
|
* @returns
|
|
1450
1505
|
*/
|
|
1451
|
-
isUsingScenarioHash(scenarioHash: string | number):
|
|
1506
|
+
isUsingScenarioHash(scenarioHash: string | number): boolean;
|
|
1452
1507
|
/**
|
|
1453
1508
|
* Sets ped eye redness, weariness: 0.f to 1.f
|
|
1454
1509
|
*
|
|
1455
1510
|
* @param weariness
|
|
1456
1511
|
*/
|
|
1457
|
-
|
|
1512
|
+
set MetaWeariness(weariness: number);
|
|
1458
1513
|
/**
|
|
1459
1514
|
* @returns
|
|
1460
1515
|
*/
|
|
1461
|
-
|
|
1516
|
+
get Height(): number;
|
|
1462
1517
|
/**
|
|
1463
1518
|
* Only used in R* SP Scripts
|
|
1464
1519
|
* _GET_PED_IN*
|
|
@@ -1483,7 +1538,7 @@ export declare class Ped extends Entity {
|
|
|
1483
1538
|
*
|
|
1484
1539
|
* @param p1
|
|
1485
1540
|
*/
|
|
1486
|
-
|
|
1541
|
+
set ClothPinFrames(p1: boolean);
|
|
1487
1542
|
/**
|
|
1488
1543
|
* Params: p1 either a 1 or 0, so perhaps BOOL
|
|
1489
1544
|
* _SET_PED_A*
|
|
@@ -1501,11 +1556,11 @@ export declare class Ped extends Entity {
|
|
|
1501
1556
|
/**
|
|
1502
1557
|
* @returns
|
|
1503
1558
|
*/
|
|
1504
|
-
|
|
1559
|
+
get IsBeingJacked(): boolean;
|
|
1505
1560
|
/**
|
|
1506
1561
|
* @returns
|
|
1507
1562
|
*/
|
|
1508
|
-
|
|
1563
|
+
get TimeOfDeath(): number;
|
|
1509
1564
|
/**
|
|
1510
1565
|
* _SET_H* - _SET_I*
|
|
1511
1566
|
*
|
|
@@ -1515,17 +1570,17 @@ export declare class Ped extends Entity {
|
|
|
1515
1570
|
/**
|
|
1516
1571
|
* @returns
|
|
1517
1572
|
*/
|
|
1518
|
-
|
|
1573
|
+
get LodMultiplier(): number;
|
|
1519
1574
|
/**
|
|
1520
1575
|
* Used in R* MP Script fm_mission_controller and various R* SP Scripts for ambush*
|
|
1521
1576
|
*
|
|
1522
1577
|
* @param patternHash
|
|
1523
1578
|
*/
|
|
1524
|
-
|
|
1579
|
+
set FiringPattern2(patternHash: string | number);
|
|
1525
1580
|
/**
|
|
1526
1581
|
* @returns outBone
|
|
1527
1582
|
*/
|
|
1528
|
-
|
|
1583
|
+
get LastDamageBone(): [boolean, number];
|
|
1529
1584
|
/**
|
|
1530
1585
|
* @param variableName
|
|
1531
1586
|
*/
|
|
@@ -1536,11 +1591,11 @@ export declare class Ped extends Entity {
|
|
|
1536
1591
|
*
|
|
1537
1592
|
* @param toggle
|
|
1538
1593
|
*/
|
|
1539
|
-
|
|
1594
|
+
set AsCop(toggle: boolean);
|
|
1540
1595
|
/**
|
|
1541
1596
|
* @param value
|
|
1542
1597
|
*/
|
|
1543
|
-
|
|
1598
|
+
set IdRange(value: number);
|
|
1544
1599
|
/**
|
|
1545
1600
|
* @param groupId
|
|
1546
1601
|
* @param p2
|
|
@@ -1558,11 +1613,11 @@ export declare class Ped extends Entity {
|
|
|
1558
1613
|
/**
|
|
1559
1614
|
* @param bEnableIK
|
|
1560
1615
|
*/
|
|
1561
|
-
|
|
1616
|
+
set CanBodyRecoilIk(bEnableIK: boolean);
|
|
1562
1617
|
/**
|
|
1563
1618
|
* @returns
|
|
1564
1619
|
*/
|
|
1565
|
-
|
|
1620
|
+
get LastMount(): Ped | null;
|
|
1566
1621
|
/**
|
|
1567
1622
|
* Changes health bar around heart core icon
|
|
1568
1623
|
* INITIALISE_NEW_ROLE - Applying Super Jump buffs: p1 = 10, p2 = 0.0f
|
|
@@ -1576,7 +1631,7 @@ export declare class Ped extends Entity {
|
|
|
1576
1631
|
/**
|
|
1577
1632
|
* @returns
|
|
1578
1633
|
*/
|
|
1579
|
-
|
|
1634
|
+
get RelationshipGroupHash(): number;
|
|
1580
1635
|
/**
|
|
1581
1636
|
* @param team
|
|
1582
1637
|
* @param toggle
|
|
@@ -1596,11 +1651,11 @@ export declare class Ped extends Entity {
|
|
|
1596
1651
|
/**
|
|
1597
1652
|
* @param multiplier
|
|
1598
1653
|
*/
|
|
1599
|
-
|
|
1654
|
+
set LodMultiplier(multiplier: number);
|
|
1600
1655
|
/**
|
|
1601
1656
|
* @returns
|
|
1602
1657
|
*/
|
|
1603
|
-
|
|
1658
|
+
get IsIntimidated(): any;
|
|
1604
1659
|
/**
|
|
1605
1660
|
* eventType: https://alloc8or.re/rdr3/doc/enums/eEventType.txt
|
|
1606
1661
|
*
|
|
@@ -1620,15 +1675,15 @@ export declare class Ped extends Entity {
|
|
|
1620
1675
|
/**
|
|
1621
1676
|
* @returns
|
|
1622
1677
|
*/
|
|
1623
|
-
|
|
1678
|
+
get IsSitting(): boolean;
|
|
1624
1679
|
/**
|
|
1625
1680
|
* @returns
|
|
1626
1681
|
*/
|
|
1627
|
-
|
|
1682
|
+
get NumComponentsInPed(): number;
|
|
1628
1683
|
/**
|
|
1629
1684
|
* @returns
|
|
1630
1685
|
*/
|
|
1631
|
-
|
|
1686
|
+
get IsSwimmingUnderWater(): boolean;
|
|
1632
1687
|
/**
|
|
1633
1688
|
* _SET_PED_T* - SET_PED_U*
|
|
1634
1689
|
*
|
|
@@ -1639,11 +1694,11 @@ export declare class Ped extends Entity {
|
|
|
1639
1694
|
/**
|
|
1640
1695
|
* @returns
|
|
1641
1696
|
*/
|
|
1642
|
-
|
|
1697
|
+
get CombatRange(): ePedCombatRange;
|
|
1643
1698
|
/**
|
|
1644
1699
|
* @param grappleAction
|
|
1645
1700
|
*/
|
|
1646
|
-
|
|
1701
|
+
set GrappleAction(grappleAction: string | number);
|
|
1647
1702
|
/**
|
|
1648
1703
|
* *RESET_PED**
|
|
1649
1704
|
*
|
|
@@ -1676,11 +1731,11 @@ export declare class Ped extends Entity {
|
|
|
1676
1731
|
/**
|
|
1677
1732
|
* @returns
|
|
1678
1733
|
*/
|
|
1679
|
-
|
|
1734
|
+
get IsReadyToRender(): boolean;
|
|
1680
1735
|
/**
|
|
1681
1736
|
* @param value
|
|
1682
1737
|
*/
|
|
1683
|
-
|
|
1738
|
+
set SeeingRange(value: number);
|
|
1684
1739
|
/**
|
|
1685
1740
|
* Copies ped's components and props to targetPed.
|
|
1686
1741
|
* Can be used to clear anything from a ped by cloning it, including bullet holes.
|
|
@@ -1703,7 +1758,7 @@ export declare class Ped extends Entity {
|
|
|
1703
1758
|
*
|
|
1704
1759
|
* @returns
|
|
1705
1760
|
*/
|
|
1706
|
-
|
|
1761
|
+
get NumComponentCategoriesInPed(): number;
|
|
1707
1762
|
disableInjuredOnGroundBehaviour(): void;
|
|
1708
1763
|
/**
|
|
1709
1764
|
* @param pos
|
|
@@ -1722,7 +1777,7 @@ export declare class Ped extends Entity {
|
|
|
1722
1777
|
/**
|
|
1723
1778
|
* @param toggle
|
|
1724
1779
|
*/
|
|
1725
|
-
|
|
1780
|
+
set CanHeadIk(toggle: boolean);
|
|
1726
1781
|
/**
|
|
1727
1782
|
* *GET_IS_PED*(BLEEDING_OUT?)*
|
|
1728
1783
|
*
|
|
@@ -1741,7 +1796,7 @@ export declare class Ped extends Entity {
|
|
|
1741
1796
|
/**
|
|
1742
1797
|
* @returns
|
|
1743
1798
|
*/
|
|
1744
|
-
|
|
1799
|
+
get IsBeingStealthKilled(): boolean;
|
|
1745
1800
|
/**
|
|
1746
1801
|
* *CLEAR_PED_COMBAT**
|
|
1747
1802
|
*
|
|
@@ -1754,7 +1809,7 @@ export declare class Ped extends Entity {
|
|
|
1754
1809
|
*
|
|
1755
1810
|
* @param toggle
|
|
1756
1811
|
*/
|
|
1757
|
-
|
|
1812
|
+
set ImmersionFlag(toggle: boolean);
|
|
1758
1813
|
/**
|
|
1759
1814
|
* normalized / non normalized
|
|
1760
1815
|
* 0.0 / 1000.0 STARTED IN WRITHE STAGE
|
|
@@ -1782,18 +1837,18 @@ export declare class Ped extends Entity {
|
|
|
1782
1837
|
/**
|
|
1783
1838
|
* @returns
|
|
1784
1839
|
*/
|
|
1785
|
-
|
|
1840
|
+
get GrappleStyle(): number;
|
|
1786
1841
|
N_0x2371C39D4F91C288(): void;
|
|
1787
1842
|
/**
|
|
1788
1843
|
* @returns
|
|
1789
1844
|
*/
|
|
1790
|
-
|
|
1845
|
+
get IsDrunk(): any;
|
|
1791
1846
|
/**
|
|
1792
1847
|
* It adds the wetness level to the player clothing/outfit. As if player just got out from water surface.
|
|
1793
1848
|
*
|
|
1794
1849
|
* @param height
|
|
1795
1850
|
*/
|
|
1796
|
-
|
|
1851
|
+
set WetnessHeight(height: number);
|
|
1797
1852
|
/**
|
|
1798
1853
|
* @param p1
|
|
1799
1854
|
*/
|
|
@@ -1804,7 +1859,7 @@ export declare class Ped extends Entity {
|
|
|
1804
1859
|
*
|
|
1805
1860
|
* @returns
|
|
1806
1861
|
*/
|
|
1807
|
-
|
|
1862
|
+
get IsMetaFish(): any;
|
|
1808
1863
|
/**
|
|
1809
1864
|
* @param enabled
|
|
1810
1865
|
*/
|
|
@@ -1822,7 +1877,7 @@ export declare class Ped extends Entity {
|
|
|
1822
1877
|
*
|
|
1823
1878
|
* @returns
|
|
1824
1879
|
*/
|
|
1825
|
-
|
|
1880
|
+
get StaminaNormalized(): number;
|
|
1826
1881
|
/**
|
|
1827
1882
|
* state:
|
|
1828
1883
|
* enum eKnockOffVehicle
|
|
@@ -1835,11 +1890,11 @@ export declare class Ped extends Entity {
|
|
|
1835
1890
|
*
|
|
1836
1891
|
* @param state
|
|
1837
1892
|
*/
|
|
1838
|
-
|
|
1893
|
+
set CanBeKnockedOffVehicle(state: number);
|
|
1839
1894
|
/**
|
|
1840
1895
|
* @param healthAmount
|
|
1841
1896
|
*/
|
|
1842
|
-
|
|
1897
|
+
set MinHealthThreshold(healthAmount: number);
|
|
1843
1898
|
/**
|
|
1844
1899
|
* _GET_PED_B* - _GET_PED_C*
|
|
1845
1900
|
*
|
|
@@ -1849,7 +1904,7 @@ export declare class Ped extends Entity {
|
|
|
1849
1904
|
/**
|
|
1850
1905
|
* @returns
|
|
1851
1906
|
*/
|
|
1852
|
-
|
|
1907
|
+
get LootingPickupTargetEntity(): Entity | null;
|
|
1853
1908
|
/**
|
|
1854
1909
|
* _TOGGLE_S* - *UPDATE**
|
|
1855
1910
|
*
|
|
@@ -1905,7 +1960,7 @@ export declare class Ped extends Entity {
|
|
|
1905
1960
|
*
|
|
1906
1961
|
* @returns
|
|
1907
1962
|
*/
|
|
1908
|
-
|
|
1963
|
+
get IsOpeningDoor(): boolean;
|
|
1909
1964
|
/**
|
|
1910
1965
|
* _SET_PED_O*
|
|
1911
1966
|
*
|
|
@@ -1917,7 +1972,7 @@ export declare class Ped extends Entity {
|
|
|
1917
1972
|
*
|
|
1918
1973
|
* @param toggle
|
|
1919
1974
|
*/
|
|
1920
|
-
|
|
1975
|
+
set CanBeIncapacitated(toggle: boolean);
|
|
1921
1976
|
/**
|
|
1922
1977
|
* @param player
|
|
1923
1978
|
* @returns
|
|
@@ -1926,7 +1981,7 @@ export declare class Ped extends Entity {
|
|
|
1926
1981
|
/**
|
|
1927
1982
|
* @param hash
|
|
1928
1983
|
*/
|
|
1929
|
-
|
|
1984
|
+
set RelationshipGroupDefaultHash(hash: string | number);
|
|
1930
1985
|
/**
|
|
1931
1986
|
* _GET_PED_D*
|
|
1932
1987
|
*
|
|
@@ -1945,7 +2000,7 @@ export declare class Ped extends Entity {
|
|
|
1945
2000
|
*
|
|
1946
2001
|
* @returns
|
|
1947
2002
|
*/
|
|
1948
|
-
|
|
2003
|
+
get IsReloading(): boolean;
|
|
1949
2004
|
/**
|
|
1950
2005
|
* NB_CUSTOM_CLIENT_ON_CREATE_COMPLETE - set legendary to not avoid prey
|
|
1951
2006
|
*
|
|
@@ -1966,7 +2021,7 @@ export declare class Ped extends Entity {
|
|
|
1966
2021
|
/**
|
|
1967
2022
|
* @returns
|
|
1968
2023
|
*/
|
|
1969
|
-
|
|
2024
|
+
get IsUsingActionMode(): boolean;
|
|
1970
2025
|
/**
|
|
1971
2026
|
* @param p1
|
|
1972
2027
|
* @returns
|
|
@@ -1975,15 +2030,15 @@ export declare class Ped extends Entity {
|
|
|
1975
2030
|
/**
|
|
1976
2031
|
* @param toggle
|
|
1977
2032
|
*/
|
|
1978
|
-
|
|
2033
|
+
set CanTorsoIk(toggle: boolean);
|
|
1979
2034
|
/**
|
|
1980
2035
|
* @returns
|
|
1981
2036
|
*/
|
|
1982
|
-
|
|
2037
|
+
get Tranquilizer(): Ped | null;
|
|
1983
2038
|
/**
|
|
1984
2039
|
* @returns
|
|
1985
2040
|
*/
|
|
1986
|
-
|
|
2041
|
+
get InteractionPersonality(): number;
|
|
1987
2042
|
/**
|
|
1988
2043
|
* *SET_PED*(A?)*
|
|
1989
2044
|
*
|
|
@@ -2018,7 +2073,7 @@ export declare class Ped extends Entity {
|
|
|
2018
2073
|
*
|
|
2019
2074
|
* @returns
|
|
2020
2075
|
*/
|
|
2021
|
-
|
|
2076
|
+
get IsHuman(): boolean;
|
|
2022
2077
|
/**
|
|
2023
2078
|
* @param p1
|
|
2024
2079
|
* @param p2
|
|
@@ -2028,7 +2083,7 @@ export declare class Ped extends Entity {
|
|
|
2028
2083
|
/**
|
|
2029
2084
|
* @returns
|
|
2030
2085
|
*/
|
|
2031
|
-
|
|
2086
|
+
get IsGoingIntoCover(): boolean;
|
|
2032
2087
|
setShouldPlayImmediateScenarioExit(): void;
|
|
2033
2088
|
/**
|
|
2034
2089
|
* @param variableName
|
|
@@ -2048,7 +2103,7 @@ export declare class Ped extends Entity {
|
|
|
2048
2103
|
/**
|
|
2049
2104
|
* @returns
|
|
2050
2105
|
*/
|
|
2051
|
-
|
|
2106
|
+
get VehicleDraftHorseIsAttachedTo(): Vehicle | null;
|
|
2052
2107
|
/**
|
|
2053
2108
|
* This is a way to get what drawables a ped has equipped
|
|
2054
2109
|
* Example: you are able to tell if the ped has the drawable PLAYER_ZERO_HAT_017 attached
|
|
@@ -2116,7 +2171,7 @@ export declare class Ped extends Entity {
|
|
|
2116
2171
|
*
|
|
2117
2172
|
* @param brawlingStyle
|
|
2118
2173
|
*/
|
|
2119
|
-
|
|
2174
|
+
set BrawlingStyle(brawlingStyle: string | number);
|
|
2120
2175
|
/**
|
|
2121
2176
|
* You can also get the entity being carried and the entity it was taken from with a buffer on `ents`. Status:
|
|
2122
2177
|
* INVALID = 0,
|
|
@@ -2160,7 +2215,7 @@ export declare class Ped extends Entity {
|
|
|
2160
2215
|
/**
|
|
2161
2216
|
* @returns
|
|
2162
2217
|
*/
|
|
2163
|
-
|
|
2218
|
+
get IsInAnyPlane(): boolean;
|
|
2164
2219
|
/**
|
|
2165
2220
|
* @param modelHash
|
|
2166
2221
|
* @returns
|
|
@@ -2169,7 +2224,7 @@ export declare class Ped extends Entity {
|
|
|
2169
2224
|
/**
|
|
2170
2225
|
* @returns
|
|
2171
2226
|
*/
|
|
2172
|
-
|
|
2227
|
+
get IsInGroup(): boolean;
|
|
2173
2228
|
/**
|
|
2174
2229
|
* For more information, see common:/data/emotional_presets.meta
|
|
2175
2230
|
*
|
|
@@ -2185,11 +2240,11 @@ export declare class Ped extends Entity {
|
|
|
2185
2240
|
/**
|
|
2186
2241
|
* @returns
|
|
2187
2242
|
*/
|
|
2188
|
-
|
|
2243
|
+
get AccuracyAgainstLocalPlayerModifier(): number;
|
|
2189
2244
|
/**
|
|
2190
2245
|
* @returns
|
|
2191
2246
|
*/
|
|
2192
|
-
|
|
2247
|
+
get NumMetaOutfits(): number;
|
|
2193
2248
|
N_0x2D976DBDC731DF80(): void;
|
|
2194
2249
|
/**
|
|
2195
2250
|
* Hashes: GS_DRAGGING, GS_FACE_TO_BACK, GS_FACE_TO_FACE, GS_FACE_TO_FACE_WALL, GS_MOUNTED
|
|
@@ -2217,11 +2272,11 @@ export declare class Ped extends Entity {
|
|
|
2217
2272
|
/**
|
|
2218
2273
|
* @returns
|
|
2219
2274
|
*/
|
|
2220
|
-
|
|
2275
|
+
get RelationshipGroupDefaultHash(): number;
|
|
2221
2276
|
/**
|
|
2222
2277
|
* @param groupId
|
|
2223
2278
|
*/
|
|
2224
|
-
|
|
2279
|
+
set AsGroupMember(groupId: number);
|
|
2225
2280
|
/**
|
|
2226
2281
|
* _SET_HO*
|
|
2227
2282
|
*
|
|
@@ -2231,7 +2286,7 @@ export declare class Ped extends Entity {
|
|
|
2231
2286
|
/**
|
|
2232
2287
|
* @returns
|
|
2233
2288
|
*/
|
|
2234
|
-
|
|
2289
|
+
get Grappler(): Ped | null;
|
|
2235
2290
|
/**
|
|
2236
2291
|
* @param variableName
|
|
2237
2292
|
* @returns
|
|
@@ -2254,11 +2309,11 @@ export declare class Ped extends Entity {
|
|
|
2254
2309
|
/**
|
|
2255
2310
|
* @param toggle
|
|
2256
2311
|
*/
|
|
2257
|
-
|
|
2312
|
+
set PauseWritheBleedout(toggle: boolean);
|
|
2258
2313
|
/**
|
|
2259
2314
|
* @returns
|
|
2260
2315
|
*/
|
|
2261
|
-
|
|
2316
|
+
get IsRespondingToThreat(): boolean;
|
|
2262
2317
|
/**
|
|
2263
2318
|
* @param metapedType
|
|
2264
2319
|
* @param p2
|
|
@@ -2274,11 +2329,11 @@ export declare class Ped extends Entity {
|
|
|
2274
2329
|
/**
|
|
2275
2330
|
* @param value
|
|
2276
2331
|
*/
|
|
2277
|
-
|
|
2332
|
+
set HearingRange(value: number);
|
|
2278
2333
|
/**
|
|
2279
2334
|
* @param relationshipGroup
|
|
2280
2335
|
*/
|
|
2281
|
-
|
|
2336
|
+
set RelationshipGroupHash(relationshipGroup: string | number);
|
|
2282
2337
|
/**
|
|
2283
2338
|
* @param pos
|
|
2284
2339
|
* @param radius
|
|
@@ -2294,13 +2349,13 @@ export declare class Ped extends Entity {
|
|
|
2294
2349
|
/**
|
|
2295
2350
|
* @param sweat
|
|
2296
2351
|
*/
|
|
2297
|
-
|
|
2352
|
+
set Sweat(sweat: number);
|
|
2298
2353
|
/**
|
|
2299
2354
|
* Returns the entity that killed the ped It is best to check if the Ped is dead before asking for its killer.
|
|
2300
2355
|
*
|
|
2301
2356
|
* @returns
|
|
2302
2357
|
*/
|
|
2303
|
-
|
|
2358
|
+
get SourceOfDeath(): Entity | null;
|
|
2304
2359
|
/**
|
|
2305
2360
|
* Only used in SP R* Script train_robbery3: p1 = CLIPSET@VEH_TRAIN@HANDCART@BASE_PANIC & CLIPSET@VEH_TRAIN@HANDCART@BASE_PANIC_JOHN
|
|
2306
2361
|
*
|
|
@@ -2330,7 +2385,7 @@ export declare class Ped extends Entity {
|
|
|
2330
2385
|
/**
|
|
2331
2386
|
* @param value
|
|
2332
2387
|
*/
|
|
2333
|
-
|
|
2388
|
+
set VisualFieldMinAngle(value: number);
|
|
2334
2389
|
/**
|
|
2335
2390
|
* _SET_PED_IN*
|
|
2336
2391
|
*
|
|
@@ -2344,7 +2399,7 @@ export declare class Ped extends Entity {
|
|
|
2344
2399
|
/**
|
|
2345
2400
|
* @returns
|
|
2346
2401
|
*/
|
|
2347
|
-
|
|
2402
|
+
get IsFalling(): boolean;
|
|
2348
2403
|
/**
|
|
2349
2404
|
* @param flags Refer to [enum: eRagdollBlockingFlags]
|
|
2350
2405
|
*/
|
|
@@ -2352,7 +2407,7 @@ export declare class Ped extends Entity {
|
|
|
2352
2407
|
/**
|
|
2353
2408
|
* @returns
|
|
2354
2409
|
*/
|
|
2355
|
-
|
|
2410
|
+
get IsLassoed(): boolean;
|
|
2356
2411
|
/**
|
|
2357
2412
|
* @param object
|
|
2358
2413
|
* @param p2
|
|
@@ -2373,14 +2428,14 @@ export declare class Ped extends Entity {
|
|
|
2373
2428
|
*
|
|
2374
2429
|
* @param patternHash
|
|
2375
2430
|
*/
|
|
2376
|
-
|
|
2431
|
+
set FiringPattern3(patternHash: string | number);
|
|
2377
2432
|
/**
|
|
2378
2433
|
* Hashes: STANDARD_PED_AGRO_GUARD, BOUNTY_HUNTER, PLAYER_HORSE, LAW_POLICE, GUARD_DOG, ATTACK_DOG
|
|
2379
2434
|
* Personalities can also be found in common:/data/ai/interactionpersonalities
|
|
2380
2435
|
*
|
|
2381
2436
|
* @param personality
|
|
2382
2437
|
*/
|
|
2383
|
-
|
|
2438
|
+
set Personality(personality: string | number);
|
|
2384
2439
|
/**
|
|
2385
2440
|
* Triggers a gunshot
|
|
2386
2441
|
* Params: p5 = -1 in R* Scripts
|
|
@@ -2409,15 +2464,15 @@ export declare class Ped extends Entity {
|
|
|
2409
2464
|
/**
|
|
2410
2465
|
* @returns
|
|
2411
2466
|
*/
|
|
2412
|
-
|
|
2467
|
+
get IsUsingAnyScenario(): boolean;
|
|
2413
2468
|
/**
|
|
2414
2469
|
* @param amount
|
|
2415
2470
|
*/
|
|
2416
|
-
|
|
2471
|
+
set Money(amount: number);
|
|
2417
2472
|
/**
|
|
2418
2473
|
* @returns
|
|
2419
2474
|
*/
|
|
2420
|
-
|
|
2475
|
+
get Stamina(): number;
|
|
2421
2476
|
/**
|
|
2422
2477
|
* Not implemented.
|
|
2423
2478
|
*
|
|
@@ -2451,7 +2506,7 @@ export declare class Ped extends Entity {
|
|
|
2451
2506
|
*
|
|
2452
2507
|
* @param bonus
|
|
2453
2508
|
*/
|
|
2454
|
-
|
|
2509
|
+
set TotalDamageFalloffBonus(bonus: number);
|
|
2455
2510
|
/**
|
|
2456
2511
|
* Old name: _SET_PED_SHOULD_PLAY_DIRECTED_SCENARIO_EXIT
|
|
2457
2512
|
*
|
|
@@ -2464,7 +2519,7 @@ export declare class Ped extends Entity {
|
|
|
2464
2519
|
*
|
|
2465
2520
|
* @param memoryType
|
|
2466
2521
|
*/
|
|
2467
|
-
|
|
2522
|
+
set SimplePlayerMemory(memoryType: number);
|
|
2468
2523
|
/**
|
|
2469
2524
|
* something to do with speech lines?
|
|
2470
2525
|
* some hashs MAR2_RIDE1, MAR2_RIDE1, RBCH1_RIDE1, SAD5_RIDE1
|
|
@@ -2476,11 +2531,11 @@ export declare class Ped extends Entity {
|
|
|
2476
2531
|
/**
|
|
2477
2532
|
* @returns
|
|
2478
2533
|
*/
|
|
2479
|
-
|
|
2534
|
+
get ActiveAnimalOwner(): Ped | null;
|
|
2480
2535
|
/**
|
|
2481
2536
|
* @returns
|
|
2482
2537
|
*/
|
|
2483
|
-
|
|
2538
|
+
get Type(): number;
|
|
2484
2539
|
/**
|
|
2485
2540
|
* Only used in SP R* Script rcm_jack2
|
|
2486
2541
|
*
|
|
@@ -2496,7 +2551,7 @@ export declare class Ped extends Entity {
|
|
|
2496
2551
|
*
|
|
2497
2552
|
* @returns
|
|
2498
2553
|
*/
|
|
2499
|
-
|
|
2554
|
+
get LassoerOfPed(): Entity | null;
|
|
2500
2555
|
/**
|
|
2501
2556
|
* Only used in SP R* Script winter1: p1 = Winter1Mount
|
|
2502
2557
|
*
|
|
@@ -2506,21 +2561,21 @@ export declare class Ped extends Entity {
|
|
|
2506
2561
|
/**
|
|
2507
2562
|
* @returns
|
|
2508
2563
|
*/
|
|
2509
|
-
|
|
2564
|
+
get CrouchMovement(): any;
|
|
2510
2565
|
/**
|
|
2511
2566
|
* @returns
|
|
2512
2567
|
*/
|
|
2513
|
-
|
|
2568
|
+
get IsRunningMobilePhoneTask(): boolean;
|
|
2514
2569
|
/**
|
|
2515
2570
|
* @returns
|
|
2516
2571
|
*/
|
|
2517
|
-
|
|
2572
|
+
get IsInCoverFacingLeft(): boolean;
|
|
2518
2573
|
/**
|
|
2519
2574
|
* accuracy = 0-100, 100 being perfectly accurate
|
|
2520
2575
|
*
|
|
2521
2576
|
* @param accuracy
|
|
2522
2577
|
*/
|
|
2523
|
-
|
|
2578
|
+
set Accuracy(accuracy: number);
|
|
2524
2579
|
/**
|
|
2525
2580
|
* _IS_PED_S* - _IS_PED_U*
|
|
2526
2581
|
*
|
|
@@ -2542,15 +2597,15 @@ export declare class Ped extends Entity {
|
|
|
2542
2597
|
/**
|
|
2543
2598
|
* @param multiplier
|
|
2544
2599
|
*/
|
|
2545
|
-
|
|
2600
|
+
set HeadshotDamageMultiplier(multiplier: number);
|
|
2546
2601
|
/**
|
|
2547
2602
|
* @returns Returns `true` if the ped is in the water, or on a boat that is in the water.
|
|
2548
2603
|
*/
|
|
2549
|
-
|
|
2604
|
+
get IsAfloat(): boolean;
|
|
2550
2605
|
/**
|
|
2551
2606
|
* @returns
|
|
2552
2607
|
*/
|
|
2553
|
-
|
|
2608
|
+
get IsAPlayer(): boolean;
|
|
2554
2609
|
/**
|
|
2555
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.
|
|
2556
2611
|
*/
|
|
@@ -2560,11 +2615,11 @@ export declare class Ped extends Entity {
|
|
|
2560
2615
|
*
|
|
2561
2616
|
* @returns
|
|
2562
2617
|
*/
|
|
2563
|
-
|
|
2618
|
+
get NumReservedStamina(): number;
|
|
2564
2619
|
/**
|
|
2565
2620
|
* @returns
|
|
2566
2621
|
*/
|
|
2567
|
-
|
|
2622
|
+
get IsJacking(): boolean;
|
|
2568
2623
|
/**
|
|
2569
2624
|
* _SET_PED_IN*
|
|
2570
2625
|
*
|
|
@@ -2585,7 +2640,7 @@ export declare class Ped extends Entity {
|
|
|
2585
2640
|
/**
|
|
2586
2641
|
* @param gxtEntryHash
|
|
2587
2642
|
*/
|
|
2588
|
-
|
|
2643
|
+
set PromptNameFromGxtEntry2(gxtEntryHash: string | number);
|
|
2589
2644
|
/**
|
|
2590
2645
|
* Update variation on ped, needed after first creation, or when component or texture/overlay is changed
|
|
2591
2646
|
*
|
|
@@ -2685,7 +2740,7 @@ export declare class Ped extends Entity {
|
|
|
2685
2740
|
/**
|
|
2686
2741
|
* @returns
|
|
2687
2742
|
*/
|
|
2688
|
-
|
|
2743
|
+
get PedsJacker(): Ped | null;
|
|
2689
2744
|
/**
|
|
2690
2745
|
* Seems to set the ped's loco type.
|
|
2691
2746
|
* Values used in the scripts:
|
|
@@ -2716,7 +2771,7 @@ export declare class Ped extends Entity {
|
|
|
2716
2771
|
*
|
|
2717
2772
|
* @param locomotionArchetype
|
|
2718
2773
|
*/
|
|
2719
|
-
|
|
2774
|
+
set DesiredLocoForModel(locomotionArchetype: string | null);
|
|
2720
2775
|
/**
|
|
2721
2776
|
* @param player
|
|
2722
2777
|
* @returns
|
|
@@ -2744,7 +2799,7 @@ export declare class Ped extends Entity {
|
|
|
2744
2799
|
*
|
|
2745
2800
|
* @param amount How wet the ped should appear ranges from `0.0`-`1.0`
|
|
2746
2801
|
*/
|
|
2747
|
-
|
|
2802
|
+
set Wetness(amount: number);
|
|
2748
2803
|
/**
|
|
2749
2804
|
* _CLEAR_PED_M*
|
|
2750
2805
|
*
|
|
@@ -2762,7 +2817,7 @@ export declare class Ped extends Entity {
|
|
|
2762
2817
|
/**
|
|
2763
2818
|
* @returns Refer to [enum: ePedDamageCleanliness]
|
|
2764
2819
|
*/
|
|
2765
|
-
|
|
2820
|
+
get DamageCleanliness(): number;
|
|
2766
2821
|
/**
|
|
2767
2822
|
* Same as SET_PED_ARMOUR, but ADDS 'amount' to the armor the Ped already has.
|
|
2768
2823
|
*
|
|
@@ -2776,7 +2831,7 @@ export declare class Ped extends Entity {
|
|
|
2776
2831
|
*
|
|
2777
2832
|
* @param responseType
|
|
2778
2833
|
*/
|
|
2779
|
-
|
|
2834
|
+
set TargetLossResponse(responseType: number);
|
|
2780
2835
|
/**
|
|
2781
2836
|
* If returned true, SET_ENABLE_BOUND_ANKLES is called in R* Script guama2
|
|
2782
2837
|
* _GET_D* - _GET_E*
|
|
@@ -2788,15 +2843,15 @@ export declare class Ped extends Entity {
|
|
|
2788
2843
|
* @param p1
|
|
2789
2844
|
* @returns
|
|
2790
2845
|
*/
|
|
2791
|
-
isLocationSpawnSafe(p1: number):
|
|
2846
|
+
isLocationSpawnSafe(p1: number): boolean;
|
|
2792
2847
|
/**
|
|
2793
2848
|
* @param modifier
|
|
2794
2849
|
*/
|
|
2795
|
-
|
|
2850
|
+
set AccuracyAgainstLocalPlayerModifier(modifier: number);
|
|
2796
2851
|
/**
|
|
2797
2852
|
* @param speech
|
|
2798
2853
|
*/
|
|
2799
|
-
|
|
2854
|
+
set InteractionNegativeResponse(speech: string | null);
|
|
2800
2855
|
/**
|
|
2801
2856
|
* *CAN_PED**
|
|
2802
2857
|
*
|
|
@@ -2808,7 +2863,7 @@ export declare class Ped extends Entity {
|
|
|
2808
2863
|
/**
|
|
2809
2864
|
* @returns
|
|
2810
2865
|
*/
|
|
2811
|
-
|
|
2866
|
+
get LassoTarget(): Entity | null;
|
|
2812
2867
|
/**
|
|
2813
2868
|
* Params: p2, p3 usually 0 in R* Scripts
|
|
2814
2869
|
*
|
|
@@ -2820,7 +2875,7 @@ export declare class Ped extends Entity {
|
|
|
2820
2875
|
/**
|
|
2821
2876
|
* @param range
|
|
2822
2877
|
*/
|
|
2823
|
-
|
|
2878
|
+
set VisualFieldPeripheralRange(range: number);
|
|
2824
2879
|
/**
|
|
2825
2880
|
* Returns boneIndex
|
|
2826
2881
|
*
|
|
@@ -2831,20 +2886,20 @@ export declare class Ped extends Entity {
|
|
|
2831
2886
|
/**
|
|
2832
2887
|
* @returns
|
|
2833
2888
|
*/
|
|
2834
|
-
|
|
2889
|
+
get BlockingOfNonTemporaryEvents(): any;
|
|
2835
2890
|
/**
|
|
2836
2891
|
* Returns kneeling, sitting, squating, and sleeping scenario hashes
|
|
2837
2892
|
*
|
|
2838
2893
|
* @returns
|
|
2839
2894
|
*/
|
|
2840
|
-
|
|
2895
|
+
get ActiveDynamicScenario2(): number;
|
|
2841
2896
|
/**
|
|
2842
2897
|
* Returns ped drunk level
|
|
2843
2898
|
* _H* or _I*
|
|
2844
2899
|
*
|
|
2845
2900
|
* @returns
|
|
2846
2901
|
*/
|
|
2847
|
-
|
|
2902
|
+
get Drunkness(): number;
|
|
2848
2903
|
/**
|
|
2849
2904
|
* This only will teleport the ped to the group leader if the group leader teleports (sets coords). Only works in singleplayer
|
|
2850
2905
|
*
|
|
@@ -2879,7 +2934,7 @@ export declare class Ped extends Entity {
|
|
|
2879
2934
|
/**
|
|
2880
2935
|
* @returns
|
|
2881
2936
|
*/
|
|
2882
|
-
|
|
2937
|
+
get LassoedLassoer(): Ped | null;
|
|
2883
2938
|
/**
|
|
2884
2939
|
* @param p2
|
|
2885
2940
|
*/
|
|
@@ -2888,7 +2943,7 @@ export declare class Ped extends Entity {
|
|
|
2888
2943
|
/**
|
|
2889
2944
|
* @returns
|
|
2890
2945
|
*/
|
|
2891
|
-
|
|
2946
|
+
get SeatIsTryingToEnter(): number;
|
|
2892
2947
|
/**
|
|
2893
2948
|
* combatType can be between 0-14. See GET_COMBAT_FLOAT below for a list of possible parameters.
|
|
2894
2949
|
* https://github.com/femga/rdr3_discoveries/tree/master/AI/COMBAT_FLOATS
|
|
@@ -2903,15 +2958,15 @@ export declare class Ped extends Entity {
|
|
|
2903
2958
|
*
|
|
2904
2959
|
* @param configHash
|
|
2905
2960
|
*/
|
|
2906
|
-
|
|
2961
|
+
set HealthConfig(configHash: string | number);
|
|
2907
2962
|
/**
|
|
2908
2963
|
* @param value
|
|
2909
2964
|
*/
|
|
2910
|
-
|
|
2965
|
+
set MinMoveBlendRatio(value: number);
|
|
2911
2966
|
/**
|
|
2912
2967
|
* @returns
|
|
2913
2968
|
*/
|
|
2914
|
-
|
|
2969
|
+
get GrappleFlag(): number;
|
|
2915
2970
|
/**
|
|
2916
2971
|
* @param p1
|
|
2917
2972
|
* @param p2
|
|
@@ -2920,7 +2975,7 @@ export declare class Ped extends Entity {
|
|
|
2920
2975
|
/**
|
|
2921
2976
|
* @param toggle
|
|
2922
2977
|
*/
|
|
2923
|
-
|
|
2978
|
+
set BlockingOfNonTemporaryEvents(toggle: boolean);
|
|
2924
2979
|
/**
|
|
2925
2980
|
* -1 - HORSE_ASSIST__NO_CHANGE
|
|
2926
2981
|
* 0 - HORSE_ASSIST__MANUAL
|
|
@@ -2929,7 +2984,7 @@ export declare class Ped extends Entity {
|
|
|
2929
2984
|
*
|
|
2930
2985
|
* @param avoidanceLevel
|
|
2931
2986
|
*/
|
|
2932
|
-
|
|
2987
|
+
set HorseAvoidanceLevel(avoidanceLevel: number);
|
|
2933
2988
|
/**
|
|
2934
2989
|
* Can be used to get a peds foliage active status: variableName = FoliageActive
|
|
2935
2990
|
*
|
|
@@ -2960,7 +3015,7 @@ export declare class Ped extends Entity {
|
|
|
2960
3015
|
/**
|
|
2961
3016
|
* @returns
|
|
2962
3017
|
*/
|
|
2963
|
-
|
|
3018
|
+
get IsAimingFromCover(): boolean;
|
|
2964
3019
|
/**
|
|
2965
3020
|
* Size will be permanent
|
|
2966
3021
|
*
|
|
@@ -2981,13 +3036,13 @@ export declare class Ped extends Entity {
|
|
|
2981
3036
|
/**
|
|
2982
3037
|
* @param gxtEntryHash
|
|
2983
3038
|
*/
|
|
2984
|
-
|
|
3039
|
+
set PromptNameFromGxtEntry(gxtEntryHash: string | number);
|
|
2985
3040
|
/**
|
|
2986
3041
|
* Returns Ped Quality to be used to calculate Skinning Quality
|
|
2987
3042
|
*
|
|
2988
3043
|
* @returns
|
|
2989
3044
|
*/
|
|
2990
|
-
|
|
3045
|
+
get Quality(): number;
|
|
2991
3046
|
/**
|
|
2992
3047
|
* @param commandHash
|
|
2993
3048
|
* @returns
|
|
@@ -3025,11 +3080,11 @@ export declare class Ped extends Entity {
|
|
|
3025
3080
|
/**
|
|
3026
3081
|
* @param name
|
|
3027
3082
|
*/
|
|
3028
|
-
|
|
3083
|
+
set PromptName(name: string | null);
|
|
3029
3084
|
/**
|
|
3030
3085
|
* @param grappleAnim
|
|
3031
3086
|
*/
|
|
3032
|
-
|
|
3087
|
+
set GrappleAnimation(grappleAnim: string | number);
|
|
3033
3088
|
/**
|
|
3034
3089
|
* *FORCE_PED**
|
|
3035
3090
|
*
|
|
@@ -3062,7 +3117,7 @@ export declare class Ped extends Entity {
|
|
|
3062
3117
|
/**
|
|
3063
3118
|
* @param combatMovement Refer to [enum: ePedCombatMovement]
|
|
3064
3119
|
*/
|
|
3065
|
-
|
|
3120
|
+
set CombatMovement(combatMovement: ePedCombatMovement);
|
|
3066
3121
|
/**
|
|
3067
3122
|
* @returns
|
|
3068
3123
|
*/
|
|
@@ -3072,14 +3127,14 @@ export declare class Ped extends Entity {
|
|
|
3072
3127
|
*
|
|
3073
3128
|
* @returns
|
|
3074
3129
|
*/
|
|
3075
|
-
|
|
3130
|
+
get StealthMovement(): boolean;
|
|
3076
3131
|
/**
|
|
3077
3132
|
* Returns whether or not a ped is visible within your FOV, not this check auto's to false after a certain distance.
|
|
3078
3133
|
* Target needs to be tracked first, won't work otherwise.
|
|
3079
3134
|
*
|
|
3080
3135
|
* @returns
|
|
3081
3136
|
*/
|
|
3082
|
-
|
|
3137
|
+
get IsTrackedVisible(): boolean;
|
|
3083
3138
|
/**
|
|
3084
3139
|
* Changes Multiplayer ped face and body type components, they can be stacked
|
|
3085
3140
|
* Params: p3 = 1
|
|
@@ -3116,7 +3171,7 @@ export declare class Ped extends Entity {
|
|
|
3116
3171
|
*
|
|
3117
3172
|
* @returns
|
|
3118
3173
|
*/
|
|
3119
|
-
|
|
3174
|
+
get IsInMeleeCombat(): boolean;
|
|
3120
3175
|
/**
|
|
3121
3176
|
* @param object
|
|
3122
3177
|
* @param propName
|
|
@@ -3126,7 +3181,7 @@ export declare class Ped extends Entity {
|
|
|
3126
3181
|
/**
|
|
3127
3182
|
* @returns
|
|
3128
3183
|
*/
|
|
3129
|
-
|
|
3184
|
+
get MotionFocusEntity(): Entity | null;
|
|
3130
3185
|
/**
|
|
3131
3186
|
* @param vehicle
|
|
3132
3187
|
* @returns
|
|
@@ -3147,7 +3202,7 @@ export declare class Ped extends Entity {
|
|
|
3147
3202
|
/**
|
|
3148
3203
|
* @returns
|
|
3149
3204
|
*/
|
|
3150
|
-
|
|
3205
|
+
get IsDiving(): boolean;
|
|
3151
3206
|
/**
|
|
3152
3207
|
* @param state
|
|
3153
3208
|
* @param p2
|
|
@@ -3169,19 +3224,19 @@ export declare class Ped extends Entity {
|
|
|
3169
3224
|
*
|
|
3170
3225
|
* @param name
|
|
3171
3226
|
*/
|
|
3172
|
-
|
|
3227
|
+
set NameDebug(name: string | null);
|
|
3173
3228
|
/**
|
|
3174
3229
|
* @returns
|
|
3175
3230
|
*/
|
|
3176
|
-
|
|
3231
|
+
get IsInFlyingVehicle(): boolean;
|
|
3177
3232
|
/**
|
|
3178
3233
|
* @returns
|
|
3179
3234
|
*/
|
|
3180
|
-
|
|
3235
|
+
get IsGettingIntoAVehicle(): boolean;
|
|
3181
3236
|
/**
|
|
3182
3237
|
* @returns
|
|
3183
3238
|
*/
|
|
3184
|
-
|
|
3239
|
+
get IsUsingActionMode2(): any;
|
|
3185
3240
|
/**
|
|
3186
3241
|
* p2 is always 0, p3 is always 0, p4 is always 1
|
|
3187
3242
|
*
|
|
@@ -3195,26 +3250,26 @@ export declare class Ped extends Entity {
|
|
|
3195
3250
|
/**
|
|
3196
3251
|
* @returns
|
|
3197
3252
|
*/
|
|
3198
|
-
|
|
3253
|
+
get IsCarryingSomething(): boolean;
|
|
3199
3254
|
setMoveAnimsBlendOut(): void;
|
|
3200
3255
|
/**
|
|
3201
3256
|
* @param angle
|
|
3202
3257
|
*/
|
|
3203
|
-
|
|
3258
|
+
set VisualFieldCenterAngle(angle: number);
|
|
3204
3259
|
/**
|
|
3205
3260
|
* @returns
|
|
3206
3261
|
*/
|
|
3207
|
-
|
|
3262
|
+
get IsDoingScenarioTransition(): any;
|
|
3208
3263
|
/**
|
|
3209
3264
|
* https://github.com/femga/rdr3_discoveries/tree/master/AI/RAGDOLL_BLOCKING_FLAGS
|
|
3210
3265
|
*
|
|
3211
3266
|
* @param flags Refer to [enum: eRagdollBlockingFlags]
|
|
3212
3267
|
*/
|
|
3213
|
-
|
|
3268
|
+
set RagdollBlockingFlags(flags: number);
|
|
3214
3269
|
/**
|
|
3215
3270
|
* @param toggle
|
|
3216
3271
|
*/
|
|
3217
|
-
|
|
3272
|
+
set Gravity(toggle: boolean);
|
|
3218
3273
|
/**
|
|
3219
3274
|
* Returns loot state
|
|
3220
3275
|
* enum eLootState
|
|
@@ -3244,7 +3299,7 @@ export declare class Ped extends Entity {
|
|
|
3244
3299
|
*
|
|
3245
3300
|
* @param playerType
|
|
3246
3301
|
*/
|
|
3247
|
-
|
|
3302
|
+
set ActivePlayerType(playerType: string | number);
|
|
3248
3303
|
/**
|
|
3249
3304
|
* Deletes the specified ped, then sets the handle pointed to by the pointer to NULL.
|
|
3250
3305
|
*/
|
|
@@ -3253,11 +3308,11 @@ export declare class Ped extends Entity {
|
|
|
3253
3308
|
/**
|
|
3254
3309
|
* @returns
|
|
3255
3310
|
*/
|
|
3256
|
-
|
|
3311
|
+
get IsStopped(): boolean;
|
|
3257
3312
|
/**
|
|
3258
3313
|
* @param p1
|
|
3259
3314
|
*/
|
|
3260
|
-
|
|
3315
|
+
set RemoveNetworked(p1: number);
|
|
3261
3316
|
/**
|
|
3262
3317
|
* _RESET_PED_C*
|
|
3263
3318
|
*/
|
|
@@ -3270,7 +3325,7 @@ export declare class Ped extends Entity {
|
|
|
3270
3325
|
/**
|
|
3271
3326
|
* @param flags
|
|
3272
3327
|
*/
|
|
3273
|
-
|
|
3328
|
+
set IncapacitationFlags(flags: number);
|
|
3274
3329
|
/**
|
|
3275
3330
|
* @param entity
|
|
3276
3331
|
* @param pos
|
|
@@ -3282,7 +3337,7 @@ export declare class Ped extends Entity {
|
|
|
3282
3337
|
/**
|
|
3283
3338
|
* @param range Refer to [enum: ePedCombatRange]
|
|
3284
3339
|
*/
|
|
3285
|
-
|
|
3340
|
+
set CombatRange(range: ePedCombatRange);
|
|
3286
3341
|
/**
|
|
3287
3342
|
* angle is ped's view cone
|
|
3288
3343
|
*
|
|
@@ -3294,7 +3349,7 @@ export declare class Ped extends Entity {
|
|
|
3294
3349
|
/**
|
|
3295
3350
|
* @returns
|
|
3296
3351
|
*/
|
|
3297
|
-
|
|
3352
|
+
get IsQueuedForDeletion(): any;
|
|
3298
3353
|
/**
|
|
3299
3354
|
* _SET_D*
|
|
3300
3355
|
*
|
|
@@ -3305,12 +3360,12 @@ export declare class Ped extends Entity {
|
|
|
3305
3360
|
/**
|
|
3306
3361
|
* @param index
|
|
3307
3362
|
*/
|
|
3308
|
-
|
|
3363
|
+
set GroupMemberPassengerIndex(index: number);
|
|
3309
3364
|
N_0xC9151483CC06A414(): void;
|
|
3310
3365
|
/**
|
|
3311
3366
|
* @returns
|
|
3312
3367
|
*/
|
|
3313
|
-
|
|
3368
|
+
get IsClimbingLadder(): any;
|
|
3314
3369
|
/**
|
|
3315
3370
|
* @param p1
|
|
3316
3371
|
* @param p2
|
|
@@ -3319,14 +3374,14 @@ export declare class Ped extends Entity {
|
|
|
3319
3374
|
/**
|
|
3320
3375
|
* @returns
|
|
3321
3376
|
*/
|
|
3322
|
-
|
|
3377
|
+
get IsHogtying(): boolean;
|
|
3323
3378
|
/**
|
|
3324
3379
|
* Hashes: GUARD, COMBAT_ANIMAL, LAW, LAW_SHERIFF
|
|
3325
3380
|
* _SET_PED_COMBAT_A* - _SET_PED_COMBAT_M*
|
|
3326
3381
|
*
|
|
3327
3382
|
* @param p1
|
|
3328
3383
|
*/
|
|
3329
|
-
|
|
3384
|
+
set CombatAttributeHash(p1: string | number);
|
|
3330
3385
|
/**
|
|
3331
3386
|
* Used in Script Function PLAYER_HEAD_TRACKING_MAINTAIN
|
|
3332
3387
|
*
|
|
@@ -3352,19 +3407,19 @@ export declare class Ped extends Entity {
|
|
|
3352
3407
|
*
|
|
3353
3408
|
* @returns
|
|
3354
3409
|
*/
|
|
3355
|
-
|
|
3410
|
+
get PlayerWaterDepth(): number;
|
|
3356
3411
|
/**
|
|
3357
3412
|
* @param actionDisableFlag Refer to [enum: eActionDisableFlags]
|
|
3358
3413
|
*/
|
|
3359
|
-
|
|
3414
|
+
set TargetActionDisableFlag(actionDisableFlag: eActionDisableFlags);
|
|
3360
3415
|
/**
|
|
3361
3416
|
* @returns
|
|
3362
3417
|
*/
|
|
3363
|
-
|
|
3418
|
+
get IsFleeing(): boolean;
|
|
3364
3419
|
/**
|
|
3365
3420
|
* @returns
|
|
3366
3421
|
*/
|
|
3367
|
-
|
|
3422
|
+
get IsFallingOver(): boolean;
|
|
3368
3423
|
/**
|
|
3369
3424
|
* target: 0 affects everyone
|
|
3370
3425
|
* duration: -1 indefinite
|
|
@@ -3396,7 +3451,7 @@ export declare class Ped extends Entity {
|
|
|
3396
3451
|
/**
|
|
3397
3452
|
* @param multiplier
|
|
3398
3453
|
*/
|
|
3399
|
-
|
|
3454
|
+
set StaminaDepletionMultiplier(multiplier: number);
|
|
3400
3455
|
/**
|
|
3401
3456
|
* _C*
|
|
3402
3457
|
*/
|
|
@@ -3410,7 +3465,7 @@ export declare class Ped extends Entity {
|
|
|
3410
3465
|
/**
|
|
3411
3466
|
* @returns
|
|
3412
3467
|
*/
|
|
3413
|
-
|
|
3468
|
+
get BrawlingStyle(): number;
|
|
3414
3469
|
/**
|
|
3415
3470
|
* @param p1
|
|
3416
3471
|
* @returns
|
|
@@ -3424,7 +3479,7 @@ export declare class Ped extends Entity {
|
|
|
3424
3479
|
/**
|
|
3425
3480
|
* @returns
|
|
3426
3481
|
*/
|
|
3427
|
-
|
|
3482
|
+
get IsInAnyTaxi(): boolean;
|
|
3428
3483
|
/**
|
|
3429
3484
|
* If returned true: There are enemy peds near friendly turn in ped. Going to aggro.
|
|
3430
3485
|
* If returned false: Moving back to idle as there aren't any remaining enemy peds near ped
|
|
@@ -3439,11 +3494,11 @@ export declare class Ped extends Entity {
|
|
|
3439
3494
|
/**
|
|
3440
3495
|
* @returns
|
|
3441
3496
|
*/
|
|
3442
|
-
|
|
3497
|
+
get StaminaDepletionMultiplier(): number;
|
|
3443
3498
|
/**
|
|
3444
3499
|
* @param multiplier
|
|
3445
3500
|
*/
|
|
3446
|
-
|
|
3501
|
+
set StaminaRechargeMultiplier(multiplier: number);
|
|
3447
3502
|
/**
|
|
3448
3503
|
* Used in Script Functions PLAYER_HORSE_RELEASE_HORSE_TO_AMBIENT_WORLD (p1 = true), HORSE_SETUP_PLAYER_HORSE_ATTRIBUTES (p1 = false)
|
|
3449
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
|
|
@@ -3454,7 +3509,7 @@ export declare class Ped extends Entity {
|
|
|
3454
3509
|
/**
|
|
3455
3510
|
* @returns
|
|
3456
3511
|
*/
|
|
3457
|
-
|
|
3512
|
+
get IsInAnyTrain(): boolean;
|
|
3458
3513
|
/**
|
|
3459
3514
|
* Detect if ped is sitting in the specified vehicle
|
|
3460
3515
|
* [True/False]
|
|
@@ -3476,11 +3531,11 @@ export declare class Ped extends Entity {
|
|
|
3476
3531
|
/**
|
|
3477
3532
|
* @returns
|
|
3478
3533
|
*/
|
|
3479
|
-
|
|
3534
|
+
get Mount(): Ped | null;
|
|
3480
3535
|
/**
|
|
3481
3536
|
* @returns
|
|
3482
3537
|
*/
|
|
3483
|
-
|
|
3538
|
+
get Money(): number;
|
|
3484
3539
|
/**
|
|
3485
3540
|
* https://github.com/femga/rdr3_discoveries/blob/master/peds_customization/ped_decals.lua
|
|
3486
3541
|
*
|
|
@@ -3517,7 +3572,7 @@ export declare class Ped extends Entity {
|
|
|
3517
3572
|
/**
|
|
3518
3573
|
* @param value
|
|
3519
3574
|
*/
|
|
3520
|
-
|
|
3575
|
+
set MaxTimeInWater(value: number);
|
|
3521
3576
|
/**
|
|
3522
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
|
|
3523
3578
|
*/
|
|
@@ -3532,7 +3587,7 @@ export declare class Ped extends Entity {
|
|
|
3532
3587
|
/**
|
|
3533
3588
|
* @param name
|
|
3534
3589
|
*/
|
|
3535
|
-
|
|
3590
|
+
set PromptName2(name: string | null);
|
|
3536
3591
|
/**
|
|
3537
3592
|
* @param p1
|
|
3538
3593
|
* @param p2
|
|
@@ -3545,17 +3600,17 @@ export declare class Ped extends Entity {
|
|
|
3545
3600
|
*
|
|
3546
3601
|
* @returns
|
|
3547
3602
|
*/
|
|
3548
|
-
|
|
3603
|
+
get IsFatallyInjured(): boolean;
|
|
3549
3604
|
/**
|
|
3550
3605
|
* _IS_PED_IN*
|
|
3551
3606
|
*
|
|
3552
3607
|
* @returns
|
|
3553
3608
|
*/
|
|
3554
|
-
|
|
3609
|
+
get IsInvestigating(): boolean;
|
|
3555
3610
|
/**
|
|
3556
3611
|
* @returns
|
|
3557
3612
|
*/
|
|
3558
|
-
|
|
3613
|
+
get CurrentTargetForPed(): Entity | null;
|
|
3559
3614
|
/**
|
|
3560
3615
|
* _CLEAR_PED_B* - _CLEAR_PED_C*
|
|
3561
3616
|
*/
|
|
@@ -3566,7 +3621,7 @@ export declare class Ped extends Entity {
|
|
|
3566
3621
|
*
|
|
3567
3622
|
* @param value
|
|
3568
3623
|
*/
|
|
3569
|
-
|
|
3624
|
+
set Capsule(value: number);
|
|
3570
3625
|
/**
|
|
3571
3626
|
* @param entity
|
|
3572
3627
|
* @returns
|
|
@@ -3575,7 +3630,7 @@ export declare class Ped extends Entity {
|
|
|
3575
3630
|
/**
|
|
3576
3631
|
* @returns
|
|
3577
3632
|
*/
|
|
3578
|
-
|
|
3633
|
+
get IsVaulting(): boolean;
|
|
3579
3634
|
/**
|
|
3580
3635
|
* _IS_PED_M* - _IS_PED_O*
|
|
3581
3636
|
*
|
|
@@ -3596,11 +3651,11 @@ export declare class Ped extends Entity {
|
|
|
3596
3651
|
*
|
|
3597
3652
|
* @returns speedX; speedY
|
|
3598
3653
|
*/
|
|
3599
|
-
|
|
3654
|
+
get CurrentMoveBlendRatio(): [boolean, number, number];
|
|
3600
3655
|
/**
|
|
3601
3656
|
* @param heading
|
|
3602
3657
|
*/
|
|
3603
|
-
|
|
3658
|
+
set DesiredHeading(heading: number);
|
|
3604
3659
|
/**
|
|
3605
3660
|
* @param animName
|
|
3606
3661
|
* @param animDict
|
|
@@ -3618,16 +3673,16 @@ export declare class Ped extends Entity {
|
|
|
3618
3673
|
*
|
|
3619
3674
|
* @returns
|
|
3620
3675
|
*/
|
|
3621
|
-
|
|
3676
|
+
get ActiveDynamicScenario(): number;
|
|
3622
3677
|
/**
|
|
3623
3678
|
* @param toggle
|
|
3624
3679
|
*/
|
|
3625
|
-
|
|
3680
|
+
set CanRagdollFromPlayerImpact(toggle: boolean);
|
|
3626
3681
|
/**
|
|
3627
3682
|
* @param eventType
|
|
3628
3683
|
* @returns
|
|
3629
3684
|
*/
|
|
3630
|
-
isEventInQueue(eventType: string | number):
|
|
3685
|
+
isEventInQueue(eventType: string | number): boolean;
|
|
3631
3686
|
/**
|
|
3632
3687
|
* @param mount
|
|
3633
3688
|
* @param seatIndex Refer to [enum: eVehicleSeat]
|
|
@@ -3649,11 +3704,11 @@ export declare class Ped extends Entity {
|
|
|
3649
3704
|
/**
|
|
3650
3705
|
* @param value
|
|
3651
3706
|
*/
|
|
3652
|
-
|
|
3707
|
+
set VisualFieldMaxAngle(value: number);
|
|
3653
3708
|
/**
|
|
3654
3709
|
* @returns
|
|
3655
3710
|
*/
|
|
3656
|
-
|
|
3711
|
+
get MetaRace(): any;
|
|
3657
3712
|
/**
|
|
3658
3713
|
* enum ePedLootStatus
|
|
3659
3714
|
* {
|
|
@@ -3665,7 +3720,7 @@ export declare class Ped extends Entity {
|
|
|
3665
3720
|
*
|
|
3666
3721
|
* @returns
|
|
3667
3722
|
*/
|
|
3668
|
-
|
|
3723
|
+
get LootStatusMp(): number;
|
|
3669
3724
|
/**
|
|
3670
3725
|
* @param radius
|
|
3671
3726
|
* @param maxFriends
|
|
@@ -3680,7 +3735,7 @@ export declare class Ped extends Entity {
|
|
|
3680
3735
|
*
|
|
3681
3736
|
* @returns
|
|
3682
3737
|
*/
|
|
3683
|
-
|
|
3738
|
+
get CauseOfDeath(): number;
|
|
3684
3739
|
/**
|
|
3685
3740
|
* bloodFountainPressure: visible effect from 0.0 till 20.0
|
|
3686
3741
|
* yaw: visible effect from -3.0 till 3.0
|
|
@@ -3719,7 +3774,7 @@ export declare class Ped extends Entity {
|
|
|
3719
3774
|
/**
|
|
3720
3775
|
* @param toggle
|
|
3721
3776
|
*/
|
|
3722
|
-
|
|
3777
|
+
set CanArmIk(toggle: boolean);
|
|
3723
3778
|
/**
|
|
3724
3779
|
* *SET_PED**
|
|
3725
3780
|
*
|
|
@@ -3743,7 +3798,7 @@ export declare class Ped extends Entity {
|
|
|
3743
3798
|
/**
|
|
3744
3799
|
* @returns
|
|
3745
3800
|
*/
|
|
3746
|
-
|
|
3801
|
+
get IsInAnyHeli(): boolean;
|
|
3747
3802
|
/**
|
|
3748
3803
|
* @param ped
|
|
3749
3804
|
* @param flag Usually flag is set to false when ped is in stealth mode
|
|
@@ -3760,7 +3815,7 @@ export declare class Ped extends Entity {
|
|
|
3760
3815
|
*
|
|
3761
3816
|
* @returns
|
|
3762
3817
|
*/
|
|
3763
|
-
|
|
3818
|
+
get GroupIndex(): number;
|
|
3764
3819
|
/**
|
|
3765
3820
|
* flagId: see SET_PED_CONFIG_FLAG
|
|
3766
3821
|
*
|
|
@@ -3772,7 +3827,7 @@ export declare class Ped extends Entity {
|
|
|
3772
3827
|
/**
|
|
3773
3828
|
* @returns
|
|
3774
3829
|
*/
|
|
3775
|
-
|
|
3830
|
+
get IsIncapacitated(): boolean;
|
|
3776
3831
|
/**
|
|
3777
3832
|
* duration in seconds
|
|
3778
3833
|
*
|
|
@@ -3793,7 +3848,7 @@ export declare class Ped extends Entity {
|
|
|
3793
3848
|
/**
|
|
3794
3849
|
* @param damaged
|
|
3795
3850
|
*/
|
|
3796
|
-
|
|
3851
|
+
set Damaged(damaged: boolean);
|
|
3797
3852
|
/**
|
|
3798
3853
|
* @param pos
|
|
3799
3854
|
* @param radius
|
|
@@ -3813,7 +3868,7 @@ export declare class Ped extends Entity {
|
|
|
3813
3868
|
/**
|
|
3814
3869
|
* @param mode
|
|
3815
3870
|
*/
|
|
3816
|
-
|
|
3871
|
+
set LegIkMode(mode: number);
|
|
3817
3872
|
/**
|
|
3818
3873
|
* Only used in SP
|
|
3819
3874
|
* _SET_REMOVE_PED*
|
|
@@ -3825,29 +3880,29 @@ export declare class Ped extends Entity {
|
|
|
3825
3880
|
* @param scenario
|
|
3826
3881
|
* @returns
|
|
3827
3882
|
*/
|
|
3828
|
-
isUsingThisScenario(scenario: number):
|
|
3883
|
+
isUsingThisScenario(scenario: number): boolean;
|
|
3829
3884
|
/**
|
|
3830
3885
|
* @returns Returns the peds [enum: ePedCombatMovement]
|
|
3831
3886
|
*/
|
|
3832
|
-
|
|
3887
|
+
get CombatMovement(): ePedCombatMovement;
|
|
3833
3888
|
/**
|
|
3834
3889
|
* @returns
|
|
3835
3890
|
*/
|
|
3836
|
-
|
|
3891
|
+
get VehicleIsEntering(): Vehicle | null;
|
|
3837
3892
|
/**
|
|
3838
3893
|
* @param toggle
|
|
3839
3894
|
*/
|
|
3840
|
-
|
|
3895
|
+
set CanBeTargetted(toggle: boolean);
|
|
3841
3896
|
/**
|
|
3842
3897
|
* @returns
|
|
3843
3898
|
*/
|
|
3844
|
-
|
|
3899
|
+
get MeleeActionPhase(): number;
|
|
3845
3900
|
/**
|
|
3846
3901
|
* _SET_PED_S* - _SET_PED_T*
|
|
3847
3902
|
*
|
|
3848
3903
|
* @param volume
|
|
3849
3904
|
*/
|
|
3850
|
-
|
|
3905
|
+
set VoiceVolume(volume: number);
|
|
3851
3906
|
/**
|
|
3852
3907
|
* Params: p1 = 1 in R* Scripts
|
|
3853
3908
|
*
|
|
@@ -3865,11 +3920,11 @@ export declare class Ped extends Entity {
|
|
|
3865
3920
|
/**
|
|
3866
3921
|
* @returns
|
|
3867
3922
|
*/
|
|
3868
|
-
|
|
3923
|
+
get IsBeingDragged(): boolean;
|
|
3869
3924
|
/**
|
|
3870
3925
|
* @param actionDisableFlag Refer to [enum: eActionDisableFlags]
|
|
3871
3926
|
*/
|
|
3872
|
-
|
|
3927
|
+
set ActionDisableFlag(actionDisableFlag: eActionDisableFlags);
|
|
3873
3928
|
/**
|
|
3874
3929
|
* @param animal
|
|
3875
3930
|
* @param p2
|
|
@@ -3896,7 +3951,7 @@ export declare class Ped extends Entity {
|
|
|
3896
3951
|
/**
|
|
3897
3952
|
* @param toggle
|
|
3898
3953
|
*/
|
|
3899
|
-
|
|
3954
|
+
set Lights(toggle: boolean);
|
|
3900
3955
|
/**
|
|
3901
3956
|
* @returns
|
|
3902
3957
|
*/
|
|
@@ -3904,11 +3959,11 @@ export declare class Ped extends Entity {
|
|
|
3904
3959
|
/**
|
|
3905
3960
|
* @param p1
|
|
3906
3961
|
*/
|
|
3907
|
-
|
|
3962
|
+
set KnockedByOneHit(p1: number);
|
|
3908
3963
|
/**
|
|
3909
3964
|
* @returns
|
|
3910
3965
|
*/
|
|
3911
|
-
|
|
3966
|
+
get IsBeingGrappled(): any;
|
|
3912
3967
|
clearEnvDirt(): void;
|
|
3913
3968
|
/**
|
|
3914
3969
|
* enum eMetaPedType
|
|
@@ -3922,7 +3977,7 @@ export declare class Ped extends Entity {
|
|
|
3922
3977
|
*
|
|
3923
3978
|
* @returns
|
|
3924
3979
|
*/
|
|
3925
|
-
|
|
3980
|
+
get MetaType(): number;
|
|
3926
3981
|
/**
|
|
3927
3982
|
* Gets a value indicating whether the specified ped is on top of any vehicle. Return 1 when ped is on vehicle.
|
|
3928
3983
|
* Return 0 when ped is not on a vehicle.
|
|
@@ -3947,7 +4002,7 @@ export declare class Ped extends Entity {
|
|
|
3947
4002
|
/**
|
|
3948
4003
|
* @returns
|
|
3949
4004
|
*/
|
|
3950
|
-
|
|
4005
|
+
get MaxStamina(): number;
|
|
3951
4006
|
/**
|
|
3952
4007
|
* @param variableName
|
|
3953
4008
|
* @returns
|
|
@@ -3970,7 +4025,7 @@ export declare class Ped extends Entity {
|
|
|
3970
4025
|
*
|
|
3971
4026
|
* @returns
|
|
3972
4027
|
*/
|
|
3973
|
-
|
|
4028
|
+
get TotalDamageFromAi(): number;
|
|
3974
4029
|
/**
|
|
3975
4030
|
* @param attributeIndex
|
|
3976
4031
|
* @returns
|
|
@@ -3981,7 +4036,7 @@ export declare class Ped extends Entity {
|
|
|
3981
4036
|
*
|
|
3982
4037
|
* @param locoMotionType
|
|
3983
4038
|
*/
|
|
3984
|
-
|
|
4039
|
+
set DesiredLocoMotionType(locoMotionType: string | null);
|
|
3985
4040
|
/**
|
|
3986
4041
|
* *STOP*(?)*
|
|
3987
4042
|
*/
|
|
@@ -3992,7 +4047,7 @@ export declare class Ped extends Entity {
|
|
|
3992
4047
|
*
|
|
3993
4048
|
* @param value
|
|
3994
4049
|
*/
|
|
3995
|
-
|
|
4050
|
+
set MoveRateOverride(value: number);
|
|
3996
4051
|
/**
|
|
3997
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.
|
|
3998
4053
|
*
|
|
@@ -4012,7 +4067,7 @@ export declare class Ped extends Entity {
|
|
|
4012
4067
|
/**
|
|
4013
4068
|
* @param toggle
|
|
4014
4069
|
*/
|
|
4015
|
-
|
|
4070
|
+
set CanUseAutoConversationLookat(toggle: boolean);
|
|
4016
4071
|
/**
|
|
4017
4072
|
* @param p1
|
|
4018
4073
|
*/
|
|
@@ -4032,11 +4087,11 @@ export declare class Ped extends Entity {
|
|
|
4032
4087
|
*
|
|
4033
4088
|
* @returns
|
|
4034
4089
|
*/
|
|
4035
|
-
|
|
4090
|
+
get IsInjured(): boolean;
|
|
4036
4091
|
/**
|
|
4037
4092
|
* @returns
|
|
4038
4093
|
*/
|
|
4039
|
-
|
|
4094
|
+
get IsBeingHogtied(): boolean;
|
|
4040
4095
|
/**
|
|
4041
4096
|
* https://github.com/Halen84/RDR3-Native-Flags-And-Enums/tree/main/Lasso%20Hogtie%20Flags
|
|
4042
4097
|
* https://github.com/femga/rdr3_discoveries/tree/master/AI/LASSO_HOGTIE_FLAG
|
|
@@ -4048,7 +4103,7 @@ export declare class Ped extends Entity {
|
|
|
4048
4103
|
/**
|
|
4049
4104
|
* @returns
|
|
4050
4105
|
*/
|
|
4051
|
-
|
|
4106
|
+
get StaminaRechargeMultiplier(): number;
|
|
4052
4107
|
/**
|
|
4053
4108
|
* Used in Script Function NB_EVENT_OVERRIDE__HANDLE__EVENT_DAMAGE_ENTITY
|
|
4054
4109
|
*
|
|
@@ -4063,7 +4118,7 @@ export declare class Ped extends Entity {
|
|
|
4063
4118
|
/**
|
|
4064
4119
|
* @param behaviour
|
|
4065
4120
|
*/
|
|
4066
|
-
|
|
4121
|
+
set CombatBehaviour(behaviour: string | number);
|
|
4067
4122
|
/**
|
|
4068
4123
|
* @param componentHash
|
|
4069
4124
|
* @param immediately
|
|
@@ -4084,7 +4139,7 @@ export declare class Ped extends Entity {
|
|
|
4084
4139
|
/**
|
|
4085
4140
|
* @returns
|
|
4086
4141
|
*/
|
|
4087
|
-
|
|
4142
|
+
get IsPlantingBomb(): boolean;
|
|
4088
4143
|
/**
|
|
4089
4144
|
* @returns
|
|
4090
4145
|
*/
|
|
@@ -4104,13 +4159,13 @@ export declare class Ped extends Entity {
|
|
|
4104
4159
|
* @param p1
|
|
4105
4160
|
* @returns
|
|
4106
4161
|
*/
|
|
4107
|
-
isFullyOnMount(p1: boolean):
|
|
4162
|
+
isFullyOnMount(p1: boolean): boolean;
|
|
4108
4163
|
/**
|
|
4109
4164
|
* Presumably returns the Entity that the Ped is currently diving out of the way of.
|
|
4110
4165
|
*
|
|
4111
4166
|
* @returns evadingEntity
|
|
4112
4167
|
*/
|
|
4113
|
-
|
|
4168
|
+
get IsEvasiveDiving(): [boolean, Entity | null];
|
|
4114
4169
|
/**
|
|
4115
4170
|
* @param ped2
|
|
4116
4171
|
*/
|
|
@@ -4127,11 +4182,11 @@ export declare class Ped extends Entity {
|
|
|
4127
4182
|
/**
|
|
4128
4183
|
* @returns
|
|
4129
4184
|
*/
|
|
4130
|
-
|
|
4185
|
+
get PlayerIsFollowing(): Player | null;
|
|
4131
4186
|
/**
|
|
4132
4187
|
* @returns
|
|
4133
4188
|
*/
|
|
4134
|
-
|
|
4189
|
+
get IsSwimming(): boolean;
|
|
4135
4190
|
/**
|
|
4136
4191
|
* Seems to set the peds stamina to 30%
|
|
4137
4192
|
*/
|
|
@@ -4149,7 +4204,7 @@ export declare class Ped extends Entity {
|
|
|
4149
4204
|
/**
|
|
4150
4205
|
* @param value
|
|
4151
4206
|
*/
|
|
4152
|
-
|
|
4207
|
+
set MaxTimeUnderwater(value: number);
|
|
4153
4208
|
/**
|
|
4154
4209
|
* @param p1
|
|
4155
4210
|
* @param p2
|
|
@@ -4168,61 +4223,6 @@ export declare class Ped extends Entity {
|
|
|
4168
4223
|
* @returns
|
|
4169
4224
|
*/
|
|
4170
4225
|
N_0x4B19F171450E0D4F(): Ped | null;
|
|
4171
|
-
/**
|
|
4172
|
-
* @returns
|
|
4173
|
-
*/
|
|
4174
|
-
isOnFoot(): boolean;
|
|
4175
|
-
/**
|
|
4176
|
-
* Only used in R* Script nb_stalking_hunter
|
|
4177
|
-
*
|
|
4178
|
-
* @param ped2
|
|
4179
|
-
*/
|
|
4180
|
-
N_0xED1C764997A86D5A(ped2: Ped): void;
|
|
4181
|
-
/**
|
|
4182
|
-
* @param grappleSequence
|
|
4183
|
-
*/
|
|
4184
|
-
setGrappleSequence(grappleSequence: string | null): void;
|
|
4185
|
-
/**
|
|
4186
|
-
* @param p1
|
|
4187
|
-
*/
|
|
4188
|
-
N_0xFFA1594703ED27CA(p1: number): void;
|
|
4189
|
-
/**
|
|
4190
|
-
* @returns
|
|
4191
|
-
*/
|
|
4192
|
-
getMeleeTargetForPed(): Ped | null;
|
|
4193
|
-
/**
|
|
4194
|
-
* Use to apply metaped player components
|
|
4195
|
-
* Replaces asset, alternatively you can remove assets using REMOVE_TAG_FROM_META_PED
|
|
4196
|
-
*
|
|
4197
|
-
* @param drawable
|
|
4198
|
-
* @param albedo
|
|
4199
|
-
* @param normal
|
|
4200
|
-
* @param material
|
|
4201
|
-
* @param palette
|
|
4202
|
-
* @param tint0
|
|
4203
|
-
* @param tint1
|
|
4204
|
-
* @param tint2
|
|
4205
|
-
*/
|
|
4206
|
-
setMetaTag(drawable: string | number, albedo: string | number, normal: string | number, material: string | number, palette: string | number, tint0: number, tint1: number, tint2: number): void;
|
|
4207
|
-
/**
|
|
4208
|
-
* @param p1
|
|
4209
|
-
* @param p2
|
|
4210
|
-
*/
|
|
4211
|
-
N_0x32CEDA9A0AB4CEF7(p1: string | number, p2: boolean): void;
|
|
4212
|
-
/**
|
|
4213
|
-
* @returns
|
|
4214
|
-
*/
|
|
4215
|
-
isChild(): any;
|
|
4216
|
-
/**
|
|
4217
|
-
* @param index
|
|
4218
|
-
* @param p2
|
|
4219
|
-
* @returns argStruct; argStruct2
|
|
4220
|
-
*/
|
|
4221
|
-
getShopItemComponentAtIndex(index: number, p2: boolean): [number, number, number];
|
|
4222
|
-
/**
|
|
4223
|
-
* @param value
|
|
4224
|
-
*/
|
|
4225
|
-
setMaxMoveBlendRatio(value: number): void;
|
|
4226
4226
|
private _task?;
|
|
4227
4227
|
private _weapon?;
|
|
4228
4228
|
get task(): PedTask;
|