TASK
TASK_LOOK_AT_COORD
0x6FA46612594F7973
Jenkins: 0x7B784DD8
Signature
// TASK
void TASK_LOOK_AT_COORD(Entity entity, float x, float y, float z, int duration, int flags, int priority)
Parameters
| Type | Name |
|---|---|
| Entity | entity |
| float | x |
| float | y |
| float | z |
| int | duration |
| int | flags |
| int | priority |
Return type void
Build 323
Documentation
enum eScriptLookatFlags { SLF_SLOW_TURN_RATE = 1, // turn the head toward the target slowly SLF_FAST_TURN_RATE = 2, // turn the head toward the target quickly SLF_EXTEND_YAW_LIMIT = 4, // wide yaw head limits SLF_EXTEND_PITCH_LIMIT = 8, // wide pitch head limit SLF_WIDEST_YAW_LIMIT = 16, // widest yaw head limit SLF_WIDEST_PITCH_LIMIT = 32, // widest pitch head limit SLF_NARROW_YAW_LIMIT = 64, // narrow yaw head limits SLF_NARROW_PITCH_LIMIT = 128, // narrow pitch head limit SLF_NARROWEST_YAW_LIMIT = 256, // narrowest yaw head limit SLF_NARROWEST_PITCH_LIMIT = 512, // narrowest pitch head limit SLF_USE_TORSO = 1024, // use the torso aswell as the neck and head (currently disabled) SLF_WHILE_NOT_IN_FOV = 2048, // keep tracking the target even if they are not in the hard coded FOV SLF_USE_CAMERA_FOCUS = 4096, // use the camera as the target SLF_USE_EYES_ONLY = 8192, // only track the target with the eyes SLF_USE_LOOK_DIR = 16384, // use information in look dir DOF SLF_FROM_SCRIPT = 32768, // internal use only SLF_USE_REF_DIR_ABSOLUTE = 65536 // use absolute reference direction mode for solver };
APPI RP
Join us on FiveM
Semi-Serious GTA V roleplay on APPI RolePlay — hop into Discord for rules and onboarding, then follow the guide when you're ready to connect.