From 033638390999533ea9e8d8a0c5929aecf8a34b74 Mon Sep 17 00:00:00 2001 From: Laura Date: Wed, 11 Sep 2024 17:19:08 -0400 Subject: [PATCH] Parameter names for aim task natives (#1185) * Parameter names for aim task natives * Update TaskAimGunScriptedWithTarget.md Co-authored-by: Dillon Skaggs --------- Co-authored-by: Dillon Skaggs --- TASK/TaskAimGunAtCoord.md | 6 +++--- TASK/TaskAimGunAtEntity.md | 4 ++-- TASK/TaskAimGunScripted.md | 6 +++--- TASK/TaskAimGunScriptedWithTarget.md | 18 +++++++++--------- 4 files changed, 17 insertions(+), 17 deletions(-) diff --git a/TASK/TaskAimGunAtCoord.md b/TASK/TaskAimGunAtCoord.md index d65bf8f5e..f6d1bc0ed 100644 --- a/TASK/TaskAimGunAtCoord.md +++ b/TASK/TaskAimGunAtCoord.md @@ -5,7 +5,7 @@ ns: TASK ```c // 0x6671F3EEC681BDA1 0xFBF44AD3 -void TASK_AIM_GUN_AT_COORD(Ped ped, float x, float y, float z, int time, BOOL p5, BOOL p6); +void TASK_AIM_GUN_AT_COORD(Ped ped, float x, float y, float z, int time, BOOL bInstantBlendToAim, BOOL bPlayAimIntro); ``` @@ -15,6 +15,6 @@ void TASK_AIM_GUN_AT_COORD(Ped ped, float x, float y, float z, int time, BOOL p5 * **y**: * **z**: * **time**: -* **p5**: -* **p6**: +* **bInstantBlendToAim**: +* **bPlayAimIntro**: diff --git a/TASK/TaskAimGunAtEntity.md b/TASK/TaskAimGunAtEntity.md index 085d85dfe..47f7c6c38 100644 --- a/TASK/TaskAimGunAtEntity.md +++ b/TASK/TaskAimGunAtEntity.md @@ -5,7 +5,7 @@ ns: TASK ```c // 0x9B53BB6E8943AF53 0xBE32B3B6 -void TASK_AIM_GUN_AT_ENTITY(Ped ped, Entity entity, int duration, BOOL p3); +void TASK_AIM_GUN_AT_ENTITY(Ped ped, Entity entity, int duration, BOOL bInstantBlendToAim); ``` ``` @@ -16,5 +16,5 @@ duration: the amount of time in milliseconds to do the task. -1 will keep the t * **ped**: * **entity**: * **duration**: -* **p3**: +* **bInstantBlendToAim**: diff --git a/TASK/TaskAimGunScripted.md b/TASK/TaskAimGunScripted.md index aff5eb3a1..ecaafa56e 100644 --- a/TASK/TaskAimGunScripted.md +++ b/TASK/TaskAimGunScripted.md @@ -5,13 +5,13 @@ ns: TASK ```c // 0x7A192BE16D373D00 0x9D296BCD -void TASK_AIM_GUN_SCRIPTED(Ped ped, Hash scriptTask, BOOL p2, BOOL p3); +void TASK_AIM_GUN_SCRIPTED(Ped ped, Hash scriptTask, BOOL bDisableBlockingClip, BOOL bInstantBlendToAim); ``` ## Parameters * **ped**: * **scriptTask**: -* **p2**: -* **p3**: +* **bDisableBlockingClip**: +* **bInstantBlendToAim**: diff --git a/TASK/TaskAimGunScriptedWithTarget.md b/TASK/TaskAimGunScriptedWithTarget.md index eadf5e684..17d0c9da8 100644 --- a/TASK/TaskAimGunScriptedWithTarget.md +++ b/TASK/TaskAimGunScriptedWithTarget.md @@ -5,17 +5,17 @@ ns: TASK ```c // 0x8605AF0DE8B3A5AC 0xFD517CE3 -void TASK_AIM_GUN_SCRIPTED_WITH_TARGET(Any p0, Any p1, float p2, float p3, float p4, Any p5, BOOL p6, BOOL p7); +void TASK_AIM_GUN_SCRIPTED_WITH_TARGET(Ped ped, Ped targetPed, float x, float y, float z, cs_type(Any) Hash iGunTaskType, BOOL bDisableBlockingClip, BOOL bForceAim); ``` ## Parameters -* **p0**: -* **p1**: -* **p2**: -* **p3**: -* **p4**: -* **p5**: -* **p6**: -* **p7**: +* **ped**: +* **targetPed**: +* **x**: +* **y**: +* **z**: +* **iGunTaskType**: +* **bDisableBlockingClip**: +* **bForceAim**: