{"hash":"0xB42C87521D1BDD2F","ns":"VEHICLE","name":"_SET_BALLOON_FACE_COORD","slug":"_SET_BALLOON_FACE_COORD","official":false,"named":true,"luaName":"SetBalloonFaceCoord","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"balloon","type":"Vehicle"},{"name":"x","type":"float"},{"name":"y","type":"float"},{"name":"z","type":"float"}],"summary":"Forces a hot air balloon to rotate/yaw toward a world coordinate.","descriptions":[{"source":"alloc8or","format":"text","body":"Forces a hot air balloon to rotate/yaw toward a world coordinate.\n\nNotes:\n- Balloon-only: gated to VEHICLE_TYPE_BALLOON.\n- Used in update loops during balloon navigation so the basket keeps facing its destination instead of flying sideways or backwards.\n- Must be called every frame while the heading should be maintained.\n- Fits the dump order with _SET_BALLOON_GO_TO_COORD followed by _SET_BALLOON_HOVER_STATE."},{"source":"vorp","format":"text","body":"Makes the balloon face the specified direction to fly towards it must be called every frame until it reaches destination"}],"examples":[],"aliases":["_SET_BALLOON_FACE_DIRECTION_THIS_FRAME"],"enums":[],"related":[],"build":"1207","sources":["alloc8or","vorp"],"doc":2,"url":"https://natives.borderlinerp.com/natives/VEHICLE/_SET_BALLOON_FACE_COORD","markdownUrl":"https://natives.borderlinerp.com/natives/VEHICLE/_SET_BALLOON_FACE_COORD.md","snippets":{"lua":"SetBalloonFaceCoord(balloon, x, y, z)","luaInvoke":"Citizen.InvokeNative(0xB42C87521D1BDD2F, balloon, x, y, z)","js":"SetBalloonFaceCoord(balloon, x, y, z);","jsInvoke":"Citizen.invokeNative('0xB42C87521D1BDD2F', balloon, x + 0.0000001, y + 0.0000001, z + 0.0000001);","csharp":"Function.Call((Hash)0xB42C87521D1BDD2F, balloon, x, y, z);","notes":["Float parameters: Lua integers (`10`, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write `10.0` or `value + 0.0`. The generated JS wrappers add `0.0000001` to non-zero floats for the same reason.","The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works."]}}