I’ve been toying with GetGameplayCamRot() today to get the direction of the player cam, but for some reason it only returns a single number, (seems to be X). I would have posted this in the modding discussion board, but it isn’t letting me. If you use GetGameplayCamRot() and expect a table result (x,y,z) it will throw an index error.
Did this function change? It’s the same for GetGameplayCamCoords too, but if you table.unpack that, it works fine.
Indeed, this seems to be a case of two natives existing with the same name in the documentation data we imported, so it’ll ‘randomly break’ every build update because of non-deterministic sorting of table items in Lua.
Is this on production or on canary? It could be the older native list used in production has one of two versions of the native listed as float, or it could be a regression in canary in that case.