# TPP Lua 5.1 function reference — routing table 4,025 entries across 13 buckets. Find the row whose range covers what you want, fetch that one file only. Cross-checked against the dev-exe decompilation, the shipped scripts and a live session. Entries marked '(inferred from name)' are readings of the name, not verified behaviour. Examples carry the file:line they were taken from. This is the highest-confidence source in the pack for whether a Lua function exists and what it takes. | bucket | from | to | entries | size | |---|---|---|---|---| | [lua-functions-000.txt](https://choomraider.neocities.org/mgsv/lookup/lua-functions/lua-functions-000.txt) | `Actor.AddToScene(...)` | `GkConeSightCheckParam.SetAngleLeftRight(...)` | 464 | 56 KB | | [lua-functions-001.txt](https://choomraider.neocities.org/mgsv/lookup/lua-functions/lua-functions-001.txt) | `GkConeSightCheckParam.SetAngleUpDown(...)` | `Player.RegisterCameraPresetName(number)` | 383 | 56 KB | | [lua-functions-002.txt](https://choomraider.neocities.org/mgsv/lookup/lua-functions/lua-functions-002.txt) | `Player.RegisterCommonMotionPackagePath()` | `SubtitlesCommand.SetVoiceLanguage() -> boolean` | 312 | 57 KB | | [lua-functions-003.txt](https://choomraider.neocities.org/mgsv/lookup/lua-functions/lua-functions-003.txt) | `SubtitlesCommand.SetWaveSyncGeneratorName() ->…` | `TppDataUtility.CreateEffectFromGroupId()` | 253 | 56 KB | | [lua-functions-004.txt](https://choomraider.neocities.org/mgsv/lookup/lua-functions/lua-functions-004.txt) | `TppDataUtility.CreateEffectFromId()` | `TppEnemy.PreMissionLoad(t, n)` | 301 | 56 KB | | [lua-functions-005.txt](https://choomraider.neocities.org/mgsv/lookup/lua-functions/lua-functions-005.txt) | `TppEnemy.PrepareDDParameter(t, a)` | `TppMission.IsEnableAnyParentMissionObjective(n…` | 313 | 57 KB | | [lua-functions-006.txt](https://choomraider.neocities.org/mgsv/lookup/lua-functions/lua-functions-006.txt) | `TppMission.IsEnableMissionObjective(e)` | `TppMotherBaseManagement.GetResourceUsableCount…` | 249 | 57 KB | | [lua-functions-007.txt](https://choomraider.neocities.org/mgsv/lookup/lua-functions/lua-functions-007.txt) | `TppMotherBaseManagement.GetRewardLeagueRank() …` | `TppMusicManager.StopHeliMusic(...)` | 242 | 57 KB | | [lua-functions-008.txt](https://choomraider.neocities.org/mgsv/lookup/lua-functions/lua-functions-008.txt) | `TppMusicManager.StopJingleEvent(...)` | `TppQuest.OnFinishShootingPractice(n, t)` | 326 | 56 KB | | [lua-functions-009.txt](https://choomraider.neocities.org/mgsv/lookup/lua-functions/lua-functions-009.txt) | `TppQuest.OnMessage(a, r, i, t, n, s, o)` | `TppSequence.SetMissionGameStartSequence()` | 294 | 56 KB | | [lua-functions-010.txt](https://choomraider.neocities.org/mgsv/lookup/lua-functions/lua-functions-010.txt) | `TppSequence.SetNextSequence(...)` | `TppUI.SetFadeColorToBlack()` | 310 | 56 KB | | [lua-functions-011.txt](https://choomraider.neocities.org/mgsv/lookup/lua-functions/lua-functions-011.txt) | `TppUI.SetFadeColorToWhite()` | `TppUiCommand.SetErrorPopupParam(number, ?, num…` | 290 | 56 KB | | [lua-functions-012.txt](https://choomraider.neocities.org/mgsv/lookup/lua-functions/lua-functions-012.txt) | `TppUiCommand.SetGameOverType()` | `WorldDaemon.AddWorld(...)` | 288 | 46 KB | An entry absent from the bucket whose range covers it is genuinely absent. That is a real answer — do not substitute a guess.