# TPP Lua 5.1 function reference — bucket 4 of 13 Entries **SubtitlesCommand.SetWaveSyncGeneratorName() ->…** … **TppDataUtility.CreateEffectFromGroupId()**, sorted case-insensitively. - Earlier? Previous bucket ends at `SubtitlesCommand.SetVoiceLanguage() -> boolean`. - Later? Next bucket starts at `TppDataUtility.CreateEffectFromId()`. Source: `dumps:TPP_Lua_Reference.txt` ``` SubtitlesCommand.SetWaveSyncGeneratorName() -> boolean Sets wave sync generator name. (inferred from name) SubtitlesCommand.Stop() -> boolean SubtitlesCommand.StopAll() -> boolean Stops all. (inferred from name) used 1x in game scripts SubtitlesCommand.StopAll() .../script/lib/TppRadio.lua:232 SyncRouteManager.Create(...) DEAD STUB - registered but wired to a shared no-op used 1x in game scripts | proxy-resolved SyncRouteManager.Create(n.enemy.syncRouteTable) .../script/lib/TppEnemy.lua:2334 SyncRouteManager.SetScriptStep(string, number) Sets script step. (inferred from name) used 1x in game scripts | proxy-resolved SyncRouteManager.SetScriptStep("sync_bringer", syncRouteStep) .../story/s10150/s10150_enemy02.lua:1456 TagContainerEntity.AddTag(...) Adds tag. (inferred from name) TagContainerEntity.AddTags(...) Adds tags. (inferred from name) TagContainerEntity.DoesContainAll(...) TagContainerEntity.DoesContainPartial(...) TagContainerEntity.Dump(...) TagContainerEntity.FindTag(...) TagContainerEntity.FindTags(...) TagContainerEntity.RemoveAllTags(...) Removes all tags. (inferred from name) TagContainerEntity.RemoveTag(...) Removes tag. (inferred from name) TagContainerEntity.RemoveTags(...) Removes tags. (inferred from name) TerrainRender.ClearPackedMaterialTexture(...) Clears packed material texture. (inferred from name) TerrainRender.ExportPackedMaterialTexture(...) Tpp.ApendArray(e, n) used 51x in game scripts | defined in Tpp.lua Tpp.ApendArray(e, Vehicle.svars({ instanceCount = n })) .../script/lib/TppEnemy.lua:3197 Tpp.ApendArray(faceTable, { { TppEnemyFaceId.dds_balaclava6, maleNum } }) .../location/mtbs/mtbs_enemy.lua:1742 Tpp.AreaToIndices(e) used 2x in game scripts | defined in Tpp.lua local e = Tpp.AreaToIndices(e) .../script/lib/TppLocation.lua:141 Tpp.BfsPairs(l) used 3x in game scripts | defined in Tpp.lua for n, e in Tpp.BfsPairs(mvars.mis_missionObjectiveTree) do for e, i in pairs(e) do local e = mvars.mis_missionObjectiveDefine[e] -- ... end .../script/lib/TppMission.lua:3483 for i, e in Tpp.BfsPairs(mvars.mis_missionObjectiveTree) do if i == s then n = e break end end .../script/lib/TppMission.lua:3706 Tpp.CheckBlockArea(e, n, t) Checks block area. (inferred from name) used 3x in game scripts | defined in Tpp.lua if Tpp.CheckBlockArea(e, t, n) then a() end .../script/lib/TppLocation.lua:247 return Tpp.CheckBlockArea(e, n, a) .../script/lib/TppQuest.lua:3088 Tpp.ClearChunkInstallPopupUpdateTime(...) Clears chunk install popup update time. (inferred from name) defined in Tpp.lua:750 Tpp.ClearDidCancelPatchDlcDownloadRequest(...) Clears did cancel patch dlc download request. (inferred from name) defined in Tpp.lua:855 Script Library Layer (Tpp*.lua) 295 Tpp.DEBUG_DumpTable(l, n) used 9x in game scripts | defined in Tpp.lua Tpp.DEBUG_DumpTable(mvars.gim_routeGimmickConnectTable) .../script/lib/TppGimmick.lua:505 Tpp.DEBUG_DumpTable(t, 2) .../script/lib/TppQuest.lua:2501 Tpp.DEBUG_DunmpBlockArea(t, r, e) defined in Tpp.lua Tpp.DEBUG_Fatal(e, e) used 2x in game scripts | defined in Tpp.lua Tpp.DEBUG_Fatal("Not defined next missionId!!") .../script/lib/TppMission.lua:725 Tpp.DEBUG_SetPreference(n, t, r) defined in Tpp.lua Tpp.DEBUG_StrCode32ToString(e) defined in Tpp.lua Tpp.DEBUG_Where(e) used 5x in game scripts | defined in Tpp.lua Fox.Error("gameObjectId is nil. GameObjectTypeCheck called from " .. Tpp.DEBUG_Where(2)) .../online/o50050/o50050_sequence.lua:4348 Tpp.DoMessage(n, a, p, i, t, r, l, o, s) used 44x in game scripts | defined in Tpp.lua Tpp.DoMessage(e.messageExecTable, TppMission.CheckMessageOption, t, c, n, i, o, a, s) .../script/lib/TppCheckPoint.lua:77 Tpp.DoMessage(e.messageExecTable, TppMission.CheckMessageOption, i, r, o, a, t, l, n) .../script/lib/TppDemo.lua:696 Tpp.DoMessageAct(e, a, n, l, r, i, t) used 1x in game scripts | defined in Tpp.lua Tpp.DoMessageAct(n, TppMission.CheckMessageOption, t, a, i, e, r) .../script/lib/TppEnemy.lua:6313 Tpp.Enum(e) used 127x in game scripts | defined in Tpp.lua mvars.mis_checkPointList = Tpp.Enum(mvars.mis_checkPointList) .../script/lib/TppCheckPoint.lua:103 r.PERF_CHECK_TYPE = Tpp.Enum({ "OnUpdate", "OnMessage", "OnEnter" }) .../script/lib/TppDebug.lua:25 Tpp.FillBlockArea(e, n, i, l, r, t) defined in Tpp.lua Tpp.GetAllDisableGameStatusTable() Returns all disable game status table. (inferred from name) used 8x in game scripts | defined in Tpp.lua local exceptGameStatus = Tpp.GetAllDisableGameStatusTable() .../mission2/common/title_sequence.lua:246 local except = Tpp.GetAllDisableGameStatusTable() .../heli/common/heli_common_sequence.lua:115 Tpp.GetBuddyTypeFromGameObjectId(e) Returns buddy type from game object id. (inferred from name) used 1x in game scripts | defined in Tpp.lua Script Library Layer (Tpp*.lua) 296 local o = Tpp.GetBuddyTypeFromGameObjectId(e) .../script/lib/TppTerminal.lua:1252 Tpp.GetChunkIndex(t, n) Returns chunk index. (inferred from name) used 3x in game scripts | defined in Tpp.lua local s = Tpp.GetChunkIndex(vars.locationCode) .../script/lib/TppMission.lua:3889 local chunkIndex = Tpp.GetChunkIndex(gvars.title_nextLocationCode, isMGO) .../mission2/common/title_sequence.lua:609 Tpp.GetCurrentStageSmallBlockIndex() Returns current stage small block index. (inferred from name) used 10x in game scripts | defined in Tpp.lua local x, y = Tpp.GetCurrentStageSmallBlockIndex() .../location/afgh/afgh_animal.lua:1061 local t, n = Tpp.GetCurrentStageSmallBlockIndex() .../script/lib/TppDebug.lua:917 Tpp.GetDataBodyWithIdentifier(t, e, n) Returns data body with identifier. (inferred from name) used 1x in game scripts | defined in Tpp.lua local e = Tpp.GetDataBodyWithIdentifier("VariableTrapIdentifier", a, "GeoTrap") .../script/lib/TppTrap.lua:143 Tpp.GetDataWithIdentifier(e, n, t) Returns data with identifier. (inferred from name) defined in Tpp.lua Tpp.GetFormatedStorageSizePopupParam(e) Returns formated storage size popup param. (inferred from name) used 3x in game scripts | defined in Tpp.lua local sizeValue, unitLetter, dotPosition = Tpp.GetFormatedStorageSizePopupParam(necessaryStorageSpaceSize) .../mission2/init/init_sequence.lua:644 local sizeValue, unitLetter, dotPosition = Tpp.GetFormatedStorageSizePopupParam(necessarySize) .../mission2/init/init_sequence.lua:1803 Tpp.GetHelicopterStartExceptGameStatus() Returns helicopter start except game status. (inferred from name) used 4x in game scripts | defined in Tpp.lua n = Tpp.GetHelicopterStartExceptGameStatus() .../script/lib/TppSequence.lua:286 local exceptGameStatus = Tpp.GetHelicopterStartExceptGameStatus() .../story/s10080/s10080_demo.lua:20 Tpp.GetLoadedLargeBlock() Returns loaded large block. (inferred from name) used 1x in game scripts | defined in Tpp.lua local a = Tpp.GetLoadedLargeBlock() .../script/lib/TppRatBird.lua:51 Tpp.GetLocator(t, n) Returns locator. (inferred from name) used 68x in game scripts | defined in Tpp.lua local e, n = Tpp.GetLocator("MtbsStartPointIdentifier", n) .../script/lib/TppMission.lua:3304 Script Library Layer (Tpp*.lua) 297 local a, e = Tpp.GetLocator(c, t) .../script/lib/TppPlayer.lua:769 Tpp.GetLocatorByTransform(t, n) Returns locator by transform. (inferred from name) used 75x in game scripts | defined in Tpp.lua n, a = Tpp.GetLocatorByTransform(e.identifier, e.locatorName) .../script/lib/TppDemo.lua:406 local a, r = Tpp.GetLocatorByTransform(d, i) .../script/lib/TppDemo.lua:474 Tpp.GetRotationY(e) Returns rotation y. (inferred from name) used 8x in game scripts | defined in Tpp.lua local retRotY = rotY + Tpp.GetRotationY(rotQuat) .../location/mtbs/mtbs_cluster.lua:144 local retRotY = rotY - Tpp.GetRotationY(rotQuat) .../location/mtbs/mtbs_cluster.lua:152 Tpp.IncrementPlayData(e) used 23x in game scripts | defined in Tpp.lua Tpp.IncrementPlayData("totalBreakVehicleCount") .../script/lib/TppHero.lua:256 Tpp.IncrementPlayData("totalBreakPlacedGimmickCount") .../script/lib/TppHero.lua:267 Tpp.IsAnimal(e) True if animal. (inferred from name) used 6x in game scripts | defined in Tpp.lua if Tpp.IsAnimal(o) then if (i ~= nil) and (t(i, DeadMessageFlag.FIRE) ~= 0) then e.SetAndAnnounceHeroicOgrePoint({ heroicPoint = 0, ogrePoint = 40 }) -- ... end .../script/lib/TppHero.lua:447 if Tpp.IsAnimal(e) then return d(e, t, n, a, nil, r) elseif Tpp.IsBossQuiet(e) then -- ... end .../script/lib/TppTerminal.lua:1245 Tpp.IsBossQuiet(e) True if boss quiet. (inferred from name) used 2x in game scripts | defined in Tpp.lua if Tpp.IsBossQuiet(o) then local n = n({ type = "TppBossQuiet2" }, { id = "GetQuietType" }) if n == Fox.StrCode32("Cam") then e.SetAndAnnounceHeroicOgrePoint(e.DYING_PARASITE, "destroyed_skull", "destroyed_skull") end end .../script/lib/TppHero.lua:483 if Tpp.IsBossQuiet(e) then return p(e, t, n, a, o, r) elseif Tpp.IsParasiteSquad(e) then -- ... end .../script/lib/TppTerminal.lua:1247 Script Library Layer (Tpp*.lua) 298 Tpp.IsCommandPost(e) True if command post. (inferred from name) used 1x in game scripts | defined in Tpp.lua if (n == TppGameObject.PHASE_ALERT) and Tpp.IsCommandPost(o) then e.SetAndAnnounceHeroicOgrePoint(e.STARTED_COMBAT) end .../script/lib/TppHero.lua:389 Tpp.IsEnemyHelicopter(e) True if enemy helicopter. (inferred from name) used 1x in game scripts | defined in Tpp.lua if Tpp.IsEnemyHelicopter(t) then if not i[n] then mvars.ene_eliminateHelicopterList[t] = n -- ... end .../script/lib/TppEnemy.lua:1750 Tpp.IsEnemyWalkerGear(e) True if enemy walker gear. (inferred from name) used 16x in game scripts | defined in Tpp.lua if Tpp.IsEnemyWalkerGear(t) then if not i[n] then mvars.ene_eliminateWalkerGearList[t] = n end e.RegistHoldRecoveredState(n) end .../script/lib/TppEnemy.lua:1760 if Tpp.IsEnemyWalkerGear(vars.playerVehicleGameObjectId) then gvars.mis_missionStartRecoverDemoType = TppDefine.MISSION_START_RECOVER_DEMO_TYPE.WALKER_GEAR TppTerminal.ReserveHelicopterSoundOnMissionGameEnd() -- ... end .../script/lib/TppMission.lua:2606 Tpp.IsFultonableGimmick(e) True if fultonable gimmick. (inferred from name) used 1x in game scripts | defined in Tpp.lua if Tpp.IsFultonableGimmick(e) then return T(e, t, n, a, nil, r) elseif Tpp.IsEnemyWalkerGear(e) then -- ... end .../script/lib/TppTerminal.lua:1241 Tpp.IsFultonContainer(e) True if fulton container. (inferred from name) used 10x in game scripts | defined in Tpp.lua if Tpp.IsFultonContainer(a) then for i, n in pairs(mvars.gim_questTargetList) do if n.idType == "Gimmick" then -- ... end .../script/lib/TppGimmick.lua:902 if Tpp.IsFultonContainer(e) then return E(e, t, n, a, nil, r) elseif Tpp.IsFultonableGimmick(e) then -- ... end .../script/lib/TppTerminal.lua:1239 Tpp.IsGatlingGun(...) True if gatling gun. (inferred from name) defined in Tpp.lua:564 Script Library Layer (Tpp*.lua) 299 Tpp.IsGunCamera(e) True if gun camera. (inferred from name) used 1x in game scripts | defined in Tpp.lua if Tpp.IsGunCamera(n) then e.PlayTutorialRadioOnly("f1000_rtrg4610") else e.PlayTutorialRadioOnly("f1000_rtrg4600") end .../script/lib/TppTutorial.lua:992 Tpp.IsHelicopter(e) True if helicopter. (inferred from name) used 155x in game scripts | defined in Tpp.lua if Tpp.IsHelicopter(vars.playerVehicleGameObjectId) then t = false else t = true end .../script/lib/TppEnemy.lua:4685 if Tpp.IsHelicopter(t) then e.PlayTargetRescuedRadio(n) end .../script/lib/TppEnemy.lua:6143 Tpp.IsHorse(e) True if horse. (inferred from name) used 12x in game scripts | defined in Tpp.lua if Tpp.IsHorse(vars.playerVehicleGameObjectId) then GameObject.SendCommand(vars.playerVehicleGameObjectId, { id = "HorseForceStop" }) end .../script/lib/TppMission.lua:3345 if Tpp.IsHorse(e) then GameObject.SendCommand(e, { id = "HorseForceStop" }) a = i(e, t, n) -- ... end .../script/lib/TppPlayer.lua:1216 Tpp.IsHostage(e) True if hostage. (inferred from name) used 20x in game scripts | defined in Tpp.lua if Tpp.IsHostage(n) and TppMission.GetMissionID() ~= 10100 then local e = t(n, { id = "IsChild" }) if e then TppMission.ReserveGameOverOnPlayerKillChild(n) end end .../script/lib/TppEnemy.lua:6105 if Tpp.IsSoldier(e) or Tpp.IsHostage(e) then local t = Vector3(vars.playerPosX, vars.playerPosY, vars.playerPosZ) local n = 10 -- ... end .../script/lib/TppEnemy.lua:5817 Tpp.IsLoadedLargeBlock(e) True if loaded large block. (inferred from name) defined in Tpp.lua Tpp.IsLoadedSmallBlock(n, t) True if loaded small block. (inferred from name) defined in Tpp.lua Script Library Layer (Tpp*.lua) 300 Tpp.IsLocalPlayer(e) True if local player. (inferred from name) used 13x in game scripts | defined in Tpp.lua if not Tpp.IsLocalPlayer(o) then return end .../script/lib/TppHero.lua:261 local n = Tpp.IsLocalPlayer(i) .../script/lib/TppHero.lua:279 Tpp.IsMachineGun(...) True if machine gun. (inferred from name) defined in Tpp.lua:567 Tpp.IsMarkerLocator(e) True if marker locator. (inferred from name) used 1x in game scripts | defined in Tpp.lua if Tpp.IsMarkerLocator(a) or s then TppMarker2System.DisableMarker({ gameObjectId = a }) else TppMarker2System.SetMarkerImportant({ gameObjectId = a, isImportant = false }) end .../script/lib/TppMarker.lua:135 Tpp.IsMaster() True if master. (inferred from name) used 2x in game scripts | defined in Tpp.lua if Tpp.IsMaster() then TppUiStatusManager.SetStatus("TitleMenu", "DISABLE_RESTART_HELI") else TppUiStatusManager.UnsetStatus("TitleMenu", "DISABLE_RESTART_HELI") end .../mission2/common/title_sequence.lua:227 Tpp.IsMortar(...) True if mortar. (inferred from name) defined in Tpp.lua:561 Tpp.IsNotAlert() True if not alert. (inferred from name) used 26x in game scripts | defined in Tpp.lua local o = Tpp.IsNotAlert() .../script/lib/TppDemo.lua:595 if Tpp.IsNotAlert() then Player.RequestToShowIcon({ type = ActionIcon.ACTION, -- ... end .../script/lib/TppPlayer.lua:800 Tpp.IsOnlineMode(...) True if online mode. (inferred from name) defined in Tpp.lua:185 Tpp.IsParasiteSquad(e) True if parasite squad. (inferred from name) used 2x in game scripts | defined in Tpp.lua if Tpp.IsParasiteSquad(o) then e.SetAndAnnounceHeroicOgrePoint(e.DYING_PARASITE, "destroyed_skull", "destroyed_skull") elseif Tpp.IsBossQuiet(o) then -- ... end .../script/lib/TppHero.lua:481 Script Library Layer (Tpp*.lua) 301 if Tpp.IsParasiteSquad(e) then return S(e, t, n, a, nil, r) else -- ... end .../script/lib/TppTerminal.lua:1249 Tpp.IsPatchDlcValidPlatform(...) True if patch dlc valid platform. (inferred from name) defined in Tpp.lua:838 Tpp.IsPlayer(e) True if player. (inferred from name) used 113x in game scripts | defined in Tpp.lua if Tpp.IsPlayer(n) then TppRadio.PlayCommonRadio(TppDefine.COMMON_RADIO.HOSTAGE_DAMAGED_FROM_PC) end .../script/lib/TppEnemy.lua:6137 if Tpp.IsPlayer(i) then TppRadio.PlayCommonRadio(TppDefine.COMMON_RADIO.HELI_LOST_CONTROL_END) else TppRadio.PlayCommonRadio(TppDefine.COMMON_RADIO.HELI_LOST_CONTROL_END_ENEMY_ATTACK) end .../script/lib/TppMission.lua:1980 Tpp.IsPlayerStatusNormal() True if player status normal. (inferred from name) defined in Tpp.lua Tpp.IsPlayerWalkerGear(e) True if player walker gear. (inferred from name) used 12x in game scripts | defined in Tpp.lua if Tpp.IsPlayerWalkerGear(e) or Tpp.IsEnemyWalkerGear(e) then GameObject.SendCommand(e, { id = "ForceStop", enabled = true }) a = s(e, t, n) -- ... end .../script/lib/TppPlayer.lua:1226 local r = Tpp.IsEnemyWalkerGear(n) or Tpp.IsPlayerWalkerGear(n) .../script/lib/TppRevenge.lua:1772 Tpp.IsQARelease() True if qa release. (inferred from name) used 6x in game scripts | defined in Tpp.lua if Tpp.IsQARelease() or DEBUG then mvars.qaDebug.debugOnlineChallengeTaskMissionList = {} end .../mission2/common/OnlineChallengeTask.lua:184 Tpp.IsSecurityCamera(e) True if security camera. (inferred from name) used 2x in game scripts | defined in Tpp.lua if Tpp.IsSecurityCamera(n) then if Tpp.IsGunCamera(n) then e.PlayTutorialRadioOnly("f1000_rtrg4610") -- ... end .../script/lib/TppTutorial.lua:991 if Tpp.IsSecurityCamera(gameObjectId) then svars.cntDmgSecCamera = svars.cntDmgSecCamera + 1 this.AddRevengePoint(this.REVENGE_POINT.DESTROY_SEC_GADJET) this.SetAndAnnounceEspPoint_DestroyScgj("mb_fob_sec_camera") end Script Library Layer (Tpp*.lua) 302 .../online/o50050/o50050_sequence.lua:5721 Tpp.IsSoldier(e) True if soldier. (inferred from name) used 50x in game scripts | defined in Tpp.lua if Tpp.IsSoldier(gameObjectId) then local cpName = mtbs_enemy._GetCpNameFromSoldierId(gameObjectId) mtbs_enemy._ChangeAssetsFromCpName(cpName) -- ... end .../location/mtbs/mtbs_enemy.lua:1312 if Tpp.IsSoldier(t) then if not i[n] then mvars.ene_eliminateTargetList[t] = n -- ... end .../script/lib/TppEnemy.lua:1744 Tpp.IsTypeFunc(e) True if type func. (inferred from name) used 22x in game scripts | defined in Tpp.lua if Tpp.IsTypeFunc(i) then i(n) end .../script/lib/TppPackList.lua:152 if Tpp.IsTypeFunc(a) then n = a() end .../script/lib/TppRanking.lua:233 Tpp.IsTypeNumber(e) True if type number. (inferred from name) used 35x in game scripts | defined in Tpp.lua if Tpp.IsTypeNumber(plntName) then plntId = plntName end .../location/mtbs/mtbs_cluster.lua:43 if Tpp.IsTypeNumber(e) and e > 0 then a = e elseif e == nil then end .../script/lib/TppDemo.lua:589 Tpp.IsTypeString(e) True if type string. (inferred from name) used 120x in game scripts | defined in Tpp.lua if Tpp.IsTypeString(plntName) then plntId = PLNT_INDEX[plntName] elseif Tpp.IsTypeNumber(plntName) then plntId = plntName end .../location/mtbs/mtbs_cluster.lua:41 if Tpp.IsTypeString(route) then table.insert(notSniperRouteList, route) end .../location/mtbs/mtbs_enemy.lua:795 Tpp.IsTypeTable(e) True if type table. (inferred from name) used 138x in game scripts | defined in Tpp.lua Script Library Layer (Tpp*.lua) 303 if Tpp.IsTypeTable(route) and route.attr == "SNIPER" then if addSniperRouteNum < sortieSniperNum then table.insert(retRouteList, route) -- ... end .../location/mtbs/mtbs_enemy.lua:789 if Tpp.IsTypeTable(routeSet) then for _, routeName in pairs(routeSet) do local objId = { type = "TppSoldier2" } -- ... end .../location/mtbs/mtbs_enemy.lua:1320 Tpp.IsUAV(e) True if uav. (inferred from name) used 2x in game scripts | defined in Tpp.lua if Tpp.IsUAV(n) then e.PlayTutorialRadioOnly("f1000_rtrg4620") end .../script/lib/TppTutorial.lua:997 if Tpp.IsUAV(gameObjectId) then svars.cntDmgUav = svars.cntDmgUav + 1 this.AddRevengePoint(this.REVENGE_POINT.DESTROY_SEC_GADJET) this.SetAndAnnounceEspPoint_DestroyScgj("mb_fob_sec_uav") end .../online/o50050/o50050_sequence.lua:5727 Tpp.IsUav(...) True if uav. (inferred from name) defined in Tpp.lua:555 Tpp.IsValidLocalOnlineChallengeTaskVersion(...) True if valid local online challenge task version. (inferred from name) defined in Tpp.lua:188 Tpp.IsVehicle(e) True if vehicle. (inferred from name) used 38x in game scripts | defined in Tpp.lua if Tpp.IsVehicle(t) then if not i[n] then mvars.ene_eliminateVehicleList[t] = n -- ... end .../script/lib/TppEnemy.lua:1754 if Tpp.IsVehicle(vars.playerVehicleGameObjectId) then gvars.mis_missionStartRecoverDemoType = TppDefine.MISSION_START_RECOVER_DEMO_TYPE.VEHICLE else e.ClearMissionStartRecoverSoundDemo() end .../script/lib/TppMission.lua:2609 Tpp.IsVolgin(e) True if volgin. (inferred from name) used 1x in game scripts | defined in Tpp.lua if Tpp.IsVolgin(e) then return _(e) elseif Tpp.IsHostage(e) then -- ... end .../script/lib/TppTerminal.lua:1233 Tpp.MakeMessageExecTable(e) used 76x in game scripts | defined in Tpp.lua afgh_animal.messageExecTable = Tpp.MakeMessageExecTable(afgh_animal.Messages()) Script Library Layer (Tpp*.lua) 304 .../location/afgh/afgh_animal.lua:1043 afgh_gimmick.messageExecTable = Tpp.MakeMessageExecTable(afgh_gimmick.Messages()) .../location/afgh/afgh_gimmick.lua:3429 Tpp.MergeTable(r, n, e) used 10x in game scripts | defined in Tpp.lua mvars.seq_sequenceTable = Tpp.MergeTable(e, a, true) .../script/lib/TppSequence.lua:63 mvars.animalBlockScript.Messages = Tpp.MergeTable(mvars.animalBlockScript.Messages, t, false) .../script/lib/TppAnimalBlock.lua:475 Tpp.PatchDlcCheckCoroutine(...) defined in Tpp.lua:776 Tpp.SetGameStatus(n) Sets game status. (inferred from name) used 26x in game scripts | defined in Tpp.lua Tpp.SetGameStatus({ target = t, except = e, enable = true, scriptName = "TppDemo.lua" }) .../script/lib/TppDemo.lua:366 Tpp.SetGameStatus({ target = "all", enable = false, except = { S_DISABLE_NPC = false }, scriptName = "TppDemo.lua" }) .../script/lib/TppDemo.lua:370 Tpp.ShowChunkInstallingPopup(t, r) Shows chunk installing popup. (inferred from name) used 3x in game scripts | defined in Tpp.lua Tpp.ShowChunkInstallingPopup(e, false) .../script/lib/TppMission.lua:3921 Tpp.ShowChunkInstallingPopup(self.chunkIndex, true) .../mission2/common/title_sequence.lua:573 Tpp.SplitString(e, r) used 2x in game scripts | defined in Tpp.lua local t = Tpp.SplitString(t[n], " ") .../script/lib/TppEnemy.lua:4245 local n = Tpp.SplitString(n, ":") .../script/lib/TppClock.lua:140 Tpp.StartWaitChunkInstallation(...) Starts wait chunk installation. (inferred from name) defined in Tpp.lua:713 Tpp.StrCode32Table(n) used 75x in game scripts | defined in Tpp.lua return Tpp.StrCode32Table({ Trap = n }) .../script/lib/TppCheckPoint.lua:59 n[l("GameObject")] = Tpp.StrCode32Table(e.messages) .../script/lib/TppEnemy.lua:2069 TppAnimalSystem.GetDataBaseIdFromAnimaId() -> number Returns data base id from anima id. (inferred from name) Buddies 89 TppAnimalSystem.GetDataBaseIdFromAnimalId() -> number Returns data base id from animal id. (inferred from name) used 1x in game scripts return TppAnimalSystem.GetDataBaseIdFromAnimalId(n) .../script/lib/TppAnimal.lua:43 TppAnimalSystem.IsIgnoreDisableNpc() -> boolean True if ignore disable npc. (inferred from name) TppAnimalSystem.ParasiteSdObj(...) TppAnimalSystem.SetIgnoreDisableNpc(boolean) Sets ignore disable npc. (inferred from name) TppAtmosphere.StartSkyCapture(...) Starts sky capture. (inferred from name) TppBuddy2BlockController.CallBuddy(number, ?, number, boolean) -> boolean Triggers buddy. (inferred from name) used 1x in game scripts TppBuddy2BlockController.CallBuddy(BuddyType.QUIET, Vector3(-855, 297, 1951), -2.4) .../story/s10260/s10260_sequence.lua:1701 TppBuddy2BlockController.CallBuddyWithHalo(number, ?, number) -> boolean Triggers buddy with halo. (inferred from name) TppBuddy2BlockController.CreateBlock(...) DEAD STUB - registered but wired to a shared no-op Creates block. (inferred from name) used 1x in game scripts TppBuddy2BlockController.CreateBlock() .../script/lib/TppLocation.lua:54 TppBuddy2BlockController.DeleteBlock(...) DEAD STUB - registered but wired to a shared no-op Deletes block. (inferred from name) used 1x in game scripts TppBuddy2BlockController.DeleteBlock() .../script/lib/TppLocation.lua:58 TppBuddy2BlockController.DeleteBuddy() Deletes buddy. (inferred from name) used 2x in game scripts .../story/s10050/s10050_sequence.lua:1000 TppBuddy2BlockController.DidObtainBuddyType() -> boolean used 5x in game scripts local e = TppBuddy2BlockController.DidObtainBuddyType(BuddyType.QUIET) .../script/lib/TppQuest.lua:1982 if TppBuddy2BlockController.DidObtainBuddyType(BuddyType.DOG) then TppCassette.Acquire({ cassetteList = { "tp_m_10190_04" }, isShowAnnounceLog = { delayTimeSec = 2 } }) end .../script/lib/TppStory.lua:1018 Buddies 87 TppBuddy2BlockController.GetActiveBuddyType() -> number Returns active buddy type. (inferred from name) used 9x in game scripts local e = TppBuddy2BlockController.GetActiveBuddyType() .../script/lib/TppStory.lua:1167 if TppBuddy2BlockController.GetActiveBuddyType() == BuddyType.DOG then local gameObjectId = { type = "TppBuddyDog2", index = 0 } local command = { id = "SetWarpPosition", pos = Vector3(540.217, 335.125, 29.102) } GameObject.SendCommand(gameObjectId, command) end .../story/s10020/s10020_sequence.lua:1143 TppBuddy2BlockController.IsBlockActive() -> boolean True if block active. (inferred from name) used 27x in game scripts if TppBuddy2BlockController.IsBlockActive() then if not svars.isPrintLog then Fox.Log( -- ... end .../story/s10140/s10140_sequence.lua:1106 Fox.Log( "#### s10140_sequence.Seq_Demo_PandemicConverge::OnUpdate #### TppBuddy2BlockController.IsBlockActive()" ) .../story/s10140/s10140_sequence.lua:1109 TppBuddy2BlockController.IsLoading() -> boolean True if loading. (inferred from name) TppBuddy2BlockController.Load() used 21x in game scripts .../script/lib/TppMain.lua:246 Fox.Log("**********vars.buddyType is BuddyType.DOG : TppBuddy2BlockController.Load() start ") .../story/s10151/s10151_sequence.lua:1492 TppBuddy2BlockController.RegisterPackagePath() Registers package path. (inferred from name) TppBuddy2BlockController.Reload() TppBuddy2BlockController.RequestChangeBuddyForEntryGate(number) -> boolean Requests change buddy for entry gate. (inferred from name) TppBuddy2BlockController.RequestChangeSubBlock(number, number) -> boolean Requests change sub block. (inferred from name) TppBuddy2BlockController.RequestEspionageToPosition(number) -> boolean Requests espionage to position. (inferred from name) TppBuddy2BlockController.RequestMoveToPosition(number, ?, number) -> boolean Requests move to position. (inferred from name) TppBuddy2BlockController.RequestMoveToSnipePoint(number, number) -> boolean Requests move to snipe point. (inferred from name) TppBuddy2BlockController.RequestToLoadBlock() Requests to load block. (inferred from name) TppBuddy2BlockController.RequestToUnloadBlock() Requests to unload block. (inferred from name) Buddies 88 TppBuddy2BlockController.RequestWalkToPosition(number, ?, number) -> boolean Requests walk to position. (inferred from name) TppBuddy2BlockController.ReserveCallBuddy(number, number, ?, number) used 13x in game scripts TppBuddy2BlockController.ReserveCallBuddy(vars.buddyType, BuddyInitStatus.RIDE, Vector3(0, 0, 0), 0) .../script/lib/TppMbFreeDemo.lua:1654 TppBuddy2BlockController.ReserveCallBuddy( BuddyType.HORSE, BuddyInitStatus.NORMAL, Vector3(1458.916, 360.3217, 1428.54), 0.0 ) .../story/s10020/s10020_sequence.lua:599 TppBuddy2BlockController.SetCallPosition(?, number) Sets call position. (inferred from name) TppBuddy2BlockController.SetObtainedBuddyType() Sets obtained buddy type. (inferred from name) used 3x in game scripts TppBuddy2BlockController.SetObtainedBuddyType(BuddyType.QUIET) .../script/lib/TppStory.lua:2273 TppBuddy2BlockController.SetVarsBuddyType(number) Sets vars buddy type. (inferred from name) TppBuddy2BlockController.SetVarsInitialPosition() Sets vars initial position. (inferred from name) TppBuddy2BlockController.SetVarsInitialRotationY(number) Sets vars initial rotation y. (inferred from name) TppBuddy2BlockController.SetVarsInitialStatus(number) Sets vars initial status. (inferred from name) TppBuddy2BlockController.SetVarsPositionFromNearPlayer() Sets vars position from near player. (inferred from name) TppBuddy2BlockController.Unload() used 1x in game scripts .../script/lib/TppMission.lua:3799 TppBuddy2BlockController.UnsetObtainedBuddyType() TppBuddyService.AddFriendlyCount(number, number) Adds friendly count. (inferred from name) TppBuddyService.AddFriendlyPoint(number, number) Adds friendly point. (inferred from name) used 2x in game scripts TppBuddyService.AddFriendlyPoint(BuddyFriendlyType.QUIET, 2) .../story/s10050/s10050_sequence.lua:786 TppBuddyService.AdjustFromDropPoint(number, number, number, number) -> boolean used 2x in game scripts TppBuddyService.AdjustFromDropPoint(gvars.heli_missionStartRoute, EntryBuddyType.BUDDY, 6, 3.14) .../script/lib/TppHelicopter.lua:164 TppBuddyService.AdjustFromDropPoint(gvars.heli_missionStartRoute, EntryBuddyType.VEHICLE, 6, 0) .../script/lib/TppHelicopter.lua:165 TppBuddyService.AllDisableCallBuddyType() TppBuddyService.BuddyMissionInit() used 2x in game scripts .../script/lib/TppMission.lua:858 TppBuddyService.BuddyProcessMissionEnd() used 1x in game scripts .../script/lib/TppMission.lua:4020 TppBuddyService.BuddyProcessMissionSuccess() used 1x in game scripts .../script/lib/TppResult.lua:303 TppBuddyService.CanSortieBuddyType(number) -> boolean True if sortie buddy type is possible. (inferred from name) used 132x in game scripts local a = not TppBuddyService.CanSortieBuddyType(BuddyType.DOG) .../script/lib/TppDemo.lua:1088 local n = not TppBuddyService.CanSortieBuddyType(BuddyType.DOG) .../script/lib/TppDemo.lua:1094 TppBuddyService.ChangeQuietCostume(number) TppBuddyService.ChangeQuietWeaponType(number) TppBuddyService.CheckBuddyCommonDisableRideHeliFlag() -> boolean Checks buddy common disable ride heli flag. (inferred from name) TppBuddyService.CheckBuddyCommonFlag(number) -> boolean Checks buddy common flag. (inferred from name) used 12x in game scripts Buddies 80 local l = not TppBuddyService.CheckBuddyCommonFlag(BuddyCommonFlag.BUDDY_QUIET_LOST) .../script/lib/TppMbFreeDemo.lua:502 if TppBuddyService.CheckBuddyCommonFlag(BuddyCommonFlag.BUDDY_QUIET_LOST) then else if TppQuest.IsCleard("mtbs_q99011") then -- ... end .../script/lib/TppMission.lua:4031 TppBuddyService.ClearDisableAllBuddy() Clears disable all buddy. (inferred from name) used 3x in game scripts .../story/s10150/s10150_sequence.lua:333 TppBuddyService.ClearDisableCallBuddyType() Clears disable call buddy type. (inferred from name) TppBuddyService.ClearParachute() Clears parachute. (inferred from name) TppBuddyService.DidBuddyPuppyMBDemoPlay() -> boolean TppBuddyService.DidObtainBuddyType() -> boolean used 23x in game scripts if TppBuddyService.DidObtainBuddyType(BuddyType.DOG) == false then Fox.Log("Buddy puppy is not obtained. First buddy puppy appear.") return true end .../location/afgh/afgh_animal.lua:1078 if TppBuddyService.DidObtainBuddyType(BuddyType.DOG) then return true else return false end .../script/lib/TppDemo.lua:1076 TppBuddyService.EntryGateGo() used 1x in game scripts .../heli/common/heli_common_sequence.lua:1883 TppBuddyService.GetFriendlyMaxPoint(number) -> number Returns friendly max point. (inferred from name) TppBuddyService.GetFriendlyPoint(number) -> number Returns friendly point. (inferred from name) used 29x in game scripts if TppBuddyService.GetFriendlyPoint(BuddyFriendlyType.HORSE) >= 100 then if TppUiCommand.CheckMbTopMenuDHorseCustomizeOpen() == false then TppUiCommand.SetMbTopMenuDHorseCustomizeOpen(true) e._PushReward(TppScriptVars.CATEGORY_MB_MANAGEMENT, "reward_403", TppReward.TYPE.COMMON) end end .../script/lib/TppMission.lua:3427 if TppBuddyService.GetFriendlyPoint(BuddyFriendlyType.DOG) >= 100 then if TppUiCommand.CheckMbTopMenuDDogCustomizeOpen() == false then TppUiCommand.SetMbTopMenuDDogCustomizeOpen(true) e._PushReward(TppScriptVars.CATEGORY_MB_MANAGEMENT, "reward_404", TppReward.TYPE.COMMON) end end .../script/lib/TppMission.lua:3433 Buddies 81 TppBuddyService.GetReserveBuddyType() -> number Returns reserve buddy type. (inferred from name) TppBuddyService.HeliSpaceSetting(?, number, number) used 1x in game scripts TppBuddyService.HeliSpaceSetting(translation, rotQuat, buddyType) .../heli/common/heli_common_sequence.lua:394 TppBuddyService.IsBuddyDogGot() -> boolean True if buddy dog got. (inferred from name) used 3x in game scripts if TppBuddyService.IsBuddyDogGot() == false then TppBuddyService.SetBuddyDogGot() elseif TppBuddyService.IsBuddyDogSecondGot() == false then TppBuddyService.IsBuddyDogSecondGot() end .../script/lib/TppTerminal.lua:391 if TppBuddyService.IsBuddyDogGot() then fv2Index = 0 elseif TppBuddyService.IsBuddyDogGot() then fv2Index = 1 end .../mtbs/Command/quest_child_dog.lua:45 TppBuddyService.IsBuddyDogSecondGot() -> boolean True if buddy dog second got. (inferred from name) used 2x in game scripts if TppBuddyService.IsBuddyDogSecondGot() == false then TppBuddyService.IsBuddyDogSecondGot() end .../script/lib/TppTerminal.lua:393 TppBuddyService.IsBuddyDogSecondGot() .../script/lib/TppTerminal.lua:394 TppBuddyService.IsDeadBuddyType(number) -> boolean True if dead buddy type. (inferred from name) used 14x in game scripts if TppBuddyService.IsDeadBuddyType(BuddyType.DOG) then Fox.Log("Buddy puppy is dead. New buddy puppy appear.") return true end .../location/afgh/afgh_animal.lua:1074 if TppBuddyService.DidObtainBuddyType(BuddyType.QUIET) and not TppBuddyService.IsDeadBuddyType(BuddyType.QUIET) then table.insert(e, "MB_story_09") end .../script/lib/TppEnemy.lua:1303 TppBuddyService.IsDisableBuddyType(number) -> boolean True if disable buddy type. (inferred from name) TppBuddyService.IsDisableCallBuddyType(number) -> boolean True if disable call buddy type. (inferred from name) TppBuddyService.IsEnableBuddyCommand(number) -> boolean True if enable buddy command. (inferred from name) used 1x in game scripts if TppBuddyService.IsEnableBuddyCommand(t) then local t = e - 1 if not gvars.trm_isPushRewardBuddyCommand[t] then -- ... end Buddies 82 .../script/lib/TppTerminal.lua:2361 TppBuddyService.IsEnableCallBuddyType(number) -> boolean True if enable call buddy type. (inferred from name) TppBuddyService.IsEspionagedCp(string) -> boolean True if espionaged cp. (inferred from name) used 2x in game scripts if TppBuddyService.IsEspionagedCp(cpName) then Fox.Log("afgh_base.QuietSupplyCheck: Supply Enable!!::" .. cpName) for k, pos in pairs(posList) do -- ... end .../location/afgh/afgh_base.lua:1765 TppBuddyService.IsNeedQuietHospitalizeInHeli() -> boolean True if need quiet hospitalize in heli. (inferred from name) TppBuddyService.IsQuietDeadFromDying() -> boolean True if quiet dead from dying. (inferred from name) used 1x in game scripts if TppBuddyService.IsQuietDeadFromDying and TppBuddyService.IsQuietDeadFromDying() then TppBuddyService.QuietDyingToDead() end .../script/lib/TppMission.lua:4022 TppBuddyService.IsRideHeli() -> boolean True if ride heli. (inferred from name) TppBuddyService.QuietDisableHospitalized() TppBuddyService.QuietDyingToDead() used 1x in game scripts .../script/lib/TppMission.lua:4023 TppBuddyService.QuietHospitalized() used 1x in game scripts .../script/lib/TppMbFreeDemo.lua:587 TppBuddyService.QuietOutOfHospital() TppBuddyService.RemoveTargetAnimalId() Removes target animal id. (inferred from name) used 1x in game scripts .../script/lib/TppAnimal.lua:250 TppBuddyService.ReserveBuddyForLandStart() used 3x in game scripts TppBuddyService.ReserveBuddyForLandStart(BuddyInitStatus.RIDE) .../story/s10080/s10080_sequence.lua:655 TppBuddyService.ResetDogLeakedInformation() Resets dog leaked information. (inferred from name) used 2x in game scripts .../script/lib/TppMission.lua:3217 Buddies 83 TppBuddyService.ResetEspionageCpHistory() Resets espionage cp history. (inferred from name) TppBuddyService.ResetFriendlyCounts() Resets friendly counts. (inferred from name) TppBuddyService.ResetVarsMissionStart() Resets vars mission start. (inferred from name) used 1x in game scripts .../script/lib/TppVarInit.lua:227 TppBuddyService.SetBuddyCommonDisableRideHeliFlag() Sets buddy common disable ride heli flag. (inferred from name) TppBuddyService.SetBuddyCommonFlag(number) Sets buddy common flag. (inferred from name) used 5x in game scripts TppBuddyService.SetBuddyCommonFlag(BuddyCommonFlag.BUDDY_QUIET_LOST) .../script/lib/TppStory.lua:1883 TppBuddyService.SetBuddyCommonFlag(BuddyCommonFlag.BOSS_QUIET_KILL) .../story/s10050/s10050_sequence.lua:476 TppBuddyService.SetBuddyDogGot() Sets buddy dog got. (inferred from name) used 1x in game scripts .../script/lib/TppTerminal.lua:392 TppBuddyService.SetBuddyDogSecondGot() Sets buddy dog second got. (inferred from name) TppBuddyService.SetBuddyPuppyMBDemoPlayed() Sets buddy puppy mb demo played. (inferred from name) used 2x in game scripts .../script/lib/TppMbFreeDemo.lua:224 TppBuddyService.SetDeadBuddyType(number) Sets dead buddy type. (inferred from name) TppBuddyService.SetDisable(boolean) Sets disable. (inferred from name) used 1x in game scripts TppBuddyService.SetDisable(true) .../story/s10260/s10260_sequence.lua:2232 TppBuddyService.SetDisableAllBuddy() Sets disable all buddy. (inferred from name) used 4x in game scripts .../script/lib/TppMain.lua:239 TppBuddyService.SetDisableBuddyType(number) Sets disable buddy type. (inferred from name) used 2x in game scripts TppBuddyService.SetDisableBuddyType(e) .../script/lib/TppMain.lua:234 TppBuddyService.SetDisableBuddyType(BuddyType.QUIET) Buddies 84 .../script/lib/TppStory.lua:1884 TppBuddyService.SetDisableCallBuddyType(number) Sets disable call buddy type. (inferred from name) used 1x in game scripts TppBuddyService.SetDisableCallBuddyType(BuddyType.QUIET) .../heli/common/heli_common_sequence.lua:1280 TppBuddyService.SetDogBarkBossRadius() Sets dog bark boss radius. (inferred from name) TppBuddyService.SetDogSnarlDecoyFriendlyPoint() Sets dog snarl decoy friendly point. (inferred from name) TppBuddyService.SetFriendlyCount(number, number) Sets friendly count. (inferred from name) TppBuddyService.SetFriendlyMaxPoint(number, number) Sets friendly max point. (inferred from name) TppBuddyService.SetFriendlyPoint(number, number) Sets friendly point. (inferred from name) used 2x in game scripts TppBuddyService.SetFriendlyPoint(BuddyFriendlyType.QUIET, 0) .../script/lib/TppStory.lua:2040 TppBuddyService.SetFriendlyPoint(BuddyFriendlyType.QUIET, 100) .../script/lib/TppStory.lua:2382 TppBuddyService.SetIgnoreDisableNpc(boolean) Sets ignore disable npc. (inferred from name) used 35x in game scripts TppBuddyService.SetIgnoreDisableNpc(true) .../script/lib/TppMbFreeDemo.lua:1295 TppBuddyService.SetIgnoreDisableNpc(false) .../script/lib/TppMbFreeDemo.lua:1350 TppBuddyService.SetIgnoreEventAttribute() Sets ignore event attribute. (inferred from name) TppBuddyService.SetMissionEntryPosition(number) Sets mission entry position. (inferred from name) used 1x in game scripts TppBuddyService.SetMissionEntryPosition(e, t) .../script/lib/TppEnemy.lua:4947 TppBuddyService.SetMissionEntryRotationY(number, number) Sets mission entry rotation y. (inferred from name) used 1x in game scripts TppBuddyService.SetMissionEntryRotationY(e, n) .../script/lib/TppEnemy.lua:4948 TppBuddyService.SetMissionGroundStartPositions() Sets mission ground start positions. (inferred from name) used 1x in game scripts TppBuddyService.SetMissionGroundStartPositions({ positions = n }) .../script/lib/TppMission.lua:3215 Buddies 85 TppBuddyService.SetObtainedBuddyType() Sets obtained buddy type. (inferred from name) used 4x in game scripts TppBuddyService.SetObtainedBuddyType(BuddyType.DOG) .../script/lib/TppStory.lua:2298 TppBuddyService.SetObtainedBuddyType(e) .../script/lib/TppTerminal.lua:386 TppBuddyService.SetSortieBuddyType(number) Sets sortie buddy type. (inferred from name) used 10x in game scripts TppBuddyService.SetSortieBuddyType(BuddyType.DOG) .../script/lib/TppMbFreeDemo.lua:241 TppBuddyService.SetSortieBuddyType(BuddyType.QUIET) .../script/lib/TppMission.lua:4041 TppBuddyService.SetTargetAnimalId() Sets target animal id. (inferred from name) used 1x in game scripts TppBuddyService.SetTargetAnimalId(e) .../script/lib/TppAnimal.lua:211 TppBuddyService.SetVarsMissionStart() Sets vars mission start. (inferred from name) used 5x in game scripts .../script/lib/TppMbFreeDemo.lua:1381 TppBuddyService.SetVarsQuietCostume(number) Sets vars quiet costume. (inferred from name) TppBuddyService.SetVarsQuietWeaponType(number) Sets vars quiet weapon type. (inferred from name) used 1x in game scripts TppBuddyService.SetVarsQuietWeaponType(4) .../story/s10260/s10260_enemy.lua:472 TppBuddyService.SummonBuddy(number, ?, number) TppBuddyService.UnsetBuddyCommonDisableRideHeliFlag() TppBuddyService.UnsetBuddyCommonFlag(number) used 2x in game scripts TppBuddyService.UnsetBuddyCommonFlag(BuddyCommonFlag.BUDDY_QUIET_DYING) .../script/lib/TppStory.lua:2039 TppBuddyService.UnsetBuddyDogGot() TppBuddyService.UnsetBuddyDogSecondGot() TppBuddyService.UnsetBuddyPuppyMBDemoPlayed() TppBuddyService.UnsetDeadBuddyType(number) used 4x in game scripts TppBuddyService.UnsetDeadBuddyType(BuddyType.QUIET) .../script/lib/TppStory.lua:2287 TppBuddyService.UnsetDeadBuddyType(BuddyType.DOG) .../script/lib/TppTerminal.lua:396 Buddies 86 TppBuddyService.UnsetDisableBuddyType(number) TppBuddyService.UnsetDisableCallBuddyType(number) used 2x in game scripts TppBuddyService.UnsetDisableCallBuddyType(BuddyType.QUIET) .../heli/common/heli_common_sequence.lua:2154 TppBuddyService.UnsetObtainedBuddyType() used 1x in game scripts TppBuddyService.UnsetObtainedBuddyType(BuddyType.QUIET) .../script/lib/TppStory.lua:2037 TppBuddyService.UnsetSortieBuddyType(number) used 1x in game scripts TppBuddyService.UnsetSortieBuddyType(BuddyType.QUIET) .../script/lib/TppStory.lua:2038 TppBullet.ClearBulletMark() Clears bullet mark. (inferred from name) used 8x in game scripts .../story/s10010/s10010_sequence.lua:11355 TppBullet.ReloadRecoilMaterials() used 1x in game scripts TppCassetteTapeInfo.Setup() used 1x in game scripts Tpp/start.lua:421 System & Save 281 Engine-to-Lua Messages The engine raises messages into the Lua VM to signal events (damage, UI, radio, vehicle state...). Script modules subscribe by returning a table from their Messages() function; TppMain.OnMessage dispatches to subscribers. There is no Lua-to-engine message path - calls go through module functions or GameObject.SendCommand. function this.Messages() return Tpp.StrCode32Table{ GameObject = { { msg='VehicleTrouble', func=this.OnVehicleTrouble }, }, Timer = { { msg='Finish', sender='MyTimer', func=this.OnTimer }, }, } end Message names are StrCode32-hashed; unknown numeric ids in scripts are unresolved hashes. The Infinite Heaven InfLookup.lua module carries the largest community catalog of message ids and their arguments. Engine-to-Lua Messages 282 GameObject SendCommand Reference Commands in The Phantom Pain's lua files are typically used in the format of: ` GameObject.SendCommand(gameObjectId, {id='commandName'})` e.g. to get a player's vehicle type index do: TppChallengeTask.IsCompletedOnlineTask(...) True if completed online task. (inferred from name) TppChallengeTask.RegisterCheckerFunction(...) Registers checker function. (inferred from name) TppChallengeTask.RequestUpdate(...) Requests update. (inferred from name) used 1x in game scripts TppChallengeTask.RequestUpdate("ONLINE") .../mission2/common/OnlineChallengeTask.lua:78 TppChallengeTask.RequestUpdateAllChecher(...) Requests update all checher. (inferred from name) TppChallengeTask.RequestUpdateAllChecker(...) Requests update all checker. (inferred from name) TppChallengeTask.SetFlagCompletedOnlineTask(...) Sets flag completed online task. (inferred from name) TppCoder.GetWorldCenter() -> value Returns world center. (inferred from name) used 1x in game scripts TppEventLog.StartRecording(TppCoder.GetWorldCenter()) System & Save 278 .../online/o50050/o50050_sequence.lua:6773 TppCoder.SetWorldCenter() Sets world center. (inferred from name) TppCollection.GetTypeIdByLocatorName() Returns type id by locator name. (inferred from name) used 1x in game scripts local n = TppCollection.GetTypeIdByLocatorName(e) .../script/lib/TppGimmick.lua:737 TppCollection.GetUniqueIdByLocatorName() Returns unique id by locator name. (inferred from name) used 42x in game scripts if a == TppCollection.GetUniqueIdByLocatorName(e.developId) then e.messageId = "Recovered" end .../script/lib/TppGimmick.lua:886 local e = TppCollection.GetUniqueIdByLocatorName(e) .../script/lib/TppGimmick.lua:741 TppCollection.IsDiamondByType() True if diamond by type. (inferred from name) TppCollection.IsExistLocator() True if exist locator. (inferred from name) used 3x in game scripts if TppCollection.IsExistLocator(stationName) then TppCollection.SetValidStation(stationName) end .../location/mtbs/mtbs_item.lua:240 if TppCollection.IsExistLocator(e) and (TppCollection.RepopCountOperation("GetAt", e) > 0) then local n = false local i = i[t] -- ... end .../script/lib/TppGimmick.lua:384 TppCollection.IsHerbByType() True if herb by type. (inferred from name) used 3x in game scripts if TppCollection.IsHerbByType(a) then local e = GameObject.GetGameObjectIdByIndex("TppBuddyDog2", 0) if e ~= t then o(e, { id = "GetPlant", uniqueId = n }) end end .../script/lib/TppPlayer.lua:2655 if TppCollection.IsHerbByType(t) then local t = Player.GetRateOfGettingHarb() e = e * t TppUI.ShowAnnounceLog("find_plant", a, e) end .../script/lib/TppTerminal.lua:1733 Gimmicks & Placed Objects 213 TppCollection.IsMaterialByType() True if material by type. (inferred from name) used 1x in game scripts if TppCollection.IsMaterialByType(a) then TppUI.ShowAnnounceLog("find_processed_res", i, r) end .../script/lib/TppPlayer.lua:2661 TppCollection.RepopCountOperation() used 108x in game scripts if TppCollection.RepopCountOperation("GetAt", n) > 0 then e = e + 1 end .../script/lib/TppGimmick.lua:356 if TppCollection.IsExistLocator(e) and (TppCollection.RepopCountOperation("GetAt", e) > 0) then local n = false local i = i[t] -- ... end .../script/lib/TppGimmick.lua:384 TppCollection.ResetMoved() Resets moved. (inferred from name) TppCollection.SetAllCollectionInvisible() Sets all collection invisible. (inferred from name) used 6x in game scripts TppCollection.SetAllCollectionInvisible(isInvisible) .../story/s10100/s10100_sequence.lua:5658 .../story/s10100/s10100_sequence.lua:5650 TppCollection.SetDisabledInGame() Sets disabled in game. (inferred from name) used 16x in game scripts TppCollection.SetDisabledInGame("ly003_cl04_collct0000|cl04pl0_uq_0040_collct|col_photo_paz", false) .../free/f30050/f30050_sequence.lua:2609 TppCollection.SetDisabledInGame("ly003_cl04_collct0000|cl04pl0_uq_0040_collct|col_photo_paz", true) .../free/f30050/f30050_sequence.lua:2611 TppCollection.SetScriptDeclVars() Sets script decl vars. (inferred from name) used 3x in game scripts TppCollection.SetScriptDeclVars("col_daimondStatus_afgh", "col_markerStatus_afgh", "col_isRegisteredInDb_afgh") .../script/lib/TppGimmick.lua:193 TppCollection.SetScriptDeclVars("col_daimondStatus_mafr", "col_markerStatus_mafr", "col_isRegisteredInDb_mafr") .../script/lib/TppGimmick.lua:195 TppCollection.SetValidStation() Sets valid station. (inferred from name) used 3x in game scripts TppCollection.SetValidStation(stationName) .../location/mtbs/mtbs_item.lua:241 TppCollection.SetValidStation(a) .../script/lib/TppPlayer.lua:2425 Gimmicks & Placed Objects 214 TppColorCorrection.RemoveLUT() Removes lut. (inferred from name) used 1x in game scripts .../script/lib/TppWeather.lua:178 TppColorCorrection.RemoveParameter() Removes parameter. (inferred from name) used 1x in game scripts .../script/lib/TppWeather.lua:184 TppColorCorrection.SetLUT() Sets lut. (inferred from name) used 1x in game scripts TppColorCorrection.SetLUT(e) .../script/lib/TppWeather.lua:175 TppColorCorrection.SetParameter(number, number) Sets parameter. (inferred from name) used 1x in game scripts TppColorCorrection.SetParameter(t, e, r) .../script/lib/TppWeather.lua:181 TppCombatLocatorProvider.RegisterCombatLocatorSetToCpforLua(any) Registers combat locator set to cpfor lua. (inferred from name) used 4x in game scripts TppCombatLocatorProvider.RegisterCombatLocatorSetToCpforLua({ cpName = n, locatorSetName = e }) .../script/lib/TppEnemy.lua:2205 TppCombatLocatorProvider.RegisterCombatLocatorSetToCpforLua({ cpName = n, locatorSetName = t }) .../script/lib/TppEnemy.lua:4963 TppCombatLocatorSetData.GetLocatorNum(...) Returns locator num. (inferred from name) TppCombatLocatorSetData.GetLocatorPosition(...) Returns locator position. (inferred from name) TppCombatLocatorSetData.GetLocatorRadius(...) Returns locator radius. (inferred from name) TppCommandPost2.GetDominatedCpCount() -> number Returns dominated cp count. (inferred from name) used 1x in game scripts | proxy-resolved local o = TppCommandPost2.GetDominatedCpCount({ type = e }) .../script/lib/TppHero.lua:539 TppCommandPost2.SetCpDominated() -> boolean Sets cp dominated. (inferred from name) used 1x in game scripts | proxy-resolved local i = TppCommandPost2.SetCpDominated({ cpName = n, type = e }) .../script/lib/TppHero.lua:538 TppCommandPost2.SetDominationTargetCpList() Sets domination target cp list. (inferred from name) used 1x in game scripts | proxy-resolved TppCommandPost2.SetDominationTargetCpList({ afgh = _.afgh, mafr = _.mafr }) .../script/lib/TppTrophy.lua:100 TppCommandPost2.SetSVarsKeyNames() Sets s vars key names. (inferred from name) used 1x in game scripts | proxy-resolved TppCommandPost2.SetSVarsKeyNames({ names = "cpNames", flags = "cpFlags" }) .../script/lib/TppEnemy.lua:2270 TppCoverPointProvider.CheckUsable(...) Checks usable. (inferred from name) TppCoverPointProvider.ClearAll(...) Clears all. (inferred from name) TppCoverPointProvider.Create(...) used 1x in game scripts TppCoverPointProvider.Create() Tpp/start.lua:102 TppCyprusBlockControl.GetCyprusStep(...) Returns cyprus step. (inferred from name) TppCyprusBlockControl.IsCyprusBlockControllerCreated(...) True if cyprus block controller created. (inferred from name) TppCyprusBlockControl.IsCyprusLoading(...) True if cyprus loading. (inferred from name) used 2x in game scripts if TppCyprusBlockControl.IsCyprusLoading() then return false end .../story/s10010/s10010_sequence.lua:3810 TppCyprusBlockControl.SetCyprusStep(...) Sets cyprus step. (inferred from name) used 2x in game scripts TppCyprusBlockControl.SetCyprusStep(step) .../story/s10010/s10010_sequence.lua:1639 TppDamage.IsActiveByAttackId() -> boolean True if active by attack id. (inferred from name) used 16x in game scripts if TppDamage.IsActiveByAttackId(e) then if Tpp.IsPlayer(n) then TppRadio.PlayCommonRadio(TppDefine.COMMON_RADIO.HOSTAGE_DAMAGED_FROM_PC) end end .../script/lib/TppEnemy.lua:6136 if Tpp.IsPlayer(i) and TppDamage.IsActiveByAttackId(n) then TppRadio.PlayCommonRadio(TppDefine.COMMON_RADIO.HELI_DAMAGE_FROM_PLAYER) end .../script/lib/TppMission.lua:1996 TppDamage.ReloadDamageParameter() used 1x in game scripts TppDataUtility.CreateEffectFromGroupId() Creates effect from group id. (inferred from name) used 46x in game scripts TppDataUtility.CreateEffectFromGroupId(subEventTable.effectName) .../story/s10010/s10010_sequence.lua:2492 TppDataUtility.CreateEffectFromGroupId("volginRide_gameOver") .../story/s10010/s10010_sequence.lua:12459 ```