diff --git a/TASK/TaskGoToCoordWhileAimingAtEntity.md b/TASK/TaskGoToCoordWhileAimingAtEntity.md index 72fb8e3eb..aabe4fbe5 100644 --- a/TASK/TaskGoToCoordWhileAimingAtEntity.md +++ b/TASK/TaskGoToCoordWhileAimingAtEntity.md @@ -5,17 +5,18 @@ ns: TASK ```c // 0xB2A16444EAD9AE47 0x9BD52ABD -void TASK_GO_TO_COORD_WHILE_AIMING_AT_ENTITY(Any p0, float p1, float p2, float p3, Any p4, float p5, BOOL p6, float p7, float p8, BOOL p9, Any p10, BOOL p11, Any p12, Any p13); +void TASK_GO_TO_COORD_WHILE_AIMING_AT_ENTITY(Ped ped, float x, float y, float z, Entity entityToAimAt, float moveSpeed, BOOL p6, float p7, float p8, BOOL p9, Any p10, BOOL p11, Any p12, Any p13); ``` +Will make the ped move to a coordinate while aiming (and optionally shooting) at the given entity. ## Parameters -* **p0**: -* **p1**: -* **p2**: -* **p3**: -* **p4**: -* **p5**: +* **ped**: Ped to task +* **x**: Destination X position +* **y**: Destination Y position +* **z**: Destination Z position +* **entityToAimAt**: Entity that the ped will aim at. +* **moveSpeed**: Mostly 2f, but also 1/1.2f, etc. * **p6**: * **p7**: * **p8**: