@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
|
@@ -11,6 +11,132 @@ import { BaseTask } from './BaseTask';
|
|
|
11
11
|
import type { Ped } from './Ped';
|
|
12
12
|
export declare class PedTask extends BaseTask {
|
|
13
13
|
constructor(entity: Ped);
|
|
14
|
+
/**
|
|
15
|
+
* @param toggle
|
|
16
|
+
*/
|
|
17
|
+
set PedPathCanUseLadders(toggle: boolean);
|
|
18
|
+
/**
|
|
19
|
+
* @param p1
|
|
20
|
+
* @param p2
|
|
21
|
+
*/
|
|
22
|
+
stopAnimPlayback(p1: number, p2: boolean): void;
|
|
23
|
+
/**
|
|
24
|
+
* @param targetPed
|
|
25
|
+
* @param p2
|
|
26
|
+
* @returns
|
|
27
|
+
*/
|
|
28
|
+
confront(targetPed: Ped, p2: number): any;
|
|
29
|
+
N_0x1F298C7BD30D1240(): void;
|
|
30
|
+
/**
|
|
31
|
+
* @param p1
|
|
32
|
+
* @param p2
|
|
33
|
+
* @param p3
|
|
34
|
+
*/
|
|
35
|
+
setCrouchMovement(p1: boolean, p2: any, p3: boolean): void;
|
|
36
|
+
/**
|
|
37
|
+
* Tells the ped to go to an offset coord from an entity, without using the navmesh. if timeBeforeTeleport is -1 the ped will never warp, p7 is 1 or 0 still unknown param
|
|
38
|
+
*
|
|
39
|
+
* @param entity
|
|
40
|
+
* @param offset
|
|
41
|
+
* @param moveBlendRatio
|
|
42
|
+
* @param timeBeforeTeleport
|
|
43
|
+
* @param p7
|
|
44
|
+
*/
|
|
45
|
+
goStraightToCoordRelativeToEntity(entity: Entity, offset: Vector3, moveBlendRatio: number, timeBeforeTeleport: number, p7: number): void;
|
|
46
|
+
/**
|
|
47
|
+
* Sets the time it takes for a hogtied ped to escape
|
|
48
|
+
* -1.0f for ped to never escape
|
|
49
|
+
*
|
|
50
|
+
* @param time
|
|
51
|
+
*/
|
|
52
|
+
set HogtieEscapeTimer(time: number);
|
|
53
|
+
/**
|
|
54
|
+
* Makes the ped run to take cover
|
|
55
|
+
*/
|
|
56
|
+
stayInCover(): void;
|
|
57
|
+
/**
|
|
58
|
+
* @param p1
|
|
59
|
+
*/
|
|
60
|
+
followWaypointRecordingAdvanced(p1: any): void;
|
|
61
|
+
/**
|
|
62
|
+
* Tells the ped to go to a coord, without using the navemesh. if timeBeforeTeleport is -1 the ped will never warp, p8 is always 0 or 1 still unknown
|
|
63
|
+
*
|
|
64
|
+
* @param pos
|
|
65
|
+
* @param moveBlendRatio
|
|
66
|
+
* @param timeBeforeTeleport
|
|
67
|
+
* @param finalHeading
|
|
68
|
+
* @param targetRadius
|
|
69
|
+
* @param p8
|
|
70
|
+
*/
|
|
71
|
+
goStraightToCoord(pos: Vector3, moveBlendRatio: number, timeBeforeTeleport: number, finalHeading: number, targetRadius: number, p8: number): void;
|
|
72
|
+
/**
|
|
73
|
+
* @param pos
|
|
74
|
+
* @param speedMultiplier
|
|
75
|
+
* @param timeout
|
|
76
|
+
* @param stoppingRange
|
|
77
|
+
* @param flags
|
|
78
|
+
* @param p8
|
|
79
|
+
* @param p9
|
|
80
|
+
* @param p10
|
|
81
|
+
* @param entity
|
|
82
|
+
* @param unk
|
|
83
|
+
*/
|
|
84
|
+
followNavMeshToCoordAdvanced(pos: Vector3, speedMultiplier: number, timeout: number, stoppingRange: number, flags: number, p8: number, p9: number, p10: number, entity: Entity, unk: number): void;
|
|
85
|
+
/**
|
|
86
|
+
* @param radius
|
|
87
|
+
* @param time
|
|
88
|
+
* @param flags
|
|
89
|
+
*/
|
|
90
|
+
combatHatedTargetsAroundPedTimed(radius: number, time: number, flags: number): void;
|
|
91
|
+
/**
|
|
92
|
+
* @returns
|
|
93
|
+
*/
|
|
94
|
+
get IsPedRunning(): boolean;
|
|
95
|
+
/**
|
|
96
|
+
* @returns
|
|
97
|
+
*/
|
|
98
|
+
get IsPedSprinting(): boolean;
|
|
99
|
+
/**
|
|
100
|
+
* @param useSlidingSurfaces
|
|
101
|
+
*/
|
|
102
|
+
set PedPathMayUseSlidingSurfaces(useSlidingSurfaces: boolean);
|
|
103
|
+
/**
|
|
104
|
+
* Force a ped that is already attacking to aim directly at the specified world coordinates.
|
|
105
|
+
*
|
|
106
|
+
* @param pos
|
|
107
|
+
* @param p4
|
|
108
|
+
* @param p5
|
|
109
|
+
* @param p6
|
|
110
|
+
*/
|
|
111
|
+
forcePointAimAtCoord(pos: Vector3, p4?: number, p5?: boolean, p6?: boolean): void;
|
|
112
|
+
/**
|
|
113
|
+
* @param p1
|
|
114
|
+
* @param p2
|
|
115
|
+
* @param p3
|
|
116
|
+
* @param p4
|
|
117
|
+
*/
|
|
118
|
+
swapWeapon(p1: any, p2: any, p3: any, p4: any): void;
|
|
119
|
+
/**
|
|
120
|
+
* @param p1
|
|
121
|
+
* @param p2
|
|
122
|
+
* @param p3
|
|
123
|
+
* @param p4
|
|
124
|
+
* @param p5
|
|
125
|
+
* @param p6
|
|
126
|
+
* @param p7
|
|
127
|
+
* @param p8
|
|
128
|
+
*/
|
|
129
|
+
gotoEntityOffsetXyz(p1: any, p2: any, p3: any, p4: any, p5: any, p6: any, p7: any, p8: any): void;
|
|
130
|
+
/**
|
|
131
|
+
* @param pos
|
|
132
|
+
* @param distance
|
|
133
|
+
* @param duration
|
|
134
|
+
* @param p6
|
|
135
|
+
* @param p7
|
|
136
|
+
* @param p8
|
|
137
|
+
* @param p9
|
|
138
|
+
*/
|
|
139
|
+
useNearestScenarioToCoordWarp(pos: Vector3, distance: number, duration: number, p6: boolean, p7: boolean, p8: boolean, p9: boolean): void;
|
|
14
140
|
/**
|
|
15
141
|
* Baits: p_fishHook02x, p_baitBread01x, p_baitCorn01x, p_baitCheese01x, p_baitWorm01x, p_baitCricket01x, p_crawdad01x, p_finisheDragonfly01x, p_finisdFishlure01x, p_finishdCrawd01x, p_finisheDragonflyLegendary01x, p_finisdFishlureLegendary01x, p_finishdCrawdLegendary01x, p_lgoc_spinner_v4
|
|
16
142
|
*
|
|
@@ -33,7 +159,7 @@ export declare class PedTask extends BaseTask {
|
|
|
33
159
|
/**
|
|
34
160
|
* @returns Returns `true` if the specified `ped` is currently in combat using a ranged weapon, and is ready to shoot (actively attempting to attack)
|
|
35
161
|
*/
|
|
36
|
-
|
|
162
|
+
get TaskCombatReadyToShoot(): boolean;
|
|
37
163
|
/**
|
|
38
164
|
* @param vehicle
|
|
39
165
|
* @param seat
|
|
@@ -79,10 +205,58 @@ export declare class PedTask extends BaseTask {
|
|
|
79
205
|
*/
|
|
80
206
|
reactLookAtEnd(exitAnimation: number, p2: boolean): void;
|
|
81
207
|
clearDrivebyTaskUnderneathDrivingTask(): void;
|
|
208
|
+
/**
|
|
209
|
+
* @param p1
|
|
210
|
+
* @returns
|
|
211
|
+
*/
|
|
212
|
+
N_0x2D657B10F211C572(p1: number): any;
|
|
213
|
+
/**
|
|
214
|
+
* Coords: volume coords used in R* Script smuggler2
|
|
215
|
+
* p4/p5 = 0 in R* Scripts previous name TASK_COMBAT_PED_3
|
|
216
|
+
*
|
|
217
|
+
* @param pos
|
|
218
|
+
* @param p4
|
|
219
|
+
* @param p5
|
|
220
|
+
*/
|
|
221
|
+
combatPedAtCoords(pos: Vector3, p4: number, p5: number): void;
|
|
222
|
+
/**
|
|
223
|
+
* Makes the specified ped stand still for (time) milliseconds.
|
|
224
|
+
*
|
|
225
|
+
* @param time
|
|
226
|
+
*/
|
|
227
|
+
standStill(time: number): void;
|
|
228
|
+
/**
|
|
229
|
+
* @param animDictionary
|
|
230
|
+
* @param animationName
|
|
231
|
+
* @param p3
|
|
232
|
+
*/
|
|
233
|
+
stopAnimTask(animDictionary: string | null, animationName: string | null, p3: number): void;
|
|
234
|
+
/**
|
|
235
|
+
* @param p1
|
|
236
|
+
* @param p2
|
|
237
|
+
* @param p3
|
|
238
|
+
*/
|
|
239
|
+
turnToFaceClosestPed(p1: number, p2: number, p3: number): void;
|
|
240
|
+
/**
|
|
241
|
+
* Fishing Research: https://pastebin.com/NmK5ZLVs
|
|
242
|
+
* Only used in R* Scripts fishing_core and av_fishing_river
|
|
243
|
+
*
|
|
244
|
+
* @returns p1
|
|
245
|
+
*/
|
|
246
|
+
get TaskFishing(): [any, number];
|
|
247
|
+
/**
|
|
248
|
+
* @param p1
|
|
249
|
+
* @param p2
|
|
250
|
+
*/
|
|
251
|
+
shockingEventReact(p1: any, p2: any): void;
|
|
252
|
+
/**
|
|
253
|
+
* @returns
|
|
254
|
+
*/
|
|
255
|
+
N_0xB520DBDA7FCF573F(): boolean;
|
|
82
256
|
/**
|
|
83
257
|
* @param neverUseInteriors
|
|
84
258
|
*/
|
|
85
|
-
|
|
259
|
+
set PedPathNeverUseInteriors(neverUseInteriors: boolean);
|
|
86
260
|
/**
|
|
87
261
|
* @param radius
|
|
88
262
|
*/
|
|
@@ -120,84 +294,112 @@ export declare class PedTask extends BaseTask {
|
|
|
120
294
|
*/
|
|
121
295
|
pedFishingrodHookEntity(entity: Entity): void;
|
|
122
296
|
/**
|
|
123
|
-
* @
|
|
297
|
+
* @returns
|
|
124
298
|
*/
|
|
125
|
-
|
|
126
|
-
persistentCharacter(): void;
|
|
299
|
+
get PedWaypointOverrideSpeed(): number;
|
|
127
300
|
/**
|
|
128
|
-
*
|
|
129
|
-
*
|
|
130
|
-
* @param
|
|
131
|
-
* @param p4
|
|
301
|
+
* Climbs or vaults the nearest thing.
|
|
302
|
+
*
|
|
303
|
+
* @param unused
|
|
132
304
|
*/
|
|
133
|
-
|
|
305
|
+
climb(unused: boolean): void;
|
|
306
|
+
/**
|
|
307
|
+
* Old name: _TASK_VEHICLE_DRIVE_TO_POINT
|
|
308
|
+
* flag: 524419 and 0 in shop_horse_shop R* Script
|
|
309
|
+
*
|
|
310
|
+
* @param vehicle
|
|
311
|
+
* @param pos
|
|
312
|
+
* @param p5
|
|
313
|
+
* @param p6
|
|
314
|
+
* @param flag
|
|
315
|
+
*/
|
|
316
|
+
vehicleDriveStraightToPoint(vehicle: Vehicle, pos: Vector3, p5: number, p6: number, flag: number): void;
|
|
134
317
|
/**
|
|
135
318
|
* @param p1
|
|
136
319
|
* @param p2
|
|
137
320
|
* @param p3
|
|
321
|
+
* @param p4
|
|
322
|
+
* @param p5
|
|
323
|
+
* @param p6
|
|
324
|
+
* @param p7
|
|
325
|
+
* @param p8
|
|
326
|
+
* @param p9
|
|
327
|
+
* @param p10
|
|
328
|
+
* @param p11
|
|
329
|
+
* @param p12
|
|
330
|
+
* @param p13
|
|
331
|
+
* @param p14
|
|
332
|
+
* @param p15
|
|
138
333
|
*/
|
|
139
|
-
|
|
334
|
+
goToCoordWhileAimingAtCoordUsingCombatStyle(p1: any, p2: any, p3: any, p4: any, p5: any, p6: any, p7: any, p8: any, p9: any, p10: any, p11: any, p12: any, p13: any, p14: any, p15: any): void;
|
|
140
335
|
/**
|
|
141
|
-
*
|
|
142
|
-
* fleeTime = ped will flee for this amount of time, set to "-1" to flee forever
|
|
143
|
-
* fleeType = can be 0, R* Scripts: fm_mission/race_controller: 66048; fme_escaped_convicts: 2260992, 2523136, 2359296; la_alligator/fox: 2097152; net_fetch: 17301536; net_stable_mount: 540928
|
|
144
|
-
* fleeSpeed = mostly 3f, rarely 1f in R* Scripts
|
|
336
|
+
* flags: 0 = HANDS_UP_NOTHING; 1 = HANDS_UP_STRAIGHT_TO_LOOP
|
|
145
337
|
*
|
|
146
|
-
* @param
|
|
147
|
-
* @param
|
|
148
|
-
* @param
|
|
149
|
-
* @param
|
|
150
|
-
* @param fleeSpeed
|
|
151
|
-
* @param targetPed
|
|
338
|
+
* @param duration
|
|
339
|
+
* @param facingPed
|
|
340
|
+
* @param timeToFacePed
|
|
341
|
+
* @param flags
|
|
152
342
|
*/
|
|
153
|
-
|
|
343
|
+
handsUp(duration: number, facingPed: Ped, timeToFacePed: number, flags: number): void;
|
|
154
344
|
/**
|
|
155
|
-
*
|
|
156
|
-
*
|
|
157
|
-
*
|
|
345
|
+
* timer: in ms, if it reaches 0 it will auto warp the ped on the horse
|
|
346
|
+
* Flags will still apply to mountStyle
|
|
347
|
+
*
|
|
348
|
+
* @param mount
|
|
349
|
+
* @param timer
|
|
350
|
+
* @param seatIndex Refer to [enum: eVehicleSeat]
|
|
351
|
+
* @param pedSpeed
|
|
352
|
+
* @param mountStyle
|
|
158
353
|
* @param p6
|
|
354
|
+
* @param p7
|
|
159
355
|
*/
|
|
160
|
-
|
|
356
|
+
mountAnimal(mount: Ped, timer: number, seatIndex: eVehicleSeat, pedSpeed: number, mountStyle: number, p6: any, p7: any): void;
|
|
161
357
|
/**
|
|
162
|
-
* @
|
|
358
|
+
* @returns
|
|
163
359
|
*/
|
|
164
|
-
|
|
360
|
+
get PedIsIgnoringDeadBodies(): any;
|
|
165
361
|
/**
|
|
166
|
-
* @param
|
|
167
|
-
* @param
|
|
362
|
+
* @param p1
|
|
363
|
+
* @param p2
|
|
364
|
+
* @param p3
|
|
365
|
+
* @param p4
|
|
168
366
|
*/
|
|
169
|
-
|
|
367
|
+
setSphereDefensiveArea(p1: number, p2: number, p3: number, p4: number): void;
|
|
170
368
|
/**
|
|
171
369
|
* @param p1
|
|
172
370
|
* @param p2
|
|
371
|
+
* @param p3
|
|
372
|
+
* @param p4
|
|
173
373
|
*/
|
|
174
|
-
|
|
374
|
+
useRandomScenarioInGroup(p1: any, p2: any, p3: any, p4: any): void;
|
|
175
375
|
/**
|
|
176
|
-
*
|
|
177
|
-
*
|
|
178
|
-
*
|
|
179
|
-
*
|
|
180
|
-
*
|
|
181
|
-
*
|
|
182
|
-
*
|
|
183
|
-
*
|
|
184
|
-
*
|
|
185
|
-
* @param
|
|
186
|
-
* @param
|
|
187
|
-
* @param unkFlag
|
|
188
|
-
* @param aimingFlag
|
|
189
|
-
* @param firingPattern
|
|
376
|
+
* enum eWhistleType
|
|
377
|
+
* {
|
|
378
|
+
* WHISTLE_MAIN,
|
|
379
|
+
* WHISTLE_SECONDARY,
|
|
380
|
+
* WHISTLE_DOUBLE,
|
|
381
|
+
* WHISTLE_URGENT,
|
|
382
|
+
* WHISTLE_LONG
|
|
383
|
+
* };
|
|
384
|
+
*
|
|
385
|
+
* @param p1
|
|
386
|
+
* @param whistleType
|
|
190
387
|
*/
|
|
191
|
-
|
|
388
|
+
goToWhistle(p1: Ped, whistleType: number): void;
|
|
389
|
+
/**
|
|
390
|
+
* @param pos
|
|
391
|
+
* @param duration
|
|
392
|
+
* @param flags
|
|
393
|
+
* @param p6
|
|
394
|
+
* @param p7
|
|
395
|
+
*/
|
|
396
|
+
lookAtCoord(pos: Vector3, duration: number, flags: number, p6: number, p7: boolean): void;
|
|
192
397
|
/**
|
|
193
|
-
* @param itemHash
|
|
194
|
-
* @param interactionAnimHash
|
|
195
|
-
* @param p3
|
|
196
398
|
* @returns
|
|
197
399
|
*/
|
|
198
|
-
|
|
400
|
+
get IsPedInHitReact(): boolean;
|
|
199
401
|
/**
|
|
200
|
-
* @param
|
|
402
|
+
* @param p1
|
|
201
403
|
* @param p2
|
|
202
404
|
* @param p3
|
|
203
405
|
* @param p4
|
|
@@ -205,243 +407,233 @@ export declare class PedTask extends BaseTask {
|
|
|
205
407
|
* @param p6
|
|
206
408
|
* @param p7
|
|
207
409
|
* @param p8
|
|
208
|
-
* @param p9
|
|
209
|
-
* @param p10
|
|
210
|
-
*/
|
|
211
|
-
followAndConverseWithPed(targetPed: Ped, p2: any, p3: any, p4: number, p5: number, p6: number, p7: any, p8: any, p9: number, p10: number): void;
|
|
212
|
-
/**
|
|
213
|
-
* @param pos
|
|
214
|
-
* @param distance
|
|
215
|
-
* @param p5
|
|
216
|
-
* @param p6
|
|
217
|
-
* @param p7
|
|
218
|
-
* @param p8
|
|
219
410
|
*/
|
|
220
|
-
|
|
411
|
+
N_0x3FFCD7BBA074CC80(p1: any, p2: any, p3: any, p4: any, p5: any, p6: any, p7: any, p8: any): void;
|
|
221
412
|
/**
|
|
222
|
-
* @param eventName
|
|
223
413
|
* @returns
|
|
224
414
|
*/
|
|
225
|
-
|
|
415
|
+
get IsMountedWeaponTaskUnderneathDrivingTask(): boolean;
|
|
226
416
|
/**
|
|
227
|
-
*
|
|
417
|
+
* flags: See TASK_ENTER_VEHICLE
|
|
228
418
|
*
|
|
229
|
-
* @param
|
|
230
|
-
* @param
|
|
231
|
-
*/
|
|
232
|
-
swapFishingBait(bait: string | null, withoutBuoy: boolean): void;
|
|
233
|
-
/**
|
|
234
|
-
* @returns
|
|
419
|
+
* @param p1
|
|
420
|
+
* @param flags Refer to [enum: eEnterExitVehicleFlags]
|
|
235
421
|
*/
|
|
236
|
-
|
|
237
|
-
cuffPed(): void;
|
|
422
|
+
disembarkNearestTrainCarriage(p1: number, flags: number): void;
|
|
238
423
|
/**
|
|
239
|
-
*
|
|
240
|
-
* 3rd param might be the entity ped is in? like boat or wagon, 12th param might be the cruiseSpeed of the entity ped is in?
|
|
241
|
-
* EXAMPLE: TaskGoToCoordAnyMeansExtraParamsWithCruiseSpeed(PlayerPedId(), vector3(x, y, z), 3.0, entity, 1, 0, -1082130432, 0, 101004800, 520, 3.0, 1082130432, 0)
|
|
424
|
+
* fleeType: see TASK_FLEE_COORD
|
|
242
425
|
*
|
|
243
|
-
* @param
|
|
244
|
-
* @param
|
|
245
|
-
* @param
|
|
246
|
-
* @param p5
|
|
426
|
+
* @param fleeFromTarget
|
|
427
|
+
* @param pos
|
|
428
|
+
* @param distance
|
|
247
429
|
* @param p6
|
|
248
430
|
* @param p7
|
|
249
431
|
* @param p8
|
|
250
|
-
* @param
|
|
251
|
-
* @param p10
|
|
252
|
-
* @param p11
|
|
253
|
-
* @param cruiseSpeed2
|
|
254
|
-
* @param p13
|
|
255
|
-
* @param p14
|
|
256
|
-
* @returns gotoCoords
|
|
432
|
+
* @param targetPed
|
|
257
433
|
*/
|
|
258
|
-
|
|
434
|
+
fleeFromPed(fleeFromTarget: Ped, pos: Vector3, distance: number, p6: number, p7: number, p8: number, targetPed: Ped): void;
|
|
259
435
|
/**
|
|
260
436
|
* @returns
|
|
261
437
|
*/
|
|
262
|
-
|
|
263
|
-
clearDefensiveArea(): void;
|
|
264
|
-
/**
|
|
265
|
-
* @param modifier
|
|
266
|
-
*/
|
|
267
|
-
setPedPathDeepSnowCostModifier(modifier: number): void;
|
|
438
|
+
get IsPedGettingUp(): boolean;
|
|
268
439
|
/**
|
|
269
|
-
* @
|
|
440
|
+
* @param time
|
|
270
441
|
*/
|
|
271
|
-
|
|
442
|
+
duck(time: number): void;
|
|
272
443
|
/**
|
|
273
|
-
* @param
|
|
274
|
-
* @param
|
|
444
|
+
* @param p1
|
|
445
|
+
* @param p2
|
|
275
446
|
* @param p3
|
|
447
|
+
* @param p4
|
|
276
448
|
*/
|
|
277
|
-
|
|
278
|
-
detachCarriablePed(): void;
|
|
279
|
-
/**
|
|
280
|
-
* @returns
|
|
281
|
-
*/
|
|
282
|
-
getItemInteractionState(): number;
|
|
283
|
-
/**
|
|
284
|
-
* @returns
|
|
285
|
-
*/
|
|
286
|
-
getIsPedAimingInTheAir(): any;
|
|
449
|
+
robPed(p1: any, p2: any, p3: any, p4: any): void;
|
|
287
450
|
/**
|
|
288
|
-
*
|
|
289
|
-
* param4: using 2048 is fine
|
|
290
|
-
* param5: using 3 is fine
|
|
451
|
+
* getupSetHash: see nm_blend_out_sets.meta
|
|
291
452
|
*
|
|
292
|
-
* @param
|
|
293
|
-
* @param
|
|
453
|
+
* @param flags
|
|
454
|
+
* @param getupSetHash
|
|
294
455
|
* @param p3
|
|
295
456
|
* @param p4
|
|
296
457
|
* @param p5
|
|
297
458
|
*/
|
|
298
|
-
|
|
459
|
+
unhogtiePed(flags: number, getupSetHash: string | number, p3: string | null, p4: string | null, p5: number): void;
|
|
299
460
|
/**
|
|
300
|
-
*
|
|
301
|
-
*
|
|
461
|
+
* hecks if the ped camera is directed at the given coord within the specified radius. https://www.youtube.com/watch?v=iLHXrWVvq_c
|
|
462
|
+
*
|
|
463
|
+
* @param coord The coord to check if they're looking at
|
|
464
|
+
* @param radius The radius of the frustum
|
|
465
|
+
* @returns Returns `true` if the ped camera is within the range of the frustum, `false` otherwise
|
|
302
466
|
*/
|
|
303
|
-
|
|
467
|
+
isPedLookingAtCoord(coord: Vector3, radius: number): boolean;
|
|
304
468
|
/**
|
|
305
|
-
*
|
|
306
|
-
*
|
|
307
|
-
* @param grappleTarget
|
|
308
|
-
* @param grappleStyle
|
|
309
|
-
* @param p3
|
|
310
|
-
* @param p4
|
|
311
|
-
* @param p5
|
|
312
|
-
* @param p6
|
|
469
|
+
* @param entity
|
|
313
470
|
*/
|
|
314
|
-
|
|
471
|
+
walkAway(entity: Entity): void;
|
|
315
472
|
/**
|
|
316
|
-
* @
|
|
317
|
-
* @param p2
|
|
473
|
+
* @returns
|
|
318
474
|
*/
|
|
319
|
-
|
|
475
|
+
get HogtieEscapeTimer(): number;
|
|
476
|
+
weapon(): void;
|
|
320
477
|
/**
|
|
321
|
-
* @
|
|
478
|
+
* @returns
|
|
322
479
|
*/
|
|
323
|
-
|
|
480
|
+
get IsPedWalking(): boolean;
|
|
324
481
|
/**
|
|
325
482
|
* @param p1
|
|
483
|
+
*/
|
|
484
|
+
N_0xFFB520A3E16F7B7B(p1: number): void;
|
|
485
|
+
persistentCharacter(): void;
|
|
486
|
+
/**
|
|
487
|
+
* @param speed
|
|
326
488
|
* @param p2
|
|
327
489
|
* @param p3
|
|
328
490
|
* @param p4
|
|
329
|
-
* @param p5
|
|
330
|
-
* @param p6
|
|
331
|
-
* @param p7
|
|
332
491
|
*/
|
|
333
|
-
|
|
492
|
+
waypointPlaybackOverrideSpeed(speed: number, p2: any, p3: any, p4: any): void;
|
|
334
493
|
/**
|
|
335
|
-
* @param
|
|
494
|
+
* @param p1
|
|
336
495
|
* @param p2
|
|
337
|
-
* @
|
|
496
|
+
* @param p3
|
|
338
497
|
*/
|
|
339
|
-
|
|
498
|
+
climbLadder(p1: number, p2: boolean, p3: boolean): void;
|
|
340
499
|
/**
|
|
341
|
-
*
|
|
500
|
+
* Makes a ped run away from another ped (fleeFromTarget) fleeDistance = ped will flee this distance
|
|
501
|
+
* fleeTime = ped will flee for this amount of time, set to "-1" to flee forever
|
|
502
|
+
* fleeType = can be 0, R* Scripts: fm_mission/race_controller: 66048; fme_escaped_convicts: 2260992, 2523136, 2359296; la_alligator/fox: 2097152; net_fetch: 17301536; net_stable_mount: 540928
|
|
503
|
+
* fleeSpeed = mostly 3f, rarely 1f in R* Scripts
|
|
504
|
+
*
|
|
505
|
+
* @param fleeFromTarget
|
|
506
|
+
* @param fleeDistance
|
|
507
|
+
* @param fleeTime
|
|
508
|
+
* @param fleeType Refer to [enum: eFleeStyle]
|
|
509
|
+
* @param fleeSpeed
|
|
510
|
+
* @param targetPed
|
|
342
511
|
*/
|
|
343
|
-
|
|
512
|
+
smartFleePed(fleeFromTarget: Ped, fleeDistance: number, fleeTime: number, fleeType: number, fleeSpeed: number, targetPed: Ped): void;
|
|
344
513
|
/**
|
|
345
514
|
* @param pos
|
|
346
|
-
* @param
|
|
515
|
+
* @param time
|
|
347
516
|
* @param p5
|
|
348
517
|
* @param p6
|
|
349
|
-
* @param p7
|
|
350
|
-
* @param p8
|
|
351
|
-
*/
|
|
352
|
-
useNearestScenarioChainToCoordWarp(pos: Vector3, distance: number, p5: boolean, p6: boolean, p7: boolean, p8: boolean): void;
|
|
353
|
-
/**
|
|
354
|
-
* returned values:
|
|
355
|
-
* 0 to 7 = task that's currently in progress, 0 meaning the first one.
|
|
356
|
-
* -1 no task sequence in progress.
|
|
357
|
-
*
|
|
358
|
-
* @returns
|
|
359
518
|
*/
|
|
360
|
-
|
|
519
|
+
aimGunAtCoord(pos: Vector3, time: number, p5: boolean, p6: boolean): void;
|
|
361
520
|
/**
|
|
362
|
-
* @
|
|
521
|
+
* @param targetPed
|
|
363
522
|
*/
|
|
364
|
-
|
|
523
|
+
cutFreeHogtiedTargetPed(targetPed: Ped): void;
|
|
365
524
|
/**
|
|
366
|
-
* @param
|
|
525
|
+
* @param signalName
|
|
526
|
+
* @param value
|
|
367
527
|
*/
|
|
368
|
-
|
|
528
|
+
setTaskMoveNetworkSignalFloat2(signalName: string | null, value: number): void;
|
|
369
529
|
/**
|
|
370
530
|
* @param p1
|
|
371
531
|
* @param p2
|
|
372
532
|
*/
|
|
373
|
-
|
|
533
|
+
ambientAnimalHunt(p1: any, p2: any): void;
|
|
374
534
|
/**
|
|
375
|
-
* @param
|
|
376
|
-
* @param
|
|
377
|
-
* @returns
|
|
535
|
+
* @param p1
|
|
536
|
+
* @param taskFlag Refer to [enum: eEnterExitVehicleFlags]
|
|
378
537
|
*/
|
|
379
|
-
|
|
380
|
-
N_0x1F298C7BD30D1240(): void;
|
|
538
|
+
leaveAnyVehicle(p1: number, taskFlag: number): void;
|
|
381
539
|
/**
|
|
382
|
-
* @param
|
|
540
|
+
* @param targetPed
|
|
383
541
|
* @param p2
|
|
384
542
|
* @param p3
|
|
385
543
|
*/
|
|
386
|
-
|
|
544
|
+
combatPed(targetPed: Ped, p2: number, p3: number): void;
|
|
387
545
|
/**
|
|
388
|
-
*
|
|
546
|
+
* Params: p4 = -1.0f, p5 = -1, p6 = 0 in R* Scripts
|
|
389
547
|
*
|
|
548
|
+
* @param fleeFromTarget
|
|
549
|
+
* @param fleeStyle Refer to [enum: eFleeStyle]
|
|
550
|
+
* @param flag
|
|
551
|
+
* @param p4
|
|
552
|
+
* @param p5
|
|
553
|
+
* @param p6
|
|
554
|
+
*/
|
|
555
|
+
fleePed(fleeFromTarget: Ped, fleeStyle: number, flag: number, p4: number, p5: number, p6: number): void;
|
|
556
|
+
/**
|
|
557
|
+
* @returns
|
|
558
|
+
*/
|
|
559
|
+
get IsPedLeadingHorse(): any;
|
|
560
|
+
/**
|
|
390
561
|
* @param entity
|
|
391
562
|
* @param offset
|
|
392
|
-
* @param
|
|
393
|
-
* @param
|
|
394
|
-
* @param
|
|
563
|
+
* @param movementSpeed
|
|
564
|
+
* @param timeout
|
|
565
|
+
* @param stoppingRange
|
|
566
|
+
* @param persistFollowing
|
|
567
|
+
* @param p9
|
|
568
|
+
* @param walkOnly
|
|
569
|
+
* @param p11
|
|
570
|
+
* @param p12
|
|
571
|
+
* @param p13
|
|
395
572
|
*/
|
|
396
|
-
|
|
573
|
+
followToOffsetOfEntity(entity: Entity, offset: Vector3, movementSpeed: number, timeout: number, stoppingRange: number, persistFollowing: boolean, p9: boolean, walkOnly: boolean, p11: boolean, p12: boolean, p13: boolean): void;
|
|
397
574
|
/**
|
|
398
|
-
*
|
|
399
|
-
* -1.0f for ped to never escape
|
|
575
|
+
* duration: the amount of time in milliseconds to do the task. -1 will keep the task going until either another task is applied, or CLEAR_ALL_TASKS() is called with the ped
|
|
400
576
|
*
|
|
401
|
-
* @param
|
|
577
|
+
* @param targetEntity
|
|
578
|
+
* @param duration
|
|
579
|
+
* @param p3
|
|
580
|
+
* @param p4
|
|
402
581
|
*/
|
|
403
|
-
|
|
582
|
+
aimGunAtEntity(targetEntity: Entity, duration: number, p3: boolean, p4: number): void;
|
|
404
583
|
/**
|
|
405
|
-
*
|
|
584
|
+
* `_GET_ANIM_SCENE_FROM_PED_*` But in a strange way, it also seems to work with the butcher's meat-cutting animscene. This does not return AnimScenes in general — it seems restricted to
|
|
585
|
+
* SEARCH-related scenes (needs more research).
|
|
586
|
+
*
|
|
587
|
+
* @returns Returns the AnimScene handle currently associated with the given Ped, but only when the anim event "SEARCHSTART" has fired on that Ped.
|
|
406
588
|
*/
|
|
407
|
-
|
|
589
|
+
N_0x2C497BDEF897C6DF(): AnimScene | null;
|
|
408
590
|
/**
|
|
409
591
|
* @param p1
|
|
592
|
+
* @returns
|
|
410
593
|
*/
|
|
411
|
-
|
|
594
|
+
police(p1: boolean): any;
|
|
412
595
|
/**
|
|
413
|
-
*
|
|
414
|
-
*
|
|
415
|
-
* @param pos
|
|
416
|
-
* @param moveBlendRatio
|
|
417
|
-
* @param timeBeforeTeleport
|
|
418
|
-
* @param finalHeading
|
|
419
|
-
* @param targetRadius
|
|
420
|
-
* @param p8
|
|
596
|
+
* @param scenarioPoint
|
|
597
|
+
* @param flag
|
|
421
598
|
*/
|
|
422
|
-
|
|
599
|
+
hitchAnimal(scenarioPoint: number, flag: number): void;
|
|
600
|
+
uncuffPed(): void;
|
|
423
601
|
/**
|
|
424
|
-
* @
|
|
602
|
+
* @param p1
|
|
603
|
+
* @param p2
|
|
604
|
+
* @param p3
|
|
425
605
|
*/
|
|
426
|
-
|
|
606
|
+
waypointPlaybackPause(p1: any, p2: any, p3: any): void;
|
|
427
607
|
/**
|
|
428
|
-
*
|
|
608
|
+
* meleeStyles: AR_GRAPPLE_BACK_FROM_BACK, AR_GRAPPLE_MOUNT_FACEDOWN_FROM_FRONT, AR_ALLIGATOR_LEAPKILL, AR_ALLIGATOR_WAIST_AUTOKILL_FRONT
|
|
429
609
|
*
|
|
430
|
-
* @param
|
|
610
|
+
* @param meleeTarget
|
|
611
|
+
* @param meleeStyle
|
|
612
|
+
* @param p3
|
|
613
|
+
* @param animBlendRatio
|
|
614
|
+
* @param p5
|
|
615
|
+
* @param p6
|
|
431
616
|
*/
|
|
432
|
-
|
|
617
|
+
putPedDirectlyIntoMelee(meleeTarget: Ped, meleeStyle: string | number, p3: number, animBlendRatio: number, p5: boolean, p6: number): void;
|
|
433
618
|
/**
|
|
434
|
-
*
|
|
435
|
-
*
|
|
436
|
-
*
|
|
437
|
-
* @param
|
|
438
|
-
* @param pos
|
|
619
|
+
* @param waypointRecording
|
|
620
|
+
* @param p2
|
|
621
|
+
* @param flag
|
|
622
|
+
* @param p4
|
|
439
623
|
* @param p5
|
|
440
624
|
* @param p6
|
|
441
|
-
* @param
|
|
625
|
+
* @param p7
|
|
442
626
|
*/
|
|
443
|
-
|
|
627
|
+
followWaypointRecording(waypointRecording: string | null, p2: number, flag: number, p4: number, p5: boolean, p6: any, p7: number): void;
|
|
628
|
+
/**
|
|
629
|
+
* @param targetPed
|
|
630
|
+
*/
|
|
631
|
+
hogtieTargetPed(targetPed: Ped): void;
|
|
444
632
|
/**
|
|
633
|
+
* shootatEntity:
|
|
634
|
+
* If true, peds will shoot at Entity till it is dead.
|
|
635
|
+
* If false, peds will just walk till they reach the entity and will cease shooting.
|
|
636
|
+
*
|
|
445
637
|
* @param p1
|
|
446
638
|
* @param p2
|
|
447
639
|
* @param p3
|
|
@@ -452,106 +644,163 @@ export declare class PedTask extends BaseTask {
|
|
|
452
644
|
* @param p8
|
|
453
645
|
* @param p9
|
|
454
646
|
* @param p10
|
|
455
|
-
* @param p11
|
|
456
|
-
* @param p12
|
|
457
|
-
* @param p13
|
|
458
|
-
* @param p14
|
|
459
|
-
* @param p15
|
|
460
647
|
*/
|
|
461
|
-
|
|
648
|
+
goToEntityWhileAimingAtEntity(p1: any, p2: any, p3: any, p4: any, p5: any, p6: any, p7: any, p8: any, p9: any, p10: any): void;
|
|
462
649
|
/**
|
|
463
|
-
*
|
|
650
|
+
* @param pos
|
|
651
|
+
* @param distance
|
|
652
|
+
*/
|
|
653
|
+
useNearestTrainScenarioToCoordWarp(pos: Vector3, distance: number): void;
|
|
654
|
+
/**
|
|
655
|
+
* @param p1
|
|
656
|
+
*/
|
|
657
|
+
wanderSwim(p1: any): void;
|
|
658
|
+
/**
|
|
659
|
+
* duration in milliseconds
|
|
464
660
|
*
|
|
661
|
+
* @param pos
|
|
465
662
|
* @param duration
|
|
466
|
-
* @param facingPed
|
|
467
|
-
* @param timeToFacePed
|
|
468
|
-
* @param flags
|
|
469
663
|
*/
|
|
470
|
-
|
|
664
|
+
turnPedToFaceCoord(pos: Vector3, duration: number): void;
|
|
471
665
|
/**
|
|
472
|
-
*
|
|
473
|
-
*
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
* @param
|
|
478
|
-
* @param
|
|
479
|
-
* @param
|
|
666
|
+
* @param preferAvoidMud
|
|
667
|
+
* @param p2
|
|
668
|
+
*/
|
|
669
|
+
setPedPathPreferToAvoidMud(preferAvoidMud: boolean, p2: number): void;
|
|
670
|
+
/**
|
|
671
|
+
* @param animDict
|
|
672
|
+
* @param animName
|
|
673
|
+
* @param entity
|
|
674
|
+
* @param p4
|
|
675
|
+
* @param p5
|
|
480
676
|
* @param p6
|
|
481
677
|
* @param p7
|
|
678
|
+
* @param p8
|
|
679
|
+
* @param p9
|
|
680
|
+
* @param p10
|
|
681
|
+
* @param p11
|
|
682
|
+
* @param p12
|
|
683
|
+
* @param p13
|
|
684
|
+
* @param p14
|
|
482
685
|
*/
|
|
483
|
-
|
|
686
|
+
playUpperAnimFacingEntity(animDict: string | null, animName: string | null, entity: Entity, p4: number, p5: number, p6: number, p7: number, p8: number, p9: boolean, p10: boolean, p11: number, p12: string | null, p13: number, p14: number): void;
|
|
484
687
|
/**
|
|
485
|
-
* @
|
|
688
|
+
* @param goToLocationX
|
|
689
|
+
* @param goToLocationY
|
|
690
|
+
* @param goToLocationZ
|
|
691
|
+
* @param focusLocationX
|
|
692
|
+
* @param focusLocationY
|
|
693
|
+
* @param focusLocationZ
|
|
694
|
+
* @param speed
|
|
695
|
+
* @param shootAtEnemies
|
|
696
|
+
* @param distanceToStopAt
|
|
697
|
+
* @param noRoadsDistance
|
|
698
|
+
* @param unkTrue
|
|
699
|
+
* @param unkFlag
|
|
700
|
+
* @param aimingFlag
|
|
701
|
+
* @param firingPattern
|
|
486
702
|
*/
|
|
487
|
-
|
|
703
|
+
goToCoordAndAimAtHatedEntitiesNearCoord(goToLocationX: number, goToLocationY: number, goToLocationZ: number, focusLocationX: number, focusLocationY: number, focusLocationZ: number, speed: number, shootAtEnemies: boolean, distanceToStopAt: number, noRoadsDistance: number, unkTrue: boolean, unkFlag: number, aimingFlag: number, firingPattern: string | number): void;
|
|
488
704
|
/**
|
|
489
|
-
* @param
|
|
490
|
-
* @param
|
|
705
|
+
* @param itemHash
|
|
706
|
+
* @param interactionAnimHash
|
|
707
|
+
* @param p3
|
|
708
|
+
* @returns
|
|
491
709
|
*/
|
|
492
|
-
|
|
710
|
+
canStartItemInteraction(itemHash: string | number, interactionAnimHash: string | number, p3: number): any;
|
|
493
711
|
/**
|
|
494
712
|
* @param targetPed
|
|
495
713
|
* @param p2
|
|
496
714
|
* @param p3
|
|
715
|
+
* @param p4
|
|
716
|
+
* @param p5
|
|
717
|
+
* @param p6
|
|
718
|
+
* @param p7
|
|
719
|
+
* @param p8
|
|
720
|
+
* @param p9
|
|
721
|
+
* @param p10
|
|
497
722
|
*/
|
|
498
|
-
|
|
723
|
+
followAndConverseWithPed(targetPed: Ped, p2: any, p3: any, p4: number, p5: number, p6: number, p7: any, p8: any, p9: number, p10: number): void;
|
|
499
724
|
/**
|
|
500
|
-
*
|
|
501
|
-
*
|
|
502
|
-
* @param fleeFromTarget
|
|
503
|
-
* @param fleeStyle Refer to [enum: eFleeStyle]
|
|
504
|
-
* @param flag
|
|
505
|
-
* @param p4
|
|
725
|
+
* @param pos
|
|
726
|
+
* @param distance
|
|
506
727
|
* @param p5
|
|
507
728
|
* @param p6
|
|
729
|
+
* @param p7
|
|
730
|
+
* @param p8
|
|
508
731
|
*/
|
|
509
|
-
|
|
732
|
+
useNearestScenarioChainToCoord(pos: Vector3, distance: number, p5: boolean, p6: boolean, p7: boolean, p8: boolean): void;
|
|
733
|
+
/**
|
|
734
|
+
* @param eventName
|
|
735
|
+
* @returns
|
|
736
|
+
*/
|
|
737
|
+
getTaskMoveNetworkEvent(eventName: string | null): boolean;
|
|
738
|
+
/**
|
|
739
|
+
* Baits: see 0x9B0C7FA063E67629
|
|
740
|
+
*
|
|
741
|
+
* @param bait
|
|
742
|
+
* @param withoutBuoy
|
|
743
|
+
*/
|
|
744
|
+
swapFishingBait(bait: string | null, withoutBuoy: boolean): void;
|
|
510
745
|
/**
|
|
511
746
|
* @returns
|
|
512
747
|
*/
|
|
513
|
-
|
|
748
|
+
get IsDrivebyTaskUnderneathDrivingTask(): boolean;
|
|
749
|
+
cuffPed(): void;
|
|
514
750
|
/**
|
|
751
|
+
* This native allows to control the cruise speed of where you want the ped to go
|
|
752
|
+
* 3rd param might be the entity ped is in? like boat or wagon, 12th param might be the cruiseSpeed of the entity ped is in?
|
|
753
|
+
* EXAMPLE: TaskGoToCoordAnyMeansExtraParamsWithCruiseSpeed(PlayerPedId(), vector3(x, y, z), 3.0, entity, 1, 0, -1082130432, 0, 101004800, 520, 3.0, 1082130432, 0)
|
|
754
|
+
*
|
|
755
|
+
* @param cruiseSpeed
|
|
515
756
|
* @param entity
|
|
516
|
-
* @param
|
|
517
|
-
* @param
|
|
518
|
-
* @param
|
|
519
|
-
* @param
|
|
520
|
-
* @param
|
|
757
|
+
* @param p4
|
|
758
|
+
* @param p5
|
|
759
|
+
* @param p6
|
|
760
|
+
* @param p7
|
|
761
|
+
* @param p8
|
|
521
762
|
* @param p9
|
|
522
|
-
* @param
|
|
763
|
+
* @param p10
|
|
523
764
|
* @param p11
|
|
524
|
-
* @param
|
|
765
|
+
* @param cruiseSpeed2
|
|
525
766
|
* @param p13
|
|
767
|
+
* @param p14
|
|
768
|
+
* @returns gotoCoords
|
|
526
769
|
*/
|
|
527
|
-
|
|
770
|
+
goToCoordAnyMeansExtraParamsWithCruiseSpeed(cruiseSpeed: number, entity: Entity, p4: number, p5: number, p6: any, p7: any, p8: any, p9: any, p10: any, p11: any, cruiseSpeed2: number, p13: any, p14: any): Vector3;
|
|
528
771
|
/**
|
|
529
|
-
*
|
|
530
|
-
|
|
531
|
-
|
|
772
|
+
* @param radius
|
|
773
|
+
*/
|
|
774
|
+
combatHatedTargetsNoLosTest(radius: number): void;
|
|
775
|
+
/**
|
|
776
|
+
* @param p1
|
|
777
|
+
*/
|
|
778
|
+
N_0x31BB338F64D5C861(p1: boolean): void;
|
|
779
|
+
/**
|
|
780
|
+
* @param modifier
|
|
781
|
+
*/
|
|
782
|
+
set PedPathClimbCostModifier(modifier: number);
|
|
783
|
+
/**
|
|
784
|
+
* @param entity
|
|
532
785
|
* @param duration
|
|
533
|
-
* @param
|
|
534
|
-
* @param
|
|
786
|
+
* @param targetRadius
|
|
787
|
+
* @param offset
|
|
788
|
+
* @param moveBlendRatio
|
|
789
|
+
* @param offsetFlags
|
|
535
790
|
*/
|
|
536
|
-
|
|
791
|
+
gotoEntityOffsetXy(entity: Entity, duration: number, targetRadius: number, offset: Vector2, moveBlendRatio: number, offsetFlags: number): void;
|
|
537
792
|
/**
|
|
538
|
-
*
|
|
539
|
-
* SEARCH-related scenes (needs more research).
|
|
793
|
+
* Makes ped walk around the area the params p1 p2 seems to not affect anything but p2 is either 0 or 1 and p1 is mostly 1.0 or ped heading
|
|
540
794
|
*
|
|
541
|
-
* @
|
|
795
|
+
* @param p2
|
|
796
|
+
* @param p3
|
|
542
797
|
*/
|
|
543
|
-
|
|
798
|
+
wanderStandard(p2: number, p3: number): void;
|
|
544
799
|
/**
|
|
545
800
|
* @param p1
|
|
546
|
-
* @
|
|
547
|
-
*/
|
|
548
|
-
police(p1: boolean): any;
|
|
549
|
-
/**
|
|
550
|
-
* @param scenarioPoint
|
|
551
|
-
* @param flag
|
|
801
|
+
* @param p2
|
|
552
802
|
*/
|
|
553
|
-
|
|
554
|
-
uncuffPed(): void;
|
|
803
|
+
clearPedTasks(p1: boolean, p2: boolean): void;
|
|
555
804
|
/**
|
|
556
805
|
* @param moveNetworkDefName
|
|
557
806
|
* @param p3
|
|
@@ -581,7 +830,7 @@ export declare class PedTask extends BaseTask {
|
|
|
581
830
|
/**
|
|
582
831
|
* @returns
|
|
583
832
|
*/
|
|
584
|
-
|
|
833
|
+
get IsPedRunningTaskItemInteraction(): boolean;
|
|
585
834
|
/**
|
|
586
835
|
* @param vehicle
|
|
587
836
|
*/
|
|
@@ -600,39 +849,139 @@ export declare class PedTask extends BaseTask {
|
|
|
600
849
|
/**
|
|
601
850
|
* @param avoidTraffic
|
|
602
851
|
*/
|
|
603
|
-
|
|
852
|
+
set PedPathAvoidTraffic(avoidTraffic: boolean);
|
|
604
853
|
/**
|
|
605
|
-
*
|
|
606
|
-
*
|
|
607
|
-
*
|
|
608
|
-
* @returns
|
|
854
|
+
* @param p1
|
|
855
|
+
* @param p2
|
|
609
856
|
*/
|
|
610
|
-
|
|
857
|
+
guard(p1: any, p2: any): void;
|
|
611
858
|
/**
|
|
612
|
-
* @param
|
|
859
|
+
* @param attacker
|
|
613
860
|
* @param p2
|
|
614
|
-
* @param
|
|
615
|
-
* @param
|
|
616
|
-
* @param
|
|
861
|
+
* @param unusedParam3 Unused by the native.
|
|
862
|
+
* @param unusedParam4 Unused by the native.
|
|
863
|
+
* @param everyFrame Removes the `0x1000` bitmask from `flag`
|
|
617
864
|
* @param p6
|
|
865
|
+
* @param p7 Removes the `0x80000` bitmask from `flag`
|
|
866
|
+
* @param flag
|
|
867
|
+
* @returns Returns `true` on success, `false` if it failed (whether due to `attacker` being invalid, or the `attacker` ped being dead)
|
|
618
868
|
*/
|
|
619
|
-
|
|
869
|
+
intimidated2(attacker: Ped, p2: number, unusedParam3: boolean, unusedParam4: boolean, everyFrame: boolean, p6: boolean, p7: boolean, flag: number): boolean;
|
|
620
870
|
/**
|
|
621
|
-
* @param
|
|
622
|
-
* @param duration
|
|
623
|
-
* @param firingPattern
|
|
624
|
-
* @param p6
|
|
871
|
+
* @param avoidFire
|
|
625
872
|
*/
|
|
626
|
-
|
|
873
|
+
set PedPathAvoidFire(avoidFire: boolean);
|
|
627
874
|
/**
|
|
628
|
-
*
|
|
629
|
-
*
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
*
|
|
634
|
-
*
|
|
635
|
-
*
|
|
875
|
+
* @param reviver
|
|
876
|
+
* @param tool
|
|
877
|
+
*/
|
|
878
|
+
reviveTarget(reviver: Ped, tool: string | number): void;
|
|
879
|
+
/**
|
|
880
|
+
* https://github.com/femga/rdr3_discoveries/blob/master/animations/kit_emotes_list.lua
|
|
881
|
+
* emote: https://alloc8or.re/rdr3/doc/enums/eEmote.txt enum eEmoteType
|
|
882
|
+
* {
|
|
883
|
+
* EMOTE_TYPE_INVALID = -1,
|
|
884
|
+
* EMOTE_TYPE_REACT,
|
|
885
|
+
* EMOTE_TYPE_ACTION,
|
|
886
|
+
* EMOTE_TYPE_TAUNT,
|
|
887
|
+
* EMOTE_TYPE_GREET,
|
|
888
|
+
* EMOTE_TYPE_TWIRL_GUN,
|
|
889
|
+
* EMOTE_TYPE_DANCE_FLOOR
|
|
890
|
+
* }; enum eEmotePlaybackMode
|
|
891
|
+
* {
|
|
892
|
+
* EMOTE_PM_INVALID = -1,
|
|
893
|
+
* EMOTE_PM_UPPERBODY,
|
|
894
|
+
* EMOTE_PM_UPPERBODY_LOOP,
|
|
895
|
+
* EMOTE_PM_FULLBODY,
|
|
896
|
+
* };
|
|
897
|
+
*
|
|
898
|
+
* @param emoteType
|
|
899
|
+
* @param playbackMode
|
|
900
|
+
* @param emote
|
|
901
|
+
* @param isSecondaryTask
|
|
902
|
+
* @param canBreakOut
|
|
903
|
+
* @param disableEarlyOutAnimTag
|
|
904
|
+
* @param ignoreInvalidMainTask
|
|
905
|
+
* @param destroyProps
|
|
906
|
+
*/
|
|
907
|
+
playEmoteWithHash(emoteType: number, playbackMode: number, emote: string | number, isSecondaryTask: boolean, canBreakOut: boolean, disableEarlyOutAnimTag: boolean, ignoreInvalidMainTask: boolean, destroyProps: boolean): void;
|
|
908
|
+
/**
|
|
909
|
+
* @returns
|
|
910
|
+
*/
|
|
911
|
+
get IsTaskMoveNetworkReadyForTransition(): boolean;
|
|
912
|
+
clearDefensiveArea(): void;
|
|
913
|
+
/**
|
|
914
|
+
* @param modifier
|
|
915
|
+
*/
|
|
916
|
+
set PedPathDeepSnowCostModifier(modifier: number);
|
|
917
|
+
/**
|
|
918
|
+
* @returns
|
|
919
|
+
*/
|
|
920
|
+
get ItemInteractionItemId(): number;
|
|
921
|
+
/**
|
|
922
|
+
* @param entity
|
|
923
|
+
* @param mount
|
|
924
|
+
* @param p3
|
|
925
|
+
*/
|
|
926
|
+
placeCarriedEntityOnMount(entity: Entity, mount: Ped, p3: number): void;
|
|
927
|
+
detachCarriablePed(): void;
|
|
928
|
+
/**
|
|
929
|
+
* @returns
|
|
930
|
+
*/
|
|
931
|
+
get ItemInteractionState(): number;
|
|
932
|
+
/**
|
|
933
|
+
* @returns
|
|
934
|
+
*/
|
|
935
|
+
get IsPedAimingInTheAir(): any;
|
|
936
|
+
/**
|
|
937
|
+
* param3: duration in ms, use -1 to look forever
|
|
938
|
+
* param4: using 2048 is fine
|
|
939
|
+
* param5: using 3 is fine
|
|
940
|
+
*
|
|
941
|
+
* @param lookAtTarget
|
|
942
|
+
* @param duration
|
|
943
|
+
* @param p3
|
|
944
|
+
* @param p4
|
|
945
|
+
* @param p5
|
|
946
|
+
*/
|
|
947
|
+
lookAtEntity(lookAtTarget: Entity, duration: number, p3: number, p4: number, p5: number): void;
|
|
948
|
+
/**
|
|
949
|
+
* @param taskIndex
|
|
950
|
+
* @returns
|
|
951
|
+
*/
|
|
952
|
+
getIsTaskActive(taskIndex: number): boolean;
|
|
953
|
+
/**
|
|
954
|
+
* Returns hash of the underlying move network def, see move_networks.xml
|
|
955
|
+
* https://alloc8or.re/rdr3/doc/misc/move_networks.txt
|
|
956
|
+
*
|
|
957
|
+
* @returns
|
|
958
|
+
*/
|
|
959
|
+
get TaskMoveNetworkId(): number;
|
|
960
|
+
/**
|
|
961
|
+
* @param p1
|
|
962
|
+
* @param p2
|
|
963
|
+
* @param p3
|
|
964
|
+
* @param p4
|
|
965
|
+
* @param p5
|
|
966
|
+
* @param p6
|
|
967
|
+
*/
|
|
968
|
+
guardAssignedDefensiveArea(p1: number, p2: number, p3: number, p4: number, p5: number, p6: any): void;
|
|
969
|
+
/**
|
|
970
|
+
* @param pos
|
|
971
|
+
* @param duration
|
|
972
|
+
* @param firingPattern
|
|
973
|
+
* @param p6
|
|
974
|
+
*/
|
|
975
|
+
shootAtCoord(pos: Vector3, duration: number, firingPattern: string | number, p6: any): void;
|
|
976
|
+
/**
|
|
977
|
+
* Makes a ped react to an entity.
|
|
978
|
+
* Params: reactingTo Entity can be 0, p8 is always 4
|
|
979
|
+
*
|
|
980
|
+
* @param reactingTo
|
|
981
|
+
* @param pos
|
|
982
|
+
* @param reactionName
|
|
983
|
+
* @param p6
|
|
984
|
+
* @param p7
|
|
636
985
|
* @param p8
|
|
637
986
|
*/
|
|
638
987
|
react(reactingTo: Entity, pos: Vector3, reactionName: string | null, p6: number, p7: number, p8: number): void;
|
|
@@ -709,51 +1058,17 @@ export declare class PedTask extends BaseTask {
|
|
|
709
1058
|
goToCoordAnyMeansExtraParams(pos: Vector3, speed: number, p5: any, p6: boolean, walkingStyle: number, p8: number, p9: any, p10: any, p11: any, p12: any): void;
|
|
710
1059
|
/**
|
|
711
1060
|
* @param pos
|
|
712
|
-
* @param speedMultiplier
|
|
713
1061
|
* @param timeout
|
|
714
|
-
* @param stoppingRange
|
|
715
|
-
* @param flags
|
|
716
|
-
* @param p8
|
|
717
|
-
* @param p9
|
|
718
|
-
* @param p10
|
|
719
|
-
* @param entity
|
|
720
|
-
* @param unk
|
|
721
|
-
*/
|
|
722
|
-
followNavMeshToCoordAdvanced(pos: Vector3, speedMultiplier: number, timeout: number, stoppingRange: number, flags: number, p8: number, p9: number, p10: number, entity: Entity, unk: number): void;
|
|
723
|
-
/**
|
|
724
|
-
* @param radius
|
|
725
|
-
* @param time
|
|
726
|
-
* @param flags
|
|
727
|
-
*/
|
|
728
|
-
combatHatedTargetsAroundPedTimed(radius: number, time: number, flags: number): void;
|
|
729
|
-
/**
|
|
730
|
-
* @returns
|
|
731
|
-
*/
|
|
732
|
-
isPedRunning(): boolean;
|
|
733
|
-
/**
|
|
734
|
-
* @returns
|
|
735
|
-
*/
|
|
736
|
-
isPedSprinting(): boolean;
|
|
737
|
-
/**
|
|
738
|
-
* @param useSlidingSurfaces
|
|
739
|
-
*/
|
|
740
|
-
setPedPathMayUseSlidingSurfaces(useSlidingSurfaces: boolean): void;
|
|
741
|
-
/**
|
|
742
|
-
* Force a ped that is already attacking to aim directly at the specified world coordinates.
|
|
743
|
-
*
|
|
744
|
-
* @param pos
|
|
745
|
-
* @param p4
|
|
746
1062
|
* @param p5
|
|
747
1063
|
* @param p6
|
|
1064
|
+
* @param p7
|
|
1065
|
+
* @param p8
|
|
1066
|
+
* @param coverpoint
|
|
1067
|
+
* @param p10
|
|
1068
|
+
* @param p11
|
|
1069
|
+
* @param p12
|
|
748
1070
|
*/
|
|
749
|
-
|
|
750
|
-
/**
|
|
751
|
-
* @param p1
|
|
752
|
-
* @param p2
|
|
753
|
-
* @param p3
|
|
754
|
-
* @param p4
|
|
755
|
-
*/
|
|
756
|
-
swapWeapon(p1: any, p2: any, p3: any, p4: any): void;
|
|
1071
|
+
putPedDirectlyIntoCover(pos: Vector3, timeout: number, p5: boolean, p6: number, p7: any, p8: any, coverpoint: number, p10: boolean, p11: boolean, p12: any): void;
|
|
757
1072
|
/**
|
|
758
1073
|
* @param p1
|
|
759
1074
|
* @param p2
|
|
@@ -763,278 +1078,80 @@ export declare class PedTask extends BaseTask {
|
|
|
763
1078
|
* @param p6
|
|
764
1079
|
* @param p7
|
|
765
1080
|
* @param p8
|
|
766
|
-
*/
|
|
767
|
-
gotoEntityOffsetXyz(p1: any, p2: any, p3: any, p4: any, p5: any, p6: any, p7: any, p8: any): void;
|
|
768
|
-
/**
|
|
769
|
-
* @param pos
|
|
770
|
-
* @param distance
|
|
771
|
-
* @param duration
|
|
772
|
-
* @param p6
|
|
773
|
-
* @param p7
|
|
774
|
-
* @param p8
|
|
775
1081
|
* @param p9
|
|
1082
|
+
* @param p10
|
|
1083
|
+
* @param p11
|
|
1084
|
+
* @param p12
|
|
1085
|
+
* @param p13
|
|
1086
|
+
* @param p14
|
|
776
1087
|
*/
|
|
777
|
-
|
|
778
|
-
/**
|
|
779
|
-
* @param p1
|
|
780
|
-
* @returns
|
|
781
|
-
*/
|
|
782
|
-
N_0x2D657B10F211C572(p1: number): any;
|
|
783
|
-
/**
|
|
784
|
-
* Coords: volume coords used in R* Script smuggler2
|
|
785
|
-
* p4/p5 = 0 in R* Scripts previous name TASK_COMBAT_PED_3
|
|
786
|
-
*
|
|
787
|
-
* @param pos
|
|
788
|
-
* @param p4
|
|
789
|
-
* @param p5
|
|
790
|
-
*/
|
|
791
|
-
combatPedAtCoords(pos: Vector3, p4: number, p5: number): void;
|
|
792
|
-
/**
|
|
793
|
-
* Makes the specified ped stand still for (time) milliseconds.
|
|
794
|
-
*
|
|
795
|
-
* @param time
|
|
796
|
-
*/
|
|
797
|
-
standStill(time: number): void;
|
|
1088
|
+
goToCoordAndAimAtHatedEntitiesNearCoordUsingCombatStyle(p1: any, p2: any, p3: any, p4: any, p5: any, p6: any, p7: any, p8: any, p9: any, p10: any, p11: any, p12: any, p13: any, p14: any): void;
|
|
798
1089
|
/**
|
|
799
|
-
* @param
|
|
800
|
-
* @param animationName
|
|
801
|
-
* @param p3
|
|
1090
|
+
* @param target
|
|
802
1091
|
*/
|
|
803
|
-
|
|
1092
|
+
arrestPed(target: Ped): void;
|
|
804
1093
|
/**
|
|
805
1094
|
* @param p1
|
|
806
1095
|
* @param p2
|
|
807
1096
|
* @param p3
|
|
808
|
-
*/
|
|
809
|
-
turnToFaceClosestPed(p1: number, p2: number, p3: number): void;
|
|
810
|
-
/**
|
|
811
|
-
* Fishing Research: https://pastebin.com/NmK5ZLVs
|
|
812
|
-
* Only used in R* Scripts fishing_core and av_fishing_river
|
|
813
|
-
*
|
|
814
|
-
* @returns p1
|
|
815
|
-
*/
|
|
816
|
-
getTaskFishing(): [any, number];
|
|
817
|
-
/**
|
|
818
|
-
* @param p1
|
|
819
|
-
* @param p2
|
|
820
|
-
*/
|
|
821
|
-
shockingEventReact(p1: any, p2: any): void;
|
|
822
|
-
/**
|
|
823
1097
|
* @returns
|
|
824
1098
|
*/
|
|
825
|
-
|
|
826
|
-
/**
|
|
827
|
-
* fleeType: see TASK_FLEE_COORD
|
|
828
|
-
*
|
|
829
|
-
* @param fleeFromTarget
|
|
830
|
-
* @param pos
|
|
831
|
-
* @param distance
|
|
832
|
-
* @param p6
|
|
833
|
-
* @param p7
|
|
834
|
-
* @param p8
|
|
835
|
-
* @param targetPed
|
|
836
|
-
*/
|
|
837
|
-
fleeFromPed(fleeFromTarget: Ped, pos: Vector3, distance: number, p6: number, p7: number, p8: number, targetPed: Ped): void;
|
|
1099
|
+
setPedWaypointRouteOffset(p1: number, p2: number, p3: number): any;
|
|
838
1100
|
/**
|
|
1101
|
+
* @param waypointRecording
|
|
839
1102
|
* @returns
|
|
840
1103
|
*/
|
|
841
|
-
|
|
842
|
-
/**
|
|
843
|
-
* @param time
|
|
844
|
-
*/
|
|
845
|
-
duck(time: number): void;
|
|
1104
|
+
isWaypointPlaybackGoingOnForPed(waypointRecording: string | null): boolean;
|
|
846
1105
|
/**
|
|
847
1106
|
* @param p1
|
|
848
1107
|
* @param p2
|
|
849
|
-
* @param p3
|
|
850
|
-
* @param p4
|
|
851
1108
|
*/
|
|
852
|
-
|
|
853
|
-
/**
|
|
854
|
-
* getupSetHash: see nm_blend_out_sets.meta
|
|
855
|
-
*
|
|
856
|
-
* @param flags
|
|
857
|
-
* @param getupSetHash
|
|
858
|
-
* @param p3
|
|
859
|
-
* @param p4
|
|
860
|
-
* @param p5
|
|
861
|
-
*/
|
|
862
|
-
unhogtiePed(flags: number, getupSetHash: string | number, p3: string | null, p4: string | null, p5: number): void;
|
|
863
|
-
/**
|
|
864
|
-
* hecks if the ped camera is directed at the given coord within the specified radius. https://www.youtube.com/watch?v=iLHXrWVvq_c
|
|
865
|
-
*
|
|
866
|
-
* @param coord The coord to check if they're looking at
|
|
867
|
-
* @param radius The radius of the frustum
|
|
868
|
-
* @returns Returns `true` if the ped camera is within the range of the frustum, `false` otherwise
|
|
869
|
-
*/
|
|
870
|
-
isPedLookingAtCoord(coord: Vector3, radius: number): boolean;
|
|
871
|
-
/**
|
|
872
|
-
* @param entity
|
|
873
|
-
*/
|
|
874
|
-
walkAway(entity: Entity): void;
|
|
875
|
-
/**
|
|
876
|
-
* @returns
|
|
877
|
-
*/
|
|
878
|
-
getHogtieEscapeTimer(): number;
|
|
879
|
-
weapon(): void;
|
|
880
|
-
/**
|
|
881
|
-
* @returns
|
|
882
|
-
*/
|
|
883
|
-
isPedWalking(): boolean;
|
|
1109
|
+
animalWrithe(p1: any, p2: any): void;
|
|
884
1110
|
/**
|
|
885
1111
|
* @param p1
|
|
886
1112
|
* @param p2
|
|
887
1113
|
* @param p3
|
|
888
|
-
*/
|
|
889
|
-
waypointPlaybackPause(p1: any, p2: any, p3: any): void;
|
|
890
|
-
/**
|
|
891
|
-
* meleeStyles: AR_GRAPPLE_BACK_FROM_BACK, AR_GRAPPLE_MOUNT_FACEDOWN_FROM_FRONT, AR_ALLIGATOR_LEAPKILL, AR_ALLIGATOR_WAIST_AUTOKILL_FRONT
|
|
892
|
-
*
|
|
893
|
-
* @param meleeTarget
|
|
894
|
-
* @param meleeStyle
|
|
895
|
-
* @param p3
|
|
896
|
-
* @param animBlendRatio
|
|
897
|
-
* @param p5
|
|
898
|
-
* @param p6
|
|
899
|
-
*/
|
|
900
|
-
putPedDirectlyIntoMelee(meleeTarget: Ped, meleeStyle: string | number, p3: number, animBlendRatio: number, p5: boolean, p6: number): void;
|
|
901
|
-
/**
|
|
902
|
-
* @param waypointRecording
|
|
903
|
-
* @param p2
|
|
904
|
-
* @param flag
|
|
905
1114
|
* @param p4
|
|
906
|
-
* @param p5
|
|
907
|
-
* @param p6
|
|
908
|
-
* @param p7
|
|
909
1115
|
*/
|
|
910
|
-
|
|
1116
|
+
aimAtEntity(p1: any, p2: any, p3: any, p4: any): void;
|
|
911
1117
|
/**
|
|
912
1118
|
* @param targetPed
|
|
1119
|
+
* @param p2
|
|
1120
|
+
* @param p3
|
|
913
1121
|
*/
|
|
914
|
-
|
|
1122
|
+
combatPedTimed(targetPed: Ped, p2: number, p3: any): void;
|
|
915
1123
|
/**
|
|
916
|
-
* shootatEntity:
|
|
917
|
-
* If true, peds will shoot at Entity till it is dead.
|
|
918
|
-
* If false, peds will just walk till they reach the entity and will cease shooting.
|
|
919
|
-
*
|
|
920
1124
|
* @param p1
|
|
921
1125
|
* @param p2
|
|
922
1126
|
* @param p3
|
|
923
|
-
* @param p4
|
|
924
|
-
* @param p5
|
|
925
|
-
* @param p6
|
|
926
|
-
* @param p7
|
|
927
|
-
* @param p8
|
|
928
|
-
* @param p9
|
|
929
|
-
* @param p10
|
|
930
1127
|
*/
|
|
931
|
-
|
|
1128
|
+
throwProjectile(p1: any, p2: any, p3: any): void;
|
|
932
1129
|
/**
|
|
933
1130
|
* @param pos
|
|
934
|
-
* @param
|
|
935
|
-
|
|
936
|
-
useNearestTrainScenarioToCoordWarp(pos: Vector3, distance: number): void;
|
|
937
|
-
/**
|
|
938
|
-
* @param p1
|
|
1131
|
+
* @param heading
|
|
1132
|
+
* @param p5
|
|
939
1133
|
*/
|
|
940
|
-
|
|
1134
|
+
pedSlideToCoord(pos: Vector3, heading: number, p5: number): void;
|
|
941
1135
|
/**
|
|
942
|
-
*
|
|
1136
|
+
* grappleStyle: AR_GRAPPLE_STRUGGLE, AR_ALLIGATOR_LEG_GRAB_CHALLENGE_FAIL, AR_GRAPPLE_BACK_FROM_BACK, AR_GRAPPLE_BACK_DEFEND, AR_GRAPPLE_FRONT_FROM_FRONT
|
|
943
1137
|
*
|
|
944
|
-
* @param
|
|
945
|
-
* @param
|
|
946
|
-
|
|
947
|
-
turnPedToFaceCoord(pos: Vector3, duration: number): void;
|
|
948
|
-
/**
|
|
949
|
-
* @param preferAvoidMud
|
|
950
|
-
* @param p2
|
|
951
|
-
*/
|
|
952
|
-
setPedPathPreferToAvoidMud(preferAvoidMud: boolean, p2: number): void;
|
|
953
|
-
/**
|
|
954
|
-
* @param animDict
|
|
955
|
-
* @param animName
|
|
956
|
-
* @param entity
|
|
1138
|
+
* @param grappleTarget
|
|
1139
|
+
* @param grappleStyle
|
|
1140
|
+
* @param p3
|
|
957
1141
|
* @param p4
|
|
958
1142
|
* @param p5
|
|
959
1143
|
* @param p6
|
|
960
|
-
* @param p7
|
|
961
|
-
* @param p8
|
|
962
|
-
* @param p9
|
|
963
|
-
* @param p10
|
|
964
|
-
* @param p11
|
|
965
|
-
* @param p12
|
|
966
|
-
* @param p13
|
|
967
|
-
* @param p14
|
|
968
1144
|
*/
|
|
969
|
-
|
|
1145
|
+
putPedDirectlyIntoGrapple(grappleTarget: Ped, grappleStyle: string | number, p3: number, p4: number, p5: boolean, p6: number): void;
|
|
970
1146
|
/**
|
|
971
1147
|
* @param p1
|
|
972
1148
|
* @param p2
|
|
973
1149
|
*/
|
|
974
|
-
|
|
975
|
-
/**
|
|
976
|
-
* @param
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
* @param unusedParam4 Unused by the native.
|
|
980
|
-
* @param everyFrame Removes the `0x1000` bitmask from `flag`
|
|
981
|
-
* @param p6
|
|
982
|
-
* @param p7 Removes the `0x80000` bitmask from `flag`
|
|
983
|
-
* @param flag
|
|
984
|
-
* @returns Returns `true` on success, `false` if it failed (whether due to `attacker` being invalid, or the `attacker` ped being dead)
|
|
985
|
-
*/
|
|
986
|
-
intimidated2(attacker: Ped, p2: number, unusedParam3: boolean, unusedParam4: boolean, everyFrame: boolean, p6: boolean, p7: boolean, flag: number): boolean;
|
|
987
|
-
/**
|
|
988
|
-
* @param avoidFire
|
|
989
|
-
*/
|
|
990
|
-
setPedPathAvoidFire(avoidFire: boolean): void;
|
|
991
|
-
/**
|
|
992
|
-
* @param reviver
|
|
993
|
-
* @param tool
|
|
994
|
-
*/
|
|
995
|
-
reviveTarget(reviver: Ped, tool: string | number): void;
|
|
996
|
-
/**
|
|
997
|
-
* https://github.com/femga/rdr3_discoveries/blob/master/animations/kit_emotes_list.lua
|
|
998
|
-
* emote: https://alloc8or.re/rdr3/doc/enums/eEmote.txt enum eEmoteType
|
|
999
|
-
* {
|
|
1000
|
-
* EMOTE_TYPE_INVALID = -1,
|
|
1001
|
-
* EMOTE_TYPE_REACT,
|
|
1002
|
-
* EMOTE_TYPE_ACTION,
|
|
1003
|
-
* EMOTE_TYPE_TAUNT,
|
|
1004
|
-
* EMOTE_TYPE_GREET,
|
|
1005
|
-
* EMOTE_TYPE_TWIRL_GUN,
|
|
1006
|
-
* EMOTE_TYPE_DANCE_FLOOR
|
|
1007
|
-
* }; enum eEmotePlaybackMode
|
|
1008
|
-
* {
|
|
1009
|
-
* EMOTE_PM_INVALID = -1,
|
|
1010
|
-
* EMOTE_PM_UPPERBODY,
|
|
1011
|
-
* EMOTE_PM_UPPERBODY_LOOP,
|
|
1012
|
-
* EMOTE_PM_FULLBODY,
|
|
1013
|
-
* };
|
|
1014
|
-
*
|
|
1015
|
-
* @param emoteType
|
|
1016
|
-
* @param playbackMode
|
|
1017
|
-
* @param emote
|
|
1018
|
-
* @param isSecondaryTask
|
|
1019
|
-
* @param canBreakOut
|
|
1020
|
-
* @param disableEarlyOutAnimTag
|
|
1021
|
-
* @param ignoreInvalidMainTask
|
|
1022
|
-
* @param destroyProps
|
|
1023
|
-
*/
|
|
1024
|
-
playEmoteWithHash(emoteType: number, playbackMode: number, emote: string | number, isSecondaryTask: boolean, canBreakOut: boolean, disableEarlyOutAnimTag: boolean, ignoreInvalidMainTask: boolean, destroyProps: boolean): void;
|
|
1025
|
-
/**
|
|
1026
|
-
* @param pos
|
|
1027
|
-
* @param timeout
|
|
1028
|
-
* @param p5
|
|
1029
|
-
* @param p6
|
|
1030
|
-
* @param p7
|
|
1031
|
-
* @param p8
|
|
1032
|
-
* @param coverpoint
|
|
1033
|
-
* @param p10
|
|
1034
|
-
* @param p11
|
|
1035
|
-
* @param p12
|
|
1036
|
-
*/
|
|
1037
|
-
putPedDirectlyIntoCover(pos: Vector3, timeout: number, p5: boolean, p6: number, p7: any, p8: any, coverpoint: number, p10: boolean, p11: boolean, p12: any): void;
|
|
1150
|
+
combatAnimalWarn(p1: any, p2: any): void;
|
|
1151
|
+
/**
|
|
1152
|
+
* @param toggle
|
|
1153
|
+
*/
|
|
1154
|
+
set PedIgnoreDeadBodies(toggle: boolean);
|
|
1038
1155
|
/**
|
|
1039
1156
|
* @param p1
|
|
1040
1157
|
* @param p2
|
|
@@ -1043,65 +1160,103 @@ export declare class PedTask extends BaseTask {
|
|
|
1043
1160
|
* @param p5
|
|
1044
1161
|
* @param p6
|
|
1045
1162
|
* @param p7
|
|
1046
|
-
* @param p8
|
|
1047
|
-
* @param p9
|
|
1048
|
-
* @param p10
|
|
1049
|
-
* @param p11
|
|
1050
|
-
* @param p12
|
|
1051
|
-
* @param p13
|
|
1052
|
-
* @param p14
|
|
1053
1163
|
*/
|
|
1054
|
-
|
|
1164
|
+
moveInTrafficToDestination(p1: any, p2: any, p3: any, p4: any, p5: any, p6: any, p7: any): void;
|
|
1055
1165
|
/**
|
|
1056
|
-
* @param
|
|
1166
|
+
* @param attacker
|
|
1167
|
+
* @param p2
|
|
1168
|
+
* @returns Returns `true` on success, or `false` if `attacker` doesn't exist, or is dead.
|
|
1057
1169
|
*/
|
|
1058
|
-
|
|
1170
|
+
intimidated(attacker: Ped, p2: boolean): boolean;
|
|
1059
1171
|
/**
|
|
1060
|
-
* @param p1
|
|
1061
|
-
* @param p2
|
|
1062
|
-
* @param p3
|
|
1063
1172
|
* @returns
|
|
1064
1173
|
*/
|
|
1065
|
-
|
|
1174
|
+
waypointPlaybackGetIsShooting(): any;
|
|
1066
1175
|
/**
|
|
1067
|
-
* @param
|
|
1176
|
+
* @param pos
|
|
1177
|
+
* @param distance
|
|
1178
|
+
* @param p5
|
|
1179
|
+
* @param p6
|
|
1180
|
+
* @param p7
|
|
1181
|
+
* @param p8
|
|
1182
|
+
*/
|
|
1183
|
+
useNearestScenarioChainToCoordWarp(pos: Vector3, distance: number, p5: boolean, p6: boolean, p7: boolean, p8: boolean): void;
|
|
1184
|
+
/**
|
|
1185
|
+
* returned values:
|
|
1186
|
+
* 0 to 7 = task that's currently in progress, 0 meaning the first one.
|
|
1187
|
+
* -1 no task sequence in progress.
|
|
1188
|
+
*
|
|
1068
1189
|
* @returns
|
|
1069
1190
|
*/
|
|
1070
|
-
|
|
1191
|
+
get SequenceProgress(): number;
|
|
1071
1192
|
/**
|
|
1072
|
-
* @
|
|
1073
|
-
* @param p2
|
|
1193
|
+
* @returns
|
|
1074
1194
|
*/
|
|
1075
|
-
|
|
1195
|
+
waypointPlaybackGetIsAiming(): any;
|
|
1076
1196
|
/**
|
|
1077
|
-
* @param
|
|
1078
|
-
* @param
|
|
1079
|
-
* @param p3
|
|
1080
|
-
* @param p4
|
|
1197
|
+
* @param signalName
|
|
1198
|
+
* @param value
|
|
1081
1199
|
*/
|
|
1082
|
-
|
|
1200
|
+
setTaskMoveNetworkSignalFloat(signalName: string | null, value: number): void;
|
|
1083
1201
|
/**
|
|
1084
|
-
* @param
|
|
1202
|
+
* @param taskSequenceId
|
|
1203
|
+
*/
|
|
1204
|
+
performSequence(taskSequenceId: number): void;
|
|
1205
|
+
/**
|
|
1206
|
+
* @param p1
|
|
1085
1207
|
* @param p2
|
|
1086
1208
|
* @param p3
|
|
1087
1209
|
*/
|
|
1088
|
-
|
|
1210
|
+
moveInTraffic(p1: any, p2: any, p3: any): void;
|
|
1089
1211
|
/**
|
|
1090
1212
|
* @param p1
|
|
1213
|
+
* @param permanently
|
|
1214
|
+
*/
|
|
1215
|
+
knockedOut(p1: number, permanently: boolean): void;
|
|
1216
|
+
/**
|
|
1217
|
+
* @param duration
|
|
1218
|
+
*/
|
|
1219
|
+
updateTaskHandsUpDuration(duration: number): void;
|
|
1220
|
+
/**
|
|
1221
|
+
* Similar to 0xB31A277C1AC7B7FF but checks if the ped's inventory contains the specified emote kit.
|
|
1222
|
+
*
|
|
1223
|
+
* @param emoteType
|
|
1224
|
+
* @param playbackMode
|
|
1225
|
+
* @param emote
|
|
1226
|
+
* @param isSecondaryTask
|
|
1227
|
+
* @param canBreakOut
|
|
1228
|
+
* @param disableEarlyOutAnimTag
|
|
1229
|
+
* @param ignoreInvalidMainTask
|
|
1230
|
+
* @param destroyProps
|
|
1231
|
+
*/
|
|
1232
|
+
playEmote(emoteType: number, playbackMode: number, emote: string | number, isSecondaryTask: boolean, canBreakOut: boolean, disableEarlyOutAnimTag: boolean, ignoreInvalidMainTask: boolean, destroyProps: boolean): void;
|
|
1233
|
+
/**
|
|
1234
|
+
* @param boat
|
|
1091
1235
|
* @param p2
|
|
1092
1236
|
* @param p3
|
|
1237
|
+
* @param pos
|
|
1238
|
+
* @param p7
|
|
1239
|
+
* @param maxSpeed
|
|
1240
|
+
* @param drivingStyle
|
|
1241
|
+
* @param p10
|
|
1242
|
+
* @param p11
|
|
1093
1243
|
*/
|
|
1094
|
-
|
|
1244
|
+
boatMission(boat: Vehicle, p2: any, p3: any, pos: Vector3, p7: any, maxSpeed: number, drivingStyle: number, p10: number, p11: any): void;
|
|
1095
1245
|
/**
|
|
1096
|
-
* @param
|
|
1097
|
-
* @param
|
|
1098
|
-
* @param
|
|
1246
|
+
* @param useLimits If `true` the ped's viewing angle will be limited to the angle range given for `minAngle` and `maxAngle`, when set to `false` the player always fully faces the player
|
|
1247
|
+
* @param minAngle The minimum viewing angle, requires `useLimits` to be `true`.
|
|
1248
|
+
* @param maxAngle The maximum viewing angle, reuqeres `useLimits` to be `true`.
|
|
1099
1249
|
*/
|
|
1100
|
-
|
|
1250
|
+
setIntimidatedFacingAngle(useLimits: boolean, minAngle: number, maxAngle: number): void;
|
|
1251
|
+
/**
|
|
1252
|
+
* @param targetPed
|
|
1253
|
+
* @param p2
|
|
1254
|
+
*/
|
|
1255
|
+
animalFlee(targetPed: Ped, p2: any): void;
|
|
1101
1256
|
/**
|
|
1102
1257
|
* @returns
|
|
1103
1258
|
*/
|
|
1104
|
-
|
|
1259
|
+
get IsPedCuffed(): boolean;
|
|
1105
1260
|
/**
|
|
1106
1261
|
* @param avoidWater
|
|
1107
1262
|
* @param p2
|
|
@@ -1124,7 +1279,7 @@ export declare class PedTask extends BaseTask {
|
|
|
1124
1279
|
/**
|
|
1125
1280
|
* @returns
|
|
1126
1281
|
*/
|
|
1127
|
-
|
|
1282
|
+
get PedDesiredMoveBlendRatio(): number;
|
|
1128
1283
|
N_0xDF94844D474F31E5(): void;
|
|
1129
1284
|
/**
|
|
1130
1285
|
* @param p1
|
|
@@ -1150,7 +1305,7 @@ export declare class PedTask extends BaseTask {
|
|
|
1150
1305
|
/**
|
|
1151
1306
|
* @param modifier
|
|
1152
1307
|
*/
|
|
1153
|
-
|
|
1308
|
+
set PedPathFoliageCostModifier(modifier: number);
|
|
1154
1309
|
/**
|
|
1155
1310
|
* @param preferHorseWalkable
|
|
1156
1311
|
* @param p2
|
|
@@ -1162,7 +1317,7 @@ export declare class PedTask extends BaseTask {
|
|
|
1162
1317
|
*
|
|
1163
1318
|
* @param maxCruiseSpeed
|
|
1164
1319
|
*/
|
|
1165
|
-
|
|
1320
|
+
set DriveTaskMaxCruiseSpeed(maxCruiseSpeed: number);
|
|
1166
1321
|
/**
|
|
1167
1322
|
* Params: p4 either 0.2f, 0.25f, 0.31f, 0.4f
|
|
1168
1323
|
*
|
|
@@ -1257,7 +1412,7 @@ export declare class PedTask extends BaseTask {
|
|
|
1257
1412
|
/**
|
|
1258
1413
|
* @param toggle
|
|
1259
1414
|
*/
|
|
1260
|
-
|
|
1415
|
+
set PedPathCanDropFromHeight(toggle: boolean);
|
|
1261
1416
|
/**
|
|
1262
1417
|
* @param targetPed
|
|
1263
1418
|
* @param targetVehicle
|
|
@@ -1373,7 +1528,7 @@ export declare class PedTask extends BaseTask {
|
|
|
1373
1528
|
/**
|
|
1374
1529
|
* @param toggle
|
|
1375
1530
|
*/
|
|
1376
|
-
|
|
1531
|
+
set PedPathCanUseClimbovers(toggle: boolean);
|
|
1377
1532
|
/**
|
|
1378
1533
|
* @param p1
|
|
1379
1534
|
* @returns
|
|
@@ -1390,7 +1545,7 @@ export declare class PedTask extends BaseTask {
|
|
|
1390
1545
|
/**
|
|
1391
1546
|
* @param cruiseSpeed
|
|
1392
1547
|
*/
|
|
1393
|
-
|
|
1548
|
+
set DriveTaskCruiseSpeed(cruiseSpeed: number);
|
|
1394
1549
|
/**
|
|
1395
1550
|
* @param p1
|
|
1396
1551
|
* @param p2
|
|
@@ -1403,7 +1558,7 @@ export declare class PedTask extends BaseTask {
|
|
|
1403
1558
|
/**
|
|
1404
1559
|
* @returns
|
|
1405
1560
|
*/
|
|
1406
|
-
|
|
1561
|
+
get IsPedDuelling(): any;
|
|
1407
1562
|
/**
|
|
1408
1563
|
* @param signalName
|
|
1409
1564
|
* @param pos
|
|
@@ -1450,7 +1605,7 @@ export declare class PedTask extends BaseTask {
|
|
|
1450
1605
|
*
|
|
1451
1606
|
* @returns
|
|
1452
1607
|
*/
|
|
1453
|
-
|
|
1608
|
+
get PedWritheBreakFreeProgress(): number;
|
|
1454
1609
|
/**
|
|
1455
1610
|
* @param p1
|
|
1456
1611
|
* @param p2
|
|
@@ -1477,7 +1632,7 @@ export declare class PedTask extends BaseTask {
|
|
|
1477
1632
|
/**
|
|
1478
1633
|
* @param toggle
|
|
1479
1634
|
*/
|
|
1480
|
-
|
|
1635
|
+
set BlockingOfNonTemporaryEvents(toggle: boolean);
|
|
1481
1636
|
/**
|
|
1482
1637
|
* @param p1
|
|
1483
1638
|
* @param p2
|
|
@@ -1493,7 +1648,7 @@ export declare class PedTask extends BaseTask {
|
|
|
1493
1648
|
/**
|
|
1494
1649
|
* @param p1
|
|
1495
1650
|
*/
|
|
1496
|
-
|
|
1651
|
+
set PedClearAimingInTheAir(p1: any);
|
|
1497
1652
|
/**
|
|
1498
1653
|
* @returns
|
|
1499
1654
|
*/
|
|
@@ -1525,7 +1680,7 @@ export declare class PedTask extends BaseTask {
|
|
|
1525
1680
|
/**
|
|
1526
1681
|
* @returns
|
|
1527
1682
|
*/
|
|
1528
|
-
|
|
1683
|
+
get LedHorseFromPed(): Ped | null;
|
|
1529
1684
|
/**
|
|
1530
1685
|
* @returns
|
|
1531
1686
|
*/
|
|
@@ -1533,7 +1688,7 @@ export declare class PedTask extends BaseTask {
|
|
|
1533
1688
|
/**
|
|
1534
1689
|
* @returns
|
|
1535
1690
|
*/
|
|
1536
|
-
|
|
1691
|
+
get IsPedRunningInspectionTask(): boolean;
|
|
1537
1692
|
/**
|
|
1538
1693
|
* @param entity
|
|
1539
1694
|
* @param pos
|
|
@@ -1552,7 +1707,7 @@ export declare class PedTask extends BaseTask {
|
|
|
1552
1707
|
/**
|
|
1553
1708
|
* @returns
|
|
1554
1709
|
*/
|
|
1555
|
-
|
|
1710
|
+
get PedWaypointProgress(): number;
|
|
1556
1711
|
/**
|
|
1557
1712
|
* @param targetPed
|
|
1558
1713
|
* @param targetVehicle
|
|
@@ -1704,7 +1859,7 @@ export declare class PedTask extends BaseTask {
|
|
|
1704
1859
|
/**
|
|
1705
1860
|
* @param mayEnterDeepWater
|
|
1706
1861
|
*/
|
|
1707
|
-
|
|
1862
|
+
set PedPathMayEnterDeepWater(mayEnterDeepWater: boolean);
|
|
1708
1863
|
/**
|
|
1709
1864
|
* @param p1
|
|
1710
1865
|
*/
|
|
@@ -1714,7 +1869,7 @@ export declare class PedTask extends BaseTask {
|
|
|
1714
1869
|
*
|
|
1715
1870
|
* @returns
|
|
1716
1871
|
*/
|
|
1717
|
-
|
|
1872
|
+
get IsPedInWrithe(): boolean;
|
|
1718
1873
|
/**
|
|
1719
1874
|
* @param p1
|
|
1720
1875
|
* @param p2
|
|
@@ -1732,7 +1887,7 @@ export declare class PedTask extends BaseTask {
|
|
|
1732
1887
|
/**
|
|
1733
1888
|
* @returns
|
|
1734
1889
|
*/
|
|
1735
|
-
|
|
1890
|
+
get IsPedArrestingAnyPed(): any;
|
|
1736
1891
|
/**
|
|
1737
1892
|
* @returns
|
|
1738
1893
|
*/
|
|
@@ -1741,7 +1896,7 @@ export declare class PedTask extends BaseTask {
|
|
|
1741
1896
|
* @param p1
|
|
1742
1897
|
* @returns
|
|
1743
1898
|
*/
|
|
1744
|
-
isPedScenarioReactLooking(p1: boolean):
|
|
1899
|
+
isPedScenarioReactLooking(p1: boolean): boolean;
|
|
1745
1900
|
/**
|
|
1746
1901
|
* @returns args
|
|
1747
1902
|
*/
|
|
@@ -1750,11 +1905,11 @@ export declare class PedTask extends BaseTask {
|
|
|
1750
1905
|
/**
|
|
1751
1906
|
* @returns
|
|
1752
1907
|
*/
|
|
1753
|
-
|
|
1908
|
+
get PedWaypointDistance(): number;
|
|
1754
1909
|
/**
|
|
1755
1910
|
* @param mayEnterWater
|
|
1756
1911
|
*/
|
|
1757
|
-
|
|
1912
|
+
set PedPathMayEnterWater(mayEnterWater: boolean);
|
|
1758
1913
|
/**
|
|
1759
1914
|
* Makes the ped ragdoll like when falling from a great height
|
|
1760
1915
|
*
|
|
@@ -1766,7 +1921,7 @@ export declare class PedTask extends BaseTask {
|
|
|
1766
1921
|
/**
|
|
1767
1922
|
* @param p1
|
|
1768
1923
|
*/
|
|
1769
|
-
|
|
1924
|
+
set PedDesiredMoveBlendRatio(p1: number);
|
|
1770
1925
|
/**
|
|
1771
1926
|
* @param patrolRoute
|
|
1772
1927
|
* @param p2
|
|
@@ -1777,7 +1932,7 @@ export declare class PedTask extends BaseTask {
|
|
|
1777
1932
|
/**
|
|
1778
1933
|
* @returns
|
|
1779
1934
|
*/
|
|
1780
|
-
|
|
1935
|
+
get IsEntityRevivable(): any;
|
|
1781
1936
|
/**
|
|
1782
1937
|
* @param travelMbr
|
|
1783
1938
|
* @param pos
|
|
@@ -1854,7 +2009,7 @@ export declare class PedTask extends BaseTask {
|
|
|
1854
2009
|
/**
|
|
1855
2010
|
* @returns
|
|
1856
2011
|
*/
|
|
1857
|
-
|
|
2012
|
+
get TaskMoveNetworkState(): string | null;
|
|
1858
2013
|
/**
|
|
1859
2014
|
* @param vehicle
|
|
1860
2015
|
* @param timeout
|
|
@@ -1935,7 +2090,7 @@ export declare class PedTask extends BaseTask {
|
|
|
1935
2090
|
/**
|
|
1936
2091
|
* @returns
|
|
1937
2092
|
*/
|
|
1938
|
-
|
|
2093
|
+
get ScenarioPointTypePedIsUsing(): number;
|
|
1939
2094
|
/**
|
|
1940
2095
|
* Takes scenario point handle instead of hash
|
|
1941
2096
|
*
|
|
@@ -1973,7 +2128,7 @@ export declare class PedTask extends BaseTask {
|
|
|
1973
2128
|
*
|
|
1974
2129
|
* @returns
|
|
1975
2130
|
*/
|
|
1976
|
-
|
|
2131
|
+
get IsPedBeingArrested(): boolean;
|
|
1977
2132
|
/**
|
|
1978
2133
|
* @param p1
|
|
1979
2134
|
*/
|
|
@@ -1997,7 +2152,7 @@ export declare class PedTask extends BaseTask {
|
|
|
1997
2152
|
/**
|
|
1998
2153
|
* @returns Returns `true` if the specified mount is currently being lead by a player, `false` otherwise.
|
|
1999
2154
|
*/
|
|
2000
|
-
|
|
2155
|
+
get IsPedBeingLead(): boolean;
|
|
2001
2156
|
/**
|
|
2002
2157
|
* @param entity
|
|
2003
2158
|
* @param p2
|
|
@@ -2014,7 +2169,7 @@ export declare class PedTask extends BaseTask {
|
|
|
2014
2169
|
* @param p1
|
|
2015
2170
|
* @returns
|
|
2016
2171
|
*/
|
|
2017
|
-
isPedExitingScenario(p1: boolean):
|
|
2172
|
+
isPedExitingScenario(p1: boolean): boolean;
|
|
2018
2173
|
/**
|
|
2019
2174
|
* https://github.com/femga/rdr3_discoveries/tree/master/tasks/TASK_HORSE_ACTION
|
|
2020
2175
|
* Params: p2, p3 are set to 0 in R* Scripts
|
|
@@ -2078,7 +2233,7 @@ export declare class PedTask extends BaseTask {
|
|
|
2078
2233
|
*
|
|
2079
2234
|
* @param modifier
|
|
2080
2235
|
*/
|
|
2081
|
-
|
|
2236
|
+
set PedPathLadderCostModifier(modifier: number);
|
|
2082
2237
|
/**
|
|
2083
2238
|
* @param targetPed
|
|
2084
2239
|
* @param p2
|
|
@@ -2128,7 +2283,7 @@ export declare class PedTask extends BaseTask {
|
|
|
2128
2283
|
/**
|
|
2129
2284
|
* @returns
|
|
2130
2285
|
*/
|
|
2131
|
-
|
|
2286
|
+
get IsPedStill(): boolean;
|
|
2132
2287
|
/**
|
|
2133
2288
|
* @param scenario
|
|
2134
2289
|
* @returns
|
|
@@ -2185,7 +2340,7 @@ export declare class PedTask extends BaseTask {
|
|
|
2185
2340
|
/**
|
|
2186
2341
|
* @returns
|
|
2187
2342
|
*/
|
|
2188
|
-
|
|
2343
|
+
get RansackScenarioPointPedIsUsing(): any;
|
|
2189
2344
|
emoteOutro(): void;
|
|
2190
2345
|
/**
|
|
2191
2346
|
* @param task
|
|
@@ -2204,7 +2359,7 @@ export declare class PedTask extends BaseTask {
|
|
|
2204
2359
|
/**
|
|
2205
2360
|
* @returns
|
|
2206
2361
|
*/
|
|
2207
|
-
|
|
2362
|
+
get IsTaskMoveNetworkActive(): boolean;
|
|
2208
2363
|
/**
|
|
2209
2364
|
* @param pos
|
|
2210
2365
|
* @param p4
|
|
@@ -2404,160 +2559,5 @@ export declare class PedTask extends BaseTask {
|
|
|
2404
2559
|
* @returns
|
|
2405
2560
|
*/
|
|
2406
2561
|
getItemInteractionPromptProgress(inputContext: string | number): number;
|
|
2407
|
-
/**
|
|
2408
|
-
* @param p1
|
|
2409
|
-
* @param p2
|
|
2410
|
-
* @param p3
|
|
2411
|
-
* @param p4
|
|
2412
|
-
*/
|
|
2413
|
-
setSphereDefensiveArea(p1: number, p2: number, p3: number, p4: number): void;
|
|
2414
|
-
/**
|
|
2415
|
-
* @param p1
|
|
2416
|
-
* @param p2
|
|
2417
|
-
* @param p3
|
|
2418
|
-
* @param p4
|
|
2419
|
-
*/
|
|
2420
|
-
useRandomScenarioInGroup(p1: any, p2: any, p3: any, p4: any): void;
|
|
2421
|
-
/**
|
|
2422
|
-
* enum eWhistleType
|
|
2423
|
-
* {
|
|
2424
|
-
* WHISTLE_MAIN,
|
|
2425
|
-
* WHISTLE_SECONDARY,
|
|
2426
|
-
* WHISTLE_DOUBLE,
|
|
2427
|
-
* WHISTLE_URGENT,
|
|
2428
|
-
* WHISTLE_LONG
|
|
2429
|
-
* };
|
|
2430
|
-
*
|
|
2431
|
-
* @param p1
|
|
2432
|
-
* @param whistleType
|
|
2433
|
-
*/
|
|
2434
|
-
goToWhistle(p1: Ped, whistleType: number): void;
|
|
2435
|
-
/**
|
|
2436
|
-
* @param pos
|
|
2437
|
-
* @param duration
|
|
2438
|
-
* @param flags
|
|
2439
|
-
* @param p6
|
|
2440
|
-
* @param p7
|
|
2441
|
-
*/
|
|
2442
|
-
lookAtCoord(pos: Vector3, duration: number, flags: number, p6: number, p7: boolean): void;
|
|
2443
|
-
/**
|
|
2444
|
-
* @returns
|
|
2445
|
-
*/
|
|
2446
|
-
isPedInHitReact(): any;
|
|
2447
|
-
/**
|
|
2448
|
-
* @param p1
|
|
2449
|
-
* @param p2
|
|
2450
|
-
* @param p3
|
|
2451
|
-
* @param p4
|
|
2452
|
-
* @param p5
|
|
2453
|
-
* @param p6
|
|
2454
|
-
* @param p7
|
|
2455
|
-
* @param p8
|
|
2456
|
-
*/
|
|
2457
|
-
N_0x3FFCD7BBA074CC80(p1: any, p2: any, p3: any, p4: any, p5: any, p6: any, p7: any, p8: any): void;
|
|
2458
|
-
/**
|
|
2459
|
-
* @returns
|
|
2460
|
-
*/
|
|
2461
|
-
isMountedWeaponTaskUnderneathDrivingTask(): boolean;
|
|
2462
|
-
/**
|
|
2463
|
-
* flags: See TASK_ENTER_VEHICLE
|
|
2464
|
-
*
|
|
2465
|
-
* @param p1
|
|
2466
|
-
* @param flags Refer to [enum: eEnterExitVehicleFlags]
|
|
2467
|
-
*/
|
|
2468
|
-
disembarkNearestTrainCarriage(p1: number, flags: number): void;
|
|
2469
|
-
/**
|
|
2470
|
-
* @param radius
|
|
2471
|
-
*/
|
|
2472
|
-
combatHatedTargetsNoLosTest(radius: number): void;
|
|
2473
|
-
/**
|
|
2474
|
-
* @param p1
|
|
2475
|
-
*/
|
|
2476
|
-
N_0x31BB338F64D5C861(p1: boolean): void;
|
|
2477
|
-
/**
|
|
2478
|
-
* @param modifier
|
|
2479
|
-
*/
|
|
2480
|
-
setPedPathClimbCostModifier(modifier: number): void;
|
|
2481
|
-
/**
|
|
2482
|
-
* @param entity
|
|
2483
|
-
* @param duration
|
|
2484
|
-
* @param targetRadius
|
|
2485
|
-
* @param offset
|
|
2486
|
-
* @param moveBlendRatio
|
|
2487
|
-
* @param offsetFlags
|
|
2488
|
-
*/
|
|
2489
|
-
gotoEntityOffsetXy(entity: Entity, duration: number, targetRadius: number, offset: Vector2, moveBlendRatio: number, offsetFlags: number): void;
|
|
2490
|
-
/**
|
|
2491
|
-
* Makes ped walk around the area the params p1 p2 seems to not affect anything but p2 is either 0 or 1 and p1 is mostly 1.0 or ped heading
|
|
2492
|
-
*
|
|
2493
|
-
* @param p2
|
|
2494
|
-
* @param p3
|
|
2495
|
-
*/
|
|
2496
|
-
wanderStandard(p2: number, p3: number): void;
|
|
2497
|
-
/**
|
|
2498
|
-
* @param p1
|
|
2499
|
-
* @param p2
|
|
2500
|
-
*/
|
|
2501
|
-
clearPedTasks(p1: boolean, p2: boolean): void;
|
|
2502
|
-
/**
|
|
2503
|
-
* @param signalName
|
|
2504
|
-
* @param value
|
|
2505
|
-
*/
|
|
2506
|
-
setTaskMoveNetworkSignalFloat(signalName: string | null, value: number): void;
|
|
2507
|
-
/**
|
|
2508
|
-
* @param taskSequenceId
|
|
2509
|
-
*/
|
|
2510
|
-
performSequence(taskSequenceId: number): void;
|
|
2511
|
-
/**
|
|
2512
|
-
* @param p1
|
|
2513
|
-
* @param p2
|
|
2514
|
-
* @param p3
|
|
2515
|
-
*/
|
|
2516
|
-
moveInTraffic(p1: any, p2: any, p3: any): void;
|
|
2517
|
-
/**
|
|
2518
|
-
* @param p1
|
|
2519
|
-
* @param permanently
|
|
2520
|
-
*/
|
|
2521
|
-
knockedOut(p1: number, permanently: boolean): void;
|
|
2522
|
-
/**
|
|
2523
|
-
* @param duration
|
|
2524
|
-
*/
|
|
2525
|
-
updateTaskHandsUpDuration(duration: number): void;
|
|
2526
|
-
/**
|
|
2527
|
-
* Similar to 0xB31A277C1AC7B7FF but checks if the ped's inventory contains the specified emote kit.
|
|
2528
|
-
*
|
|
2529
|
-
* @param emoteType
|
|
2530
|
-
* @param playbackMode
|
|
2531
|
-
* @param emote
|
|
2532
|
-
* @param isSecondaryTask
|
|
2533
|
-
* @param canBreakOut
|
|
2534
|
-
* @param disableEarlyOutAnimTag
|
|
2535
|
-
* @param ignoreInvalidMainTask
|
|
2536
|
-
* @param destroyProps
|
|
2537
|
-
*/
|
|
2538
|
-
playEmote(emoteType: number, playbackMode: number, emote: string | number, isSecondaryTask: boolean, canBreakOut: boolean, disableEarlyOutAnimTag: boolean, ignoreInvalidMainTask: boolean, destroyProps: boolean): void;
|
|
2539
|
-
/**
|
|
2540
|
-
* @param boat
|
|
2541
|
-
* @param p2
|
|
2542
|
-
* @param p3
|
|
2543
|
-
* @param pos
|
|
2544
|
-
* @param p7
|
|
2545
|
-
* @param maxSpeed
|
|
2546
|
-
* @param drivingStyle
|
|
2547
|
-
* @param p10
|
|
2548
|
-
* @param p11
|
|
2549
|
-
*/
|
|
2550
|
-
boatMission(boat: Vehicle, p2: any, p3: any, pos: Vector3, p7: any, maxSpeed: number, drivingStyle: number, p10: number, p11: any): void;
|
|
2551
|
-
/**
|
|
2552
|
-
* @param useLimits If `true` the ped's viewing angle will be limited to the angle range given for `minAngle` and `maxAngle`, when set to `false` the player always fully faces the player
|
|
2553
|
-
* @param minAngle The minimum viewing angle, requires `useLimits` to be `true`.
|
|
2554
|
-
* @param maxAngle The maximum viewing angle, reuqeres `useLimits` to be `true`.
|
|
2555
|
-
*/
|
|
2556
|
-
setIntimidatedFacingAngle(useLimits: boolean, minAngle: number, maxAngle: number): void;
|
|
2557
|
-
/**
|
|
2558
|
-
* @param targetPed
|
|
2559
|
-
* @param p2
|
|
2560
|
-
*/
|
|
2561
|
-
animalFlee(targetPed: Ped, p2: any): void;
|
|
2562
2562
|
}
|
|
2563
2563
|
//# sourceMappingURL=PedTask.d.ts.map
|