Skip to main content

Watch Dogs: Legion Lua function index

Source: function-name list extracted from Watch Dogs: Legion. The extraction method for this particular list is not recorded here; it is a flat dump of global names and table members, not a generated API reference.

These are the script function names that Watch Dogs: Legion exposes to its Lua 5.1 runtime. The list is a name inventory only: there are no signatures, no argument lists, no parameter order and no return types. A name tells you that a capability exists and roughly what it is for, but it does not tell you how to call it. Everything below was taken from the name text alone, and no behaviour has been inferred.

What the list can and cannot tell you​

  • What it gives: the full set of callable entry points that the shipped scripts can reach, plus the names of several engine manager tables and a handful of Lua values and userdata objects.
  • What it does not give: argument shapes, types, defaults, who may call a function (client, server, or both), or which runtime state it needs.
  • Consequence: you can use the list to find out whether a feature is scriptable, to find the likely function for a task, and to compare naming across versions. To actually call anything you need the argument shapes, which have to come from the game's own scripts or from a decompiler.

How to read the names​

Most names are verbs followed by a noun, and the verb prefix usually states the kind of operation:

  • Set / Get: write or read a value or a state on an entity, manager or system. These are the most common prefixes by a wide margin.
  • Is / Are / Has: ask a yes or no question. Has is used for possession or detection, Are for a set of things, Is for a single thing.
  • Start / Stop: begin or end a running behaviour, sequence or system.
  • Enable / Disable: turn a feature or handler on or off.
  • Add / Remove / Clear: change the membership or contents of a set, list, override stack or parameter block.
  • Play / Stop: run media or an animation, often paired (PlaySound / StopSound).
  • Send: push an event, command or request to an entity or manager.
  • Register / Unregister: subscribe or unsubscribe a callback or a provider.
  • Force: override normal logic and push a system into a chosen state.
  • Modify: change an existing value in place rather than replacing it.
  • Prefixless nouns also exist, for example CameraShakeAndGamePadRumble, AgentDrawWeapon and FelonyStartChase, where the subsystem is the first token.

Two more conventions matter when reading the list:

  • A _v2, _v3, _v4 and so on suffix marks a reworked or replaced variant of a function. The older entry is normally kept alongside the new one, so several functions appear as a rising sequence of versions (ReinforcementStartReinforcing runs from the base name up to _v6, and SetAIAgentState runs up to _v4). A few V2 and V3 forms without the underscore also appear, for example SendAICmdBHVstateV2 and PlayBinkVideoFileWithSubtitleV3.
  • Some entries are Lua-standard names rather than Legion-specific ones (collectgarbage, pcall, tostring, and the members of math, string, table, os, io, coroutine and debug). They are in the dump because it captures the whole global environment, not only the game's own functions.

Notation in the full list​

The full list keeps every line exactly as it appears in the source, so three shapes appear:

  • Name(): a function reachable directly as a global.
  • - Name(): a member of a table. The leading dash comes from the dump, which lists table members under their table. The table may be a Lua standard library (- abs() under math) or an engine manager table (- RegisterEventCallback() under Globals).
  • Name [table], Name [userdata] and Name :type: value: non-function entries, namely the manager tables themselves (CAIAgentManager [table]), userdata objects (System [userdata]) and constant values (pi :number: 3.141593, _VERSION :string: Lua 5.1). They are part of the same inventory and are kept in the list for completeness.

Grouped index​

Families below are grouped only by what the name text says. They overlap where a function names more than one subsystem, and a family is an index aid, not a claim about the implementation. Members are shown without the leading dash from the source.

Hacking and hackables​

  • AddExclucedEntityToRandomHackingFromPlayer()
  • AddHackCategoryAvailabilityOverride()
  • AddHackingAvailabilityOverride()
  • CompareHackingCategories()
  • CreateHackGameplay_v5()
  • DisableAIlogicUseHackableGameplay()
  • DisableHackableIncredient()
  • DisableHackingSelector()
  • EnableAIlogicUseHackableGameplay()
  • EnableScriptedHackHandler()
  • ForceHackIngredient()
  • ForceHackOff()
  • ForceHackOn()
  • HackerspaceAssignOperatives()
  • HackingRequestSendIsHackableEvent()
  • RemoveHackCategoryAvailabilityOverride()
  • RemoveHackingAvailabilityOverride()
  • RequestHackingPortal()
  • ResetScriptedHackHandler()
  • RetrieveHackableCiviliansAround()
  • SetBagleyHackActive()
  • SetHackable()
  • SetHackableNoText()
  • SetHackableOverrideHackingText()
  • SetHackOccludable()
  • SetHacksPermissions()
  • SetVehicleAlarmHackable()
  • StartEntityNetHackHighlight()
  • StartRandomHackingFromPlayer()
  • StopEntityNetHackHighlight()
  • StopRandomHackingFromPlayer()
  • TryTriggerHack()

AI commands and agent control​

  • AbortAICmdStandAndShoot()
  • CancelAICommand()
  • FieldAICmdGoTo()
  • GetAICommand_InvalidID()
  • SendAICmdBHVstate()
  • SendAICmdBHVstateV2()
  • SendAICmdSetCombat()
  • SendAICmdSetCombatTarget()
  • SendAICmdStandAndShoot()
  • SendAICommand_Aim()
  • SendAICommand_FollowTarget()
  • SendAICommand_Goto()
  • SendAICommand_GotoPos()
  • SendAICommand_LookAt()
  • SendAICommand_PickAndShootNPC()
  • SendAICommand_PlayAnim()
  • SendAICommand_SetLKP()
  • SendAICommand_ShootAt()

AI reinforcement​

  • EnableReinforcementCalls()
  • RegisterReinforcementCaller()
  • ReinforcementAddScriptedAgent()
  • ReinforcementAddScriptedAgent_v2()
  • ReinforcementAdoptScriptedAgents()
  • ReinforcementCheckState()
  • ReinforcementCheckState_v2()
  • ReinforcementFixLocation()
  • ReinforcementIncrementWave()
  • ReinforcementReleaseLocation()
  • ReinforcementRepeatWave()
  • ReinforcementSetReinforcementTarget()
  • ReinforcementStartReinforcing()
  • ReinforcementStartReinforcing_v2()
  • ReinforcementStartReinforcing_v3()
  • ReinforcementStartReinforcing_v4()
  • ReinforcementStartReinforcing_v5()
  • ReinforcementStartReinforcing_v6()
  • ReinforcementStopAllReinforcements()
  • ReinforcementStopReinforcing()
  • ReinforcementStopReinforcing_v2()
  • ReinforcementStopReinforcing_v3()
  • ReinforcementStopReinforcing_v4()
  • ReinforcementStopReinforcing_v5()
  • ReinforcementTriggerScriptedFlee()
  • UnregisterReinforcementCaller()

Camera, cinematic and photo​

  • ActivateCinematicMode()
  • ActivateDominoAnimatedCamera()
  • ActivateDominoCameraContext()
  • CameraHideDisconnectedAnimation()
  • CameraPlayDisconnectedAnimation()
  • CameraShakeAndGamePadRumble()
  • ChangeCameraControlledNavigationSettings()
  • ClearCurrentCinematicMode()
  • ConnectMicrophoneToCamera()
  • DeactivateCanExitCameraForCinematic()
  • EnableCameraDoF()
  • Event__SwitchCinematicCamera()
  • Event__SwitchToFirstPersonCamera()
  • FixPlayerCamera()
  • ForceUserOutOfCamera()
  • FreePlayerCamera()
  • GetLocalCameraId()
  • GetSecurityCameraUser()
  • HasSecurityCameraDetectedPlayer()
  • HideCameraClippedEntity()
  • IsSecurityCameraHostile()
  • RealignCameraBehind()
  • ReleaseDominoAnimatedCamera()
  • ReleaseDominoCameraContext()
  • RemoveCinematicSceneEntity()
  • RequestClosePhotoCamera()
  • ResetCameraPosition()
  • SecurityCameraForceEnter()
  • SetCameraMonitorPlayerBlurIntensity()
  • SetCameraMonitorPlayerBlurLockedByScript()
  • SetDominoCameraReference()
  • SetInVehicleCamera()
  • ShowCameraClippedEntity()
  • StartCameraAnimatedShake()
  • StartCameraControlledNavigation()
  • StartCameraLock()
  • StartCameraShake()
  • StopCameraControlledNavigation()
  • StopCameraLock()
  • StopCameraShake()

Dialog, conversation, facial and subtitle​

  • CDialogManager_GetInstance()
  • CGameplayConversationManager_GetInstance()
  • DisableSpecialBroadcastSubtitles()
  • EnableDialogs()
  • IsConversationInteractionAllowed()
  • PauseConvoFromLUA()
  • PlayBinkVideoFileWithSubtitleV3()
  • PlayBinkVideoFileWithSubtitleV4()
  • PlayBinkVideoFileWithSubtitleV5()
  • PlayConvoFromLUA()
  • PlayConvoOnEntityListFromLUA()
  • PlayDialogWithSubtitle()
  • PlayDialogWithSubtitle_v2()
  • PlayDialogWithSubtitle_v3()
  • PlayDominoDialogControlFacial()
  • PlayDominoDialogControlFacial_v2()
  • RegisterNonRepeatableConversationPlayedCallback()
  • ResumeConvoFromLUA()
  • SetConversationInteractionAllowed()
  • SetConversationInteractionSettings()
  • ShowInstallPackageGlobalProgressDialog()
  • ShowTextSubtitleFunction()
  • StopConvoFromLUA()

Vehicles​

  • AIGetSpawnedVehiclesTotal()
  • DisableVehicleForPlayers()
  • EnableVehicleRadioSystemDomino()
  • ExplodeVehicle()
  • FelonyAddVehicleExclusionZone()
  • FelonyRemoveVehicleExclusionZone()
  • ForcePawnsVehicleStopFunction()
  • ForceVehicleAlaram()
  • ForceVehicleStop()
  • GetCurrentVehicleEntityId()
  • GetIsVehicleParked()
  • GetVehicleHealthPercentage()
  • GetVehicleIsDriveable()
  • GetVehicleReliabilityFactor()
  • GetVehicleSpeed()
  • GetVehicleSpeedStatTime()
  • GetVehicleValue()
  • GetVehicleValuePercentage()
  • IsEntityInVehicle()
  • IsInteractionUserRcVehicle()
  • IsVehicleEmpty()
  • PutPlayerInVehicle()
  • RegisterVehicleForDamageBarUpdate()
  • SetCanHideInVehicle()
  • SetInVehicleCamera()
  • SetVehicleAlarmHackable()
  • SetVehicleChaseCheats()
  • SetVehicleLockState()
  • SetVehicleTintedWindows()
  • ShutdownVehicleEngine()
  • SpawnAIVehicleAndPassengerOnRoad()
  • StartAutonomousVehicleFleeBehavior()
  • StartFloatingVehicleBhv()
  • StartVehicleBhv()
  • StartVehicleMovingTimer()
  • StartVehicleSpeedStats()
  • StopAutonomousVehicleFleeBehavior()
  • StopFloatingVehicleBhv()
  • StopVehicleBhv()
  • StopVehicleSpeedStats()
  • TurnAllVehicleLightAndSirenOff()
  • UnassignVehicleSeat()
  • UnregisterVehicleForDamageBarUpdate()
  • VehicleForceFakeFollow()
  • VehicleLightAndSiren()
  • VehicleRestrictedZone()
  • VerifyVehicleSlowEnoughToExit()

Gadgets, drones and toys​

  • CallBackFlyingDrone()
  • CallBackToyCar()
  • ConnectToFlyingDrone()
  • ConnectToToyCar()
  • CreateDroneBankServerPackageController()
  • CreateDroneDiamondPackageController()
  • CreateDronePackageController()
  • CreateDroneRegressGameplay_v1()
  • CreateDroneSpawnContinuouslyGameplay_v1()
  • DeactivateDroneCLO()
  • DeactivateDroneEntity()
  • DisconnectFromFlyingDrone()
  • DisconnectFromToyCar()
  • FindDroneEntityFromCLO()
  • GetAIDronesFromLUA()
  • GetDroneRegressSpeed()
  • GetFlyingDroneId()
  • GetFlyingDroneStatus()
  • GetToyCarId()
  • GetToyCarStatus()
  • PutToSleepDroneCLO()
  • PutToSleepDroneEntity()
  • SetFlyingDroneAvailable()
  • SetFlyingDroneCannotDeploy()
  • SetToyCarAvailable()
  • SetToyCarCannotDeploy()
  • WakeUpDroneCLO()
  • WakeUpDroneEntity()

Security cameras, alarms and the felony system​

  • FelonyAddScriptedAgent()
  • FelonyAddVehicleExclusionZone()
  • FelonyCheckFelonyState()
  • FelonyClearBasicParams()
  • FelonyClearBehaviourParams()
  • FelonyClearChopperParams()
  • FelonyClearHeatParams()
  • FelonyClearRoadBlockParams()
  • FelonyClearSearchParams()
  • FelonyClearSWATParams()
  • FelonyEndChase()
  • FelonyEndChaseOrSearch()
  • FelonyEndScan()
  • FelonyForceSearchStart()
  • FelonyGetSquadName()
  • FelonyGetSquadNameFromType()
  • FelonyMuteAllSounds()
  • FelonyMuteEntities()
  • FelonyOverrideBasicParams()
  • FelonyOverrideBehaviourParams()
  • FelonyOverrideChopperParams()
  • FelonyOverrideHeatParams()
  • FelonyOverrideRoadBlockParams()
  • FelonyOverrideSearchParams()
  • FelonyOverrideSWATParams()
  • FelonyRemoveVehicleExclusionZone()
  • FelonySetHeat()
  • FelonyStartChase()
  • FelonyStartChaseObj()
  • FelonyStartCustomScan()
  • FelonyStartScan()
  • FelonySystemEnable()
  • FelonySystemSetLocalUIOnlyHeatLevel()
  • FelonyTakeOverScriptedAgentControl()
  • ForceLKPForScriptedFelony()
  • GetSecurityCameraUser()
  • HasSecurityCameraDetectedPlayer()
  • IsSecurityCameraHostile()
  • SecurityCameraForceEnter()
  • SendActivateAlarmEvent()
  • SendDectivateAlarmEvent()
  • SendIsAlarmActivatedEvent()
  • SetIsSecurityCamExitBlockedForPlayer()
  • SetSecurityCamCanEnter()
  • SetSecurityCamForceDisableFelony()
  • SetSecurityCamFriendly()
  • SetSecurityCamHostile()
  • SetSecurityCamInitialTarget()
  • SetVehicleAlarmHackable()
  • VRSetAsAlarm()

Network variables​

  • GetNetworkVariableBool()
  • GetNetworkVariableEntityId()
  • GetNetworkVariableFloat()
  • GetNetworkVariableInteger()
  • GetNetworkVariablePlayerId()
  • HasNetworkVariable()
  • RegisterNetworkVariableCallback()
  • RemoveNetworkVariableCallback()
  • SetNetworkVariableBool()
  • SetNetworkVariableEntityId()
  • SetNetworkVariableFloat()
  • SetNetworkVariableInteger()
  • SetNetworkVariablePlayerId()

Operatives and recruitment​

  • AddRecruitNPCListener_v3()
  • CancelOperativeScheduleOverride()
  • GameStartRemoveOperative()
  • GameStartSwitchToOperativeInPlace()
  • GetCurrentOperative()
  • GetGameStartOperativesList()
  • GetMostPlayedOperative()
  • GetOperativeBySlotNumber()
  • GetOperativeIDList()
  • GetOperativeIDList_v2()
  • HackerspaceAssignOperatives()
  • OverrideOperativeScheduleToCityLocation()
  • RecruitmentIntelActivate()
  • RecruitmentIntelGetEntity()
  • RegisterPlayableOperativesCountRequest()
  • RemoveRecruitNPCListener()
  • SetOperativeAvailable()
  • SetOperativeUnavailable()
  • SetRecruitmentTalkersInhibition()
  • StartInitialOperativeSwapScreen()
  • SwitchToOperativeInPlaceFromDomino()
  • UnregisterPlayableOperativesCountRequest()

Mission, objective and gameplay beat helpers​

  • AbortMission()
  • AbortMission_v2()
  • AbortMissionWithDbObj()
  • AbortPGTMissionArea()
  • AddMissionWaypoint()
  • BindGameplayBeatWithEntity()
  • CreateObjectiveController()
  • CreateObjectiveCreator()
  • DisableMissionSoftQuit()
  • EnableMissionSoftQuit()
  • EndMissionMusic()
  • Event__MissionSetState()
  • FailMission()
  • FailMission_v2()
  • FailOneObjective()
  • ForceUnspawnPGTMissionArea()
  • GetMissionEntityName()
  • GetObjectiveId()
  • GetObjectiveIncrement()
  • GetParentGameplayBeatId()
  • GetParentMissionId()
  • GetParentOpIdAndGameplayBeatIdAsAJSONString()
  • HideMissionModuleIdLocalPlayer_v3()
  • IsMissionPlayed()
  • IsMissionTracked()
  • LeaveMissionWithDbObj()
  • LoadMissionLayer3()
  • MissionAreaActivation()
  • MissionCheckpoint()
  • MissionCheckpoint_v2()
  • PGTGetSpawnedAiEntities()
  • RegisterCLOEntityToGameplayBeat()
  • RegisterMissionEventCallback()
  • RegisterMissionNoEntityCallback()
  • RegisterObjectiveCompletedScriptCallback_v2()
  • RegisterObjectiveUpdatedScriptCallback()
  • RegisterOnHideObjectiveCompletedScriptCallback_v2()
  • RegisterOnShowObjectiveCompletedScriptCallback_v2()
  • RemoveGameplayBeatLoadingScreen()
  • RemoveMissionCallback()
  • RemoveMissionWaypoint()
  • ScriptUIMainObjectiveUpdate()
  • ScriptUIMissionAbort_v2()
  • ScriptUIMissionFail_v2()
  • ScriptUIMissionSuccess_v2()
  • ScriptUIObjectiveHide()
  • ScriptUIObjectiveSuccess()
  • ScriptUISubObjectiveUpdate()
  • SetCurrentUIMissionsAppVillainViewData()
  • SetMapMarkerPopUpDataWithMissionId()
  • SetMissionAreaDrawType()
  • SetMissionAreaMission()
  • SetMissionAreaObjectiveEnteringArea()
  • SetMissionAreaObjectiveExitingArea()
  • SetMissionAreaRadius()
  • SetMissionAreaShapeType()
  • SetPersistentWithMissionLayerOnDeath()
  • SetPGTEnabled()
  • ShowMissionModuleIdLocalPlayer_v3()
  • StartMissionMusic()
  • StartPGTMissionArea()
  • StopMissionWithDbObj()
  • SucceedMission()
  • SucceedMission_v2()
  • TerminateMissionSequenceWithDbObj()
  • UnbindGameplayBeatWithEntity()
  • UnloadMissionLayer3()
  • UnloadMissionLayer4()
  • UnregisterCLOEntityToGameplayBeat()
  • UnregisterObjectiveCompletedScriptCallback_v2()
  • UnregisterObjectiveUpdatedScriptCallback()
  • UnregisterOnHideObjectiveCompletedScriptCallback_v2()
  • UnregisterOnShowObjectiveCompletedScriptCallback_v2()
  • UsePausedMissionLayerLoading()
  • ValidateOneObjective()

Domino sequences, timers and delays​

  • ActivateDominoAnimatedCamera()
  • ActivateDominoCameraContext()
  • AddDominoEntity()
  • CDominoConsoleCommandManager_GetInstance()
  • CDominoDelayManager_GetInstance()
  • CDominoManager_GetInstance()
  • CDominoSoundManager_GetInstance()
  • CDominoTimerManager_GetInstance()
  • CDominoWaterLevelManager_GetInstance()
  • ClearDominoEntityPool()
  • CreateDominoDelay()
  • CreateHUDDominoDelay()
  • CreateHUDDominoDelay_v2()
  • DominoGetEntityAtAnchor()
  • DominoGetSequenceSyncPointName()
  • DominoLoopSequence()
  • DominoModifySequenceEntry()
  • DominoPauseSequence()
  • DominoResumeSequence()
  • DominoSkipSequence()
  • DominoStartAtSyncPoint()
  • DominoStartAtSyncPointWithMetaId()
  • DominoStartSequence()
  • DominoStartSequenceFromBeginning()
  • DominoStartSequenceFromBeginningWithMetaId()
  • DominoStartSequenceWithMetaId()
  • DominoStopSequence()
  • EnableVehicleRadioSystemDomino()
  • GetSequenceDominoName()
  • IsCLOValidForDomino()
  • PlayDominoDialogControlFacial()
  • PlayDominoDialogControlFacial_v2()
  • PushDominoContext()
  • RegisterDominoInputListenerSignal()
  • ReleaseDominoAnimatedCamera()
  • ReleaseDominoCameraContext()
  • RemoveDominoEntity()
  • RequestDominoAnimationState()
  • SetDominoCameraReference()
  • SetIsDominoAboutToStartSearchingForPortal()
  • SpawnDominoEntity()
  • StopNarrativeIntelDominoScript()
  • SwitchToOperativeInPlaceFromDomino()
  • UnregisterDominoInputListenerSignal()

AI agents, squads, patrols and spawning​

  • AddMonitorOnBuddy()
  • AddSquadAgent()
  • AgentDrawWeapon()
  • AgentDrawWeaponShootingType()
  • AgentDrawWeaponType()
  • AssignMainSquadLKPGroupName()
  • AssignMainSquadStrategy()
  • AssignPatrolToAgent()
  • AssignPatrolToAgent_v2()
  • AssignPatrolToAgent_v3()
  • AssignZoneToAgent()
  • CAIAgentManager_GetInstance()
  • CAIAgentRandomActionManager_GetInstance()
  • CBuddyAIManager_GetInstance()
  • CreateSquad()
  • EnableAIAgentZone()
  • FelonyAddScriptedAgent()
  • FelonyGetSquadName()
  • FelonyGetSquadNameFromType()
  • FelonyTakeOverScriptedAgentControl()
  • GetAIAgentsOfGroupFromLUA()
  • GetAIAgentsOfGroupFromLUA_v2()
  • GetGroupBehaviorGroupId()
  • IsSquadStarted()
  • IsSquadStopped()
  • IsSquadStopping()
  • RegisterGroupBehaviorCallback()
  • ReinforcementAddScriptedAgent()
  • ReinforcementAddScriptedAgent_v2()
  • ReinforcementAdoptScriptedAgents()
  • RemoveGroupBehaviorCallback()
  • RemoveMonitorFromBuddy()
  • RemoveSquad()
  • RemoveSquadAgent()
  • RequestPatrol()
  • SendGenericGroupBehaviorEvent()
  • SendGenericGroupBehaviorEventLegacy()
  • SetAIAgentInfiniteHunt()
  • SetAIAgentState()
  • SetAIAgentState_v2()
  • SetAIAgentState_v3()
  • SetAIAgentState_v4()
  • SetPatrolSpeed()
  • SetPatrolSpeed_v2()
  • SetSquadAgentOverrideConfig()
  • SetSquadRelationship()
  • SetSquadSupportWanderState()
  • SetTargetTagEntity()
  • SquadClearBhvParams()
  • SquadForceVanish()
  • SquadGetState()
  • SquadResetSearchOverrideParams()
  • SquadSetBhvParams()
  • SquadSetSearchOverrideParams()
  • SquadTryToCreateCombat()
  • SquadTryToCreateTargetedSearch()
  • SquadTryToCreateTargetedSearch_v2()
  • SquadTryToCreateTargetedSearch_v3()
  • SquadTryToCreateUntargetedSearch()
  • SquadTryToCreateUntargetedSearch_v2()
  • StartGroupBehavior()
  • StartGroupBehaviorWithRoles()
  • StartSquad()
  • StopSquad()
  • UnAssignPatrolToAgent()
  • UpdateBuddyAISettings()

Lua 5.1 standard library members​

These are the members of the standard library tables that the dump captured. remove() is a member of both table and os in Lua 5.1 and appears once in the source; tmpfile() likewise belongs to both os and io. The stderr, stdin and stdout entries are userdata objects, and huge, pi and _VERSION are values.

  • abs()
  • acos()
  • asin()
  • atan()
  • atan2()
  • ceil()
  • concat()
  • cos()
  • cosh()
  • create()
  • date()
  • debug()
  • deg()
  • difftime()
  • dump()
  • execute()
  • exit()
  • exp()
  • find()
  • floor()
  • flush()
  • fmod()
  • foreach()
  • foreachi()
  • format()
  • frexp()
  • getenv()
  • getfenv()
  • gethook()
  • getinfo()
  • getlocal()
  • getmetatable()
  • getn()
  • getregistry()
  • getupvalue()
  • gfind()
  • gmatch()
  • gsub()
  • huge :number: inf
  • input()
  • insert()
  • ldexp()
  • len()
  • lines()
  • log()
  • log10()
  • lower()
  • match()
  • max()
  • min()
  • mod()
  • modf()
  • open()
  • output()
  • pi :number: 3.141593
  • popen()
  • pow()
  • rad()
  • random()
  • randomseed()
  • read()
  • remove()
  • rename()
  • rep()
  • resume()
  • reverse()
  • running()
  • setfenv()
  • sethook()
  • setlocal()
  • setlocale()
  • setmetatable()
  • setn()
  • setupvalue()
  • sin()
  • sinh()
  • sort()
  • sqrt()
  • status()
  • stderr [userdata]
  • stdin [userdata]
  • stdout [userdata]
  • sub()
  • tan()
  • tanh()
  • time()
  • tmpfile()
  • tmpname()
  • traceback()
  • type()
  • upper()
  • wrap()
  • write()
  • yield()

Full name list​

All 1,414 unique entries, sorted alphabetically by name, exactly as they appear in the source. The leading dash marks a table member and the bracketed or typed entries are tables, userdata and values, as described under notation above.

AbortAICmdStandAndShoot()
AbortMission()
AbortMission_v2()
AbortMissionWithDbObj()
AbortPGTMissionArea()
AbortSetCoverFunction()
- abs()
- acos()
ActivateCinematicMode()
ActivateCLO()
ActivateDominoAnimatedCamera()
ActivateDominoCameraContext()
ActivateGameplayContext()
ActivateImmunity()
ActivateInvincibility()
- ActivateLog()
ActivateNetworkSurfing()
ActivatePlayOnBinkChannel()
AddCensusActorListener()
AddCLOEntitiesRestriction()
- AddDominoEntity()
AddExclucedEntityToRandomHackingFromPlayer()
AddHackCategoryAvailabilityOverride()
AddHackingAvailabilityOverride()
AddItem()
AddLocationListener()
- AddLuaCLOGroupMonitor()
- AddLuaProximityEntry()
- AddLuaStateLevelCheckEntry()
AddMissionWaypoint()
- AddMonitorOnBuddy()
AddNPCZone()
AddOpPersonToCLO()
AddOrRemoveAdditionalPath()
AddOrRemoveCustomPath()
AddOrRemoveRacePath()
AddPhotoDetectionTarget()
AddPhotoDetectionTargetEntity()
AddPhotoDetectionTargetEntityList()
AddPlayerTag()
AddPlayerToTeam()
AddProp()
AddRecruitNPCListener_v3()
AddRestrictedZone()
AddScriptNarrativeDelay()
AddSquadAgent()
AddStanceControlHelper()
AddTarget()
AddToCustomDrunkEffect()
AddToNormalDrunkEffect()
AgentDrawWeapon()
AgentDrawWeaponShootingType()
AgentDrawWeaponType()
AIGetSpawnedVehiclesTotal()
AISystemsController()
AllowWeaponPickup()
- AnimStartRecording()
ApplyCinemaZoneCleanup()
ApplyLoadedBufferOnChannels()
AreEntitiesLinkedTogether()
ArePlayersInOpponentTeam()
ArePlayersInSameTeam()
- asin()
assert()
AssignGlobalDynamicActor()
AssignMainSquadLKPGroupName()
AssignMainSquadStrategy()
AssignNPCOverrideConfig()
AssignPatrolToAgent()
AssignPatrolToAgent_v2()
AssignPatrolToAgent_v3()
AssignZoneToAgent()
- atan()
- atan2()
AttachAnchor()
AutoTrackLeverageOp()
BeginEnvironmentEvent()
BegingHumanProjectileThrowStateMonitoring()
Bind()
BindGameplayBeatWithEntity()
BindIconEntities()
BlockFastTravel()
Boxes [table]
BreakableEntity_NextState()
- BroadcastMessage()
- byte()
CAIAgentManager_GetInstance()
CAIAgentManager [table]
CAIAgentRandomActionManager_GetInstance()
CAIAgentRandomActionManager [table]
CalculateDistanceViaRoad()
CallBackFlyingDrone()
CallBackToyCar()
CameraHideDisconnectedAnimation()
CameraPlayDisconnectedAnimation()
CameraShakeAndGamePadRumble()
CancelAICommand()
CancelOperativeScheduleOverride()
CanRevive()
CBuddyAIManager_GetInstance()
CBuddyAIManager [table]
CDialogManager_GetInstance()
CDialogManager [table]
CDominoBoxInstance [table]
CDominoBoxResource [table]
CDominoConsoleCommandManager_GetInstance()
CDominoConsoleCommandManager [table]
CDominoDelayManager_GetInstance()
CDominoDelayManager [table]
CDominoManager_GetInstance()
CDominoManager [table]
CDominoSoundManager_GetInstance()
CDominoSoundManager [table]
CDominoTimerManager_GetInstance()
CDominoTimerManager [table]
CDominoWaterLevelManager_GetInstance()
CDominoWaterLevelManager [table]
- ceil()
CEnvironmentManager_GetInstance()
CEnvironmentManager [table]
CGameplayConversationManager_GetInstance()
CGameplayConversationManager [table]
ChangeBroadcastChannelOnEntity()
ChangeCameraControlledNavigationSettings()
ChangeGraphicKitModel()
ChangeMaterialParameter()
ChangePlayerGkModelFromHumanConfig()
ChangePlayerGkModelFromHumanConfigAndVoiceActor()
- char()
CheckIsPlayerInTeam()
ClearCinemaZoneNotRemovableEntityList()
ClearCurrentCinematicMode()
- ClearDominoEntityPool()
ClearEnvironmentWeatherOverride()
ClearGPS3DTarget()
ClearRewards()
CLivingCityManager_GetInstance()
CLivingCityManager [table]
- clock()
- close()
CloseAllStations()
CloseDoor()
CloseStationInPosition()
collectgarbage()
CollectibleDisplayCurrentStatus()
CollectibleGetCurrentAmount()
CollectibleGetItemCount()
CollectibleGetRemainingAmount()
CollectibleGetTotalAmount()
CompareHackingCategories()
CompleteVRPuzzle()
- concat()
ConnectMicrophoneToCamera()
ConnectToFlyingDrone()
ConnectToToyCar()
coroutine [table]
- cos()
- cosh()
CProximityManager_GetInstance()
CProximityManager [table]
- create()
- CreateBox()
CreateConnectionLine()
- CreateDelay()
CreateDominoDelay()
CreateDownloadGameplay_v7()
CreateDownloadGameplayWithDB()
CreateDownloadGameplayWithDB_v1()
CreateDroneBankServerPackageController()
CreateDroneDiamondPackageController()
CreateDronePackageController()
CreateDroneRegressGameplay_v1()
CreateDroneSpawnContinuouslyGameplay_v1()
CreateEscapeGameplay_v2()
CreateHackGameplay_v5()
CreateHUDDominoDelay()
CreateHUDDominoDelay_v2()
CreateInteractGameplay_v4()
CreateLocateGameplayController()
CreateNeutralizeGameplay_v2()
CreateObjectiveController()
CreateObjectiveCreator()
CreateOutlineGameplay()
CreateProtectGameplay_v3()
CreateReachGameplay_v5()
CreateReachGameplay_v6()
CreateSearchAreaController()
CreateSquad()
CreateTimeGameplay()
- CreateTimer()
CScriptCallbackSystem_GetInstance()
CScriptCallbackSystem [table]
CSector [table]
CSequenceManager_GetInstance()
CSequenceManager [table]
CTerrain_GetInstance()
CTerrain [table]
- date()
DeactivateCanExitCameraForCinematic()
DeactivateCLOForever()
DeactivateDroneCLO()
DeactivateDroneEntity()
- DeActivateLog()
DeactivateNetworkSurfing()
- debug()
debug [table]
- deg()
DestroyWrappedGameplay()
- difftime()
DisableAIlogicUseHackableGameplay()
DisableCheckpointsControllers()
DisableDebugAnnotationEntity()
DisableHackableIncredient()
DisableHackingSelector()
DisableMissionSoftQuit()
DisableSpecialBroadcastSubtitles()
DisableTakedownOnPawn()
DisableVehicleForPlayers()
DisableWeaponDrop()
DisconnectFromFlyingDrone()
DisconnectFromToyCar()
DisplayAudioFileShortcut()
DisplayConfirmationPopup()
DisplayPointOfNoReturnMessage()
DisplayUICelebrationModule()
DisposeInitialPredefinedActors()
DoCarCrash()
DoConsoleCommand()
dofile()
- DominoGetEntityAtAnchor()
- DominoGetSequenceSyncPointName()
- DominoLoopSequence()
- DominoModifySequenceEntry()
- DominoPauseSequence()
- DominoResumeSequence()
- DominoSkipSequence()
- DominoStartAtSyncPoint()
- DominoStartAtSyncPointWithMetaId()
- DominoStartSequence()
- DominoStartSequenceFromBeginning()
- DominoStartSequenceFromBeginningWithMetaId()
- DominoStartSequenceWithMetaId()
- DominoStopSequence()
DrawTextToScreen()
DummyFunction()
- dump()
EnableAIAgentZone()
EnableAIlogicUseHackableGameplay()
EnableCameraDoF()
EnableDebugAnnotationEntity()
EnableDialogs()
EnabledLockOnAssistanceTarget()
EnableFastTravel()
EnableMissionSoftQuit()
EnableMotionBlur()
EnableOpSwaps()
EnableReinforcementCalls()
EnableScriptedHackHandler()
EnableSpawner()
EnableTakedownOnCivilian()
EnableTakedownOnPawn()
EnableVehicleRadioSystemDomino()
EnableWeaponDrop()
EnableWorldSpawning()
EndAllCustomMediaBroadcasts()
EndEnvironmentEvent()
EndHumanProjectileThrowStateMonitoring()
EndMissionMusic()
EntityHasTag()
EntityHasTagCategory()
EnvironmentManagerSetWeather()
EquipAccessUniform()
EquipItem()
EquipWolfskinItemOnEntity()
error()
- Event__Debug_DrawText()
- Event__Debug_LogToConsole()
- Event__Debug_Warning()
- Event__Game_PauseSequence()
- Event__Game_PlayBinkVideo()
- Event__Game_PlaySequence()
- Event__Game_ResumeSequence()
- Event__Game_SendSimpleEvent()
- Event__Game_StopSequence()
- Event__MissionSetState()
- Event__SaveGame()
- Event__SetTimeOfDay()
- Event__SetTransitionToLowContrast()
- Event__SetWaterLevel()
- Event__SwitchCinematicCamera()
- Event__SwitchToFirstPersonCamera()
- Exec()
- execute()
ExecuteConsoleCommand()
ExecuteRewardList_V2()
ExecuteRewardList_V3()
ExecuteReward_V2()
ExecuteReward_V3()
- exit()
- exp()
ExplodeVehicle()
FailMission()
FailMission_v2()
FailOneObjective()
FelonyAddScriptedAgent()
FelonyAddVehicleExclusionZone()
FelonyCheckFelonyState()
FelonyClearBasicParams()
FelonyClearBehaviourParams()
FelonyClearChopperParams()
FelonyClearHeatParams()
FelonyClearRoadBlockParams()
FelonyClearSearchParams()
FelonyClearSWATParams()
FelonyEndChase()
FelonyEndChaseOrSearch()
FelonyEndScan()
FelonyForceSearchStart()
FelonyGetSquadName()
FelonyGetSquadNameFromType()
FelonyMuteAllSounds()
FelonyMuteEntities()
FelonyOverrideBasicParams()
FelonyOverrideBehaviourParams()
FelonyOverrideChopperParams()
FelonyOverrideHeatParams()
FelonyOverrideRoadBlockParams()
FelonyOverrideSearchParams()
FelonyOverrideSWATParams()
FelonyRemoveVehicleExclusionZone()
FelonySetHeat()
FelonyStartChase()
FelonyStartChaseObj()
FelonyStartCustomScan()
FelonyStartScan()
FelonySystemEnable()
FelonySystemSetLocalUIOnlyHeatLevel()
FelonyTakeOverScriptedAgentControl()
FieldAICmdGoTo()
- find()
FindDroneEntityFromCLO()
FixPlayerCamera()
- floor()
- flush()
- fmod()
ForceArrest()
ForceCompleteBareknuckleFight()
ForceCompleteInteraction()
ForceCranePlatformPosition()
ForceEndIOP()
ForceEnterCover()
ForceExitCover()
ForceHackIngredient()
ForceHackOff()
ForceHackOn()
ForceHideTagIndicator()
ForceInteriorOnTrain()
ForceLeverageNPC()
ForceLeverageOnNextActorWithTag()
ForceLKPForScriptedFelony()
ForceLKPOnAIEntity()
ForcePawnsVehicleStopFunction()
ForceSetCoverFunction()
ForceStartCrouch()
ForceStopCrouch()
ForceTrackingOnThisOp()
ForceUnspawnPGTMissionArea()
ForceUserOutOfCamera()
ForceUserOutOfRC()
ForceVehicleAlaram()
ForceVehicleStop()
- foreach()
- foreachi()
- format()
FreePlayerCamera()
- frexp()
GameOver()
GameStartRemoveOperative()
GameStartSwitchToOperativeInPlace()
Game [table]
gcinfo()
- GetAIAgentsOfGroupFromLUA()
- GetAIAgentsOfGroupFromLUA_v2()
GetAICommand_InvalidID()
- GetAIDronesFromLUA()
GetAIState()
GetAllEnemies()
GetBaseHealth()
GetCivilianThreatState()
GetClosestPositionOnRoadNetwork()
GetConnectedRcId()
GetCurrentGameModeName()
GetCurrentHealth()
GetCurrentOperative()
GetCurrentPlasmaSceneDuration()
GetCurrentSeat()
GetCurrentVehicleEntityId()
GetDBVariableBool()
GetDBVariableFloat()
GetDBVariableInteger()
GetDBVariableLocalizationID()
GetDBVariableSoundID()
GetDBVariableString()
- GetDelay()
GetDiamondPackageTargetId()
GetDirectlyLinkedEntities()
GetDistance2D()
GetDistance3D()
GetDownloadGameplayRemainingTime()
GetDriverID()
GetDroneRegressSpeed()
GetEnableLight()
GetEntitiesInList()
GetEntityAngle()
GetEntityBoneAngle()
GetEntityBonePosition()
GetEntityIdFromPlayerIndex()
GetEntityInPrefab()
GetEntityName()
GetEntityPosition()
- getenv()
- getfenv()
getfenv()
GetFlyingDroneId()
GetFlyingDroneStatus()
GetGameStartOperativesList()
GetGameTime()
GetGlobalDynamicActor()
GetGlobalNumber()
GetGlobalString()
GetGroupBehaviorGroupId()
- gethook()
- getinfo()
GetInvalidEntityId()
GetInvalidPlayerId()
GetIsVehicleParked()
GetItemCount()
GetItemCountAtWheelPos()
GetItemId()
GetLastDamageReason()
GetLastHitLocation()
GetLayerNameFromProgressionLayerItem()
- getlocal()
GetLocalCameraId()
GetLocalPlayerCurrency()
GetLocalPlayerEntityId()
- GetLocalPlayerId()
GetLocalPlayerId()
GetLocationState_v2()
GetMasterVariableBool()
GetMasterVariableEntityId()
GetMasterVariableFloat()
GetMasterVariableInteger()
GetMasterVariablePlayerId()
- getmetatable()
getmetatable()
GetMissionEntityName()
GetMonitoredCLOUser()
GetMostPlayedOperative()
GetMoveableEntityMovementDirection()
GetMusicID()
- getn()
GetNameFromDbObjectString()
GetNbrWheelWithContact()
GetNetworkSurfingState()
GetNetworkVariableBool()
GetNetworkVariableEntityId()
GetNetworkVariableFloat()
GetNetworkVariableInteger()
GetNetworkVariablePlayerId()
GetNoCaseStringID()
GetNPCByOpResourceName()
GetNumberOfPlayers()
GetNumberOfTeams()
GetObjectiveId()
GetObjectiveIncrement()
GetOperativeBySlotNumber()
GetOperativeIDList()
GetOperativeIDList_v2()
- GetParentEntity()
- GetParentGameplayBeatId()
- GetParentMissionId()
- GetParentOpId()
- GetParentOpIdAndGameplayBeatIdAsAJSONString()
GetPawnHealthPercentage()
GetPawnIdFromPlayerId()
GetPawnInstigator()
GetPawnIsPassenger()
GetPersistentInt()
GetPersistentInt_OpScope()
GetPlatformIndex()
GetPlayerIdFromPawnId()
GetPlayerIdFromPlayerIndex()
GetPlayerNameDebug()
GetPlayerTeam()
GetPlayerVariableBool()
GetPlayerVariableEntityId()
GetPlayerVariableFloat()
GetPlayerVariableInteger()
GetPlayerVariablePlayerId()
GetProgressionTagId()
GetProgressionUpgradeLevel()
GetProjectileItemId()
GetRCEntityFromRCJumperDock()
GetRCUser()
- getregistry()
GetReticleHitEntity()
GetReticleHitLocation()
GetRuleSmithBool()
GetRuleSmithFloat()
GetRuleSmithInt()
GetSeatEntryPos()
- GetSector()
GetSecurityCameraUser()
- GetSequenceDominoName()
GetSequenceManager()
GetStringID()
GetTalkerType()
GetTeamFromIndex()
GetTeamPlayerCount()
GetTeamPlayerFromIndex()
- GetTime()
GetTimeOfDayHour()
GetTimeOfDayMinute()
GetToyCarId()
GetToyCarStatus()
GetTriggerComponentContacts()
- getupvalue()
GetVehicleHealthPercentage()
GetVehicleIsDriveable()
GetVehicleReliabilityFactor()
GetVehicleSpeed()
GetVehicleSpeedStatTime()
GetVehicleValue()
GetVehicleValuePercentage()
GetWeather()
- gfind()
Globals [table]
- gmatch()
- GoToMonitoredCLO()
GoToMonitoredCLO()
GoToPosUnspawn()
GoToUnspawn()
- gsub()
_G [table]
HackerspaceAssignOperatives()
HackingRequestSendIsHackableEvent()
HasAccessUniformEquipped()
HasCensusTag()
HasMasterVariable()
HasMediaSystemChannelLoopedOnce()
HasNetworkVariable()
HasPersistentInt()
HasPersistentInt_OpScope()
HasPlayerTag()
HasPlayerVariable()
HasProgressionTag()
HasSecurityCameraDetectedPlayer()
HideAllTrainActivities()
HideCameraClippedEntity()
HideChat()
HideEntity()
HideFakeContactCard()
HideHUDTip()
HideHUDTutorial()
HideLivingCityInTrains()
HideMarker()
HideMissionModuleIdLocalPlayer_v3()
HideProfilingPath()
HideTutorialMenuHint()
HideUserInCar()
HideWarningMessage()
- huge :number: inf
IncrementAchievementStat()
IndicatorSetColor()
IndicatorSetIsVisible()
IndicatorSetLocNameId()
IndicatorSetName()
- input()
- insert()
InterpolateEntityPosition()
InterpolateLookAtEntity()
InventoryWheel_DisableDefaultActionMap()
InventoryWheel_EnableDefaultActionMap()
io [table]
ipairs()
IsAccessCodeAcquired()
IsActiveInputPC()
IsAlive()
IsBroadcastBufferLoaded()
IsCloseFromSeatEntryPoint()
IsCLOValidForDomino()
IsConversationInteractionAllowed()
IsCraneRopeBroken()
IsCurrentGen()
IsDead()
IsDetectionAlertFull()
IsDetectionAlertStarted()
IsDetectionAlertStopped()
IsDetectionUnawareFull()
IsDetectionUnawareStarted()
IsEntityBeingProfiled()
IsEntityInVehicle()
IsEntityLinked()
IsEntityLoaded()
IsEntityValid()
IsFullyProfiled()
IsGateBlocked()
IsInitialSpawnDone()
IsInstallPackageGlobalInstalled()
IsInteractionUserRcVehicle()
IsInventoryItemInWheel()
IsLoadingScreenDisplayed()
IsLookAtTriggerInsideFOV()
IsMissionPlayed()
IsMissionTracked()
IsMoveableEntityBlocked()
IsMoveableEntityMoving()
IsMoveableEntityPaused()
IsNarrativePlayingInTheQueue()
IsOpTracked()
- IsPaused()
IsPawnOnCranePlatform()
IsPlasmaPhoneCommunication()
IsPlayerLocal()
IsPlayerPawnLocal()
IsRelicFound()
- IsScriptAutorunEnabled()
IsSearchingForPortal()
IsSecurityCameraHostile()
IsSpawnerEnabled()
IsSquadStarted()
IsSquadStopped()
IsSquadStopping()
IsTargetEntityTagged()
IsVehicleEmpty()
IsWorldSpawningEnabled()
IsWounded()
LanesRestrictionsControl()
LaunchOpSwapMenu()
- ldexp()
LeaveMissionWithDbObj()
- len()
LineOfSightMonitorEnable()
- lines()
LinkEntities()
load()
LoadCustomMediaBroadcastConfig()
loadfile()
LoadHighResArea()
LoadLastCheckpoint()
LoadLMALayer()
LoadMissionLayer3()
- LoadResource()
LoadStandaloneLayer()
loadstring()
LocalPlayerConflictRequest()
LockPlayerActionMap()
- log()
- log10()
LogConsole()
- lower()
MakeRCEntityCallBackAvailable()
MakeRCEntityDisconnectAvailable()
- match()
math [table]
- max()
- maxn()
MediaSystemSetPaused()
MediaSystemStartBroadcast()
MediaSystemStopBroadcast()
MediaSystemStopCurrentBroadcast()
MenuClosed()
- min()
MissionAreaActivation()
MissionCheckpoint()
MissionCheckpoint_v2()
Mission [table]
- mod()
- modf()
ModifyBulletsInClip()
ModifyDamageReceivedByEntity()
module()
- __nativedata [userdata]
newproxy()
next()
- open()
OpenDoor()
OpenMenuPage()
OpenMenuPage2()
OperatorManagerAutoMarkApp()
Op_GetDGSceneCLO()
Op_GetDGSceneEntities()
Op_GetDGSceneEntity()
os [table]
- output()
OverrideMeleeConfig()
OverrideOperativeScheduleToCityLocation()
package [table]
pairs()
ParallelScriptLock()
PathID()
- Pause()
PauseBink()
- PauseConvoFromLUA()
PauseWhileLoading()
pcall()
PersistentGlobals [table]
PGTGetSpawnedAiEntities()
Pickup()
- pi :number: 3.141593
PlayBinkVideoFileWithSubtitleV3()
PlayBinkVideoFileWithSubtitleV4()
PlayBinkVideoFileWithSubtitleV5()
- PlayConvoFromLUA()
- PlayConvoOnEntityListFromLUA()
PlayCrowdAnimation()
- PlayDialogWithSubtitle()
- PlayDialogWithSubtitle_v2()
- PlayDialogWithSubtitle_v3()
PlayDominoDialogControlFacial()
PlayDominoDialogControlFacial_v2()
PlayerActiveScriptMaskControl()
PlayerFailForwardController()
PlayerIsDoingAction()
PlayerRespawnBehaviorController()
PlayerRespawnBehaviorController_v2()
PlayMusicComponentSong()
PlayPrioritySong()
- PlaySound()
- PlaySound_v2()
- popen()
PopEnvironmentWeatherOverride()
PopPlayerActionMap()
PostGameOver()
- pow()
PreventWeaponPickup()
print()
Profiler_SendStatus()
PushDominoContext()
PushEnvironmentWeatherOverride()
PushIntoFirstPerson()
PushPlayerActionMap()
PushTokenFloat()
PushTokenInteger()
PushTokenOasisId()
PushTokenPlayerName()
PushTokenString()
PutPlayerInVehicle()
PutToSleepDroneCLO()
PutToSleepDroneEntity()
- QueueCommandEventToEntity()
- QueueCommandEventToEntity2()
- rad()
- random()
- randomseed()
rawequal()
rawget()
rawset()
- read()
RealignCameraBehind()
RecruitmentIntelActivate()
RecruitmentIntelGetEntity()
RefreshWorld()
RegisterAmmoCountBelowThresholdCallback()
- RegisterBox()
RegisterCharacterAbilityMonitorEvent()
RegisterCinemaZoneNotRemovableEntity()
- RegisterCLOCallback()
RegisterCLOEntityToGameplayBeat()
- RegisterConsoleCommand()
- RegisterDominoInputListenerSignal()
- RegisterEntityListForGameplayReadyCallback()
- RegisterEventCallback()
- RegisterGlobals()
- RegisterGroupBehaviorCallback()
RegisterIOPnpc()
- RegisterLibrary()
- RegisterMasterVariableCallback()
- RegisterMessageListener()
- RegisterMissionEventCallback()
- RegisterMissionNoEntityCallback()
RegisterMobTarget()
- RegisterNetworkVariableCallback()
- RegisterNoEntityCallback()
- RegisterNonRepeatableConversationPlayedCallback()
RegisterObjectiveCompletedScriptCallback_v2()
RegisterObjectiveUpdatedScriptCallback()
RegisterOnHideObjectiveCompletedScriptCallback_v2()
- RegisterOnRemoveCallback()
RegisterOnShowObjectiveCompletedScriptCallback_v2()
- RegisterOnSpawnCallback()
RegisterPersonOfInterest()
RegisterPlayableOperativesCountRequest()
RegisterPlayerAttention()
- RegisterPlayerEventCallback()
- RegisterPlayerVariableCallback()
RegisterReinforcementCaller()
RegisterReward()
RegisterRewardList()
RegisterRewardList_V2()
RegisterReward_V2()
- RegisterTagCallback()
RegisterVehicleForDamageBarUpdate()
ReinforcementAddScriptedAgent()
ReinforcementAddScriptedAgent_v2()
ReinforcementAdoptScriptedAgents()
ReinforcementCheckState()
ReinforcementCheckState_v2()
ReinforcementFixLocation()
ReinforcementIncrementWave()
ReinforcementReleaseLocation()
ReinforcementRepeatWave()
ReinforcementSetReinforcementTarget()
ReinforcementStartReinforcing()
ReinforcementStartReinforcing_v2()
ReinforcementStartReinforcing_v3()
ReinforcementStartReinforcing_v4()
ReinforcementStartReinforcing_v5()
ReinforcementStartReinforcing_v6()
ReinforcementStopAllReinforcements()
ReinforcementStopReinforcing()
ReinforcementStopReinforcing_v2()
ReinforcementStopReinforcing_v3()
ReinforcementStopReinforcing_v4()
ReinforcementStopReinforcing_v5()
ReinforcementTriggerScriptedFlee()
ReleaseDominoAnimatedCamera()
ReleaseDominoCameraContext()
ReloadMediaSystemService()
ReloadWeaponPlayer()
- remove()
RemoveAllStanceControlHelper()
RemoveAmmoCountBelowThresholdCallback()
RemoveBlackScreen()
- RemoveCallback()
- RemoveCallbacks()
RemoveCensusActorListener()
RemoveCinematicSceneEntity()
- RemoveCLOCallback()
- RemoveCommandEventToEntity()
RemoveDataDriveItem()
- RemoveDelay()
- RemovedLuaStateLevelCheckEntry()
- RemoveDominoEntity()
RemoveEntity()
RemoveEntityFromContactList()
RemoveFluidPointOfInterest()
RemoveGameplayBeatLoadingScreen()
- RemoveGroupBehaviorCallback()
RemoveHackCategoryAvailabilityOverride()
RemoveHackingAvailabilityOverride()
RemoveImmunity()
RemoveInvincibility()
RemoveItem()
RemoveLoadingScreen()
RemoveLocationListener()
- RemoveLuaCLOGroupMonitor()
- RemoveMasterVariableCallback()
- RemoveMissionCallback()
RemoveMissionWaypoint()
- RemoveMonitorFromBuddy()
- RemoveNetworkVariableCallback()
- RemoveNoEntityCallback()
RemoveNPCZone()
RemovePhotoDetectionTarget()
- RemovePlayerEventCallback()
RemovePlayerFromTeam()
RemovePlayerTag()
- RemovePlayerVariableCallback()
RemoveProp()
- RemoveProximityEntry()
RemoveRecruitNPCListener()
RemoveRestrictedZone()
RemoveSquad()
RemoveSquadAgent()
- RemoveTagCallback()
RemoveTarget()
- RemoveTimer()
- rename()
- rep()
RequestBoroughUprisingMapSequenceV3()
RequestBoroughUprisingMapSequenceV4()
RequestClosePhotoCamera()
RequestDominoAnimationState()
- RequestFollow()
RequestFreeFormText()
RequestHackingPortal()
- RequestIdle()
- RequestPatrol()
RequestPlayTrigger()
RequestTrainInPosition()
RequestUseSoftware()
require()
ReserveAndMoveToSeat()
ReserveAndUseSeat()
ResetAllCollectibleData()
ResetCameraPosition()
ResetClimbInteractionAllowedOverride()
ResetCLO()
ResetCombatAllowedOverride()
ResetCoverAllowedOverride()
ResetCoverToCoverAllowedOverride()
ResetCrouchAllowedOverride()
ResetCurrentSpawnPoint()
ResetCurrentSpawnPoint2()
ResetDrunk()
ResetKeyIntel()
ResetLocalPlayerPhoneMaterialOverrideByIdx()
ResetMaterialOverrideByIdx()
ResetPlayerMaxLocomotionSpeedTypeOverride()
ResetProfilerInfoFilter()
ResetProfilerInfoId()
ResetScriptedHackHandler()
ResetToProgressionState()
- ResetVisibleGIGroup()
ResetVRPuzzle()
ResetWolfskinItemOnEntity()
- resume()
- Resume()
ResumeBink()
- ResumeConvoFromLUA()
ResumeProcessingInputs()
RetrieveHackableCiviliansAround()
- reverse()
- RTDefoliant()
- RTGenesis()
- RTRegen()
- RTSetWindForce()
- RunBatch()
- running()
SaveAudioFiles()
ScriptUIIncrementCompletion()
ScriptUIMainObjectiveUpdate()
ScriptUIMissionAbort_v2()
ScriptUIMissionFail_v2()
ScriptUIMissionSuccess_v2()
ScriptUIObjectiveHide()
ScriptUIObjectiveSuccess()
ScriptUISubObjectiveUpdate()
SecurityCameraForceEnter()
select()
SelectReadyToDrawWeapon()
SendActivateAlarmEvent()
SendAICmdBHVstate()
SendAICmdBHVstateV2()
SendAICmdSetCombat()
SendAICmdSetCombatTarget()
SendAICmdStandAndShoot()
SendAICommand_Aim()
SendAICommand_FollowTarget()
SendAICommand_Goto()
SendAICommand_GotoPos()
SendAICommand_LookAt()
SendAICommand_PickAndShootNPC()
SendAICommand_PlayAnim()
SendAICommand_SetLKP()
SendAICommand_ShootAt()
SendCinemaZoneCleanupEvent()
- SendCommand()
- SendCommandEventToEntity()
- SendCommandEventToEntity2()
SendCustomActionRequest()
SendDamageToEntity()
SendDamageToEntity_v2()
SendDectivateAlarmEvent()
SendForceState()
SendGenericGroupBehaviorEvent()
SendGenericGroupBehaviorEventLegacy()
SendIOPEvent()
SendIsAlarmActivatedEvent()
SendPhysZoneCleanupEvent()
- SendRegisteredEventToEntity()
SendSimpleEntityEvent()
SetAchievement()
SetAchievementStat()
SetAIAgentInfiniteHunt()
SetAIAgentState()
SetAIAgentState_v2()
SetAIAgentState_v3()
SetAIAgentState_v4()
SetARReconstructionOpacity()
SetBagleyHackActive()
SetBlockLinksToInGameMenu()
SetBlockShortcuts()
SetBloodSplatterOverlayEnabled()
SetCameraMonitorPlayerBlurIntensity()
SetCameraMonitorPlayerBlurLockedByScript()
SetCanBeDetected()
SetCanHideInVehicle()
SetCanRevive()
SetCanUpdateMovementWithoutPhysics()
SetCharacterAbilitiesEnabled()
SetCharacterWheelEnabled()
SetClimbInteractionAllowedOverride()
SetCombatAllowedOverride()
SetConversationInteractionAllowed()
SetConversationInteractionSettings()
SetCoverAllowedOverride()
SetCoverToCoverAllowedOverride()
SetCraneCanMove()
SetCrouchAllowedOverride()
SetCurrentSpawnPoint()
SetCurrentSpawnPoint2()
SetCurrentSpawnPointType()
SetCurrentUIMissionsAppVillainViewData()
SetCustomOasisIdForProximityTriggerId()
SetDebugAnnotationEntityShapeColor()
SetDebugAnnotationEntityShapeColorAlpha()
SetDebugAnnotationEntityText()
- SetDelay()
SetDensityContextOverride()
SetDisableOnlyTakedownOnPawn()
SetDominoCameraReference()
SetDoorLockState()
SetDownloadGameplayPaused()
SetDownloadGameplaySpeedCoef()
SetEmoteWheelEnabled()
- SetEnableAmbiance()
SetEnableLight()
SetEnablePickup()
SetEngagementState()
SetEntityAngle()
SetEntityIsIntel()
SetEntityOffset()
SetEntityPosition()
SetFaceMaskAllowed()
- setfenv()
setfenv()
SetFluidPointOfInterest()
SetFlyingDroneAvailable()
SetFlyingDroneCannotDeploy()
SetFollowMarkerText()
SetFollowSpeed()
SetForceAiming()
SetGateBlocked()
SetGPS3DTarget()
SetGraphicObjectIntensity()
SetGridShading()
SetHackable()
SetHackableNoText()
SetHackableOverrideHackingText()
SetHackOccludable()
SetHacksPermissions()
SetHandsInPocketsAllowed()
- sethook()
SetHubLocked()
SetIconClampMode()
SetIconOffsetForProximityTrigger()
SetIconVisible()
SetIgnorePlayerSignal()
SetInteractionScriptState()
SetInVehicleCamera()
SetInvincibility()
SetIOPPropStateIndex()
SetIsDominoAboutToStartSearchingForPortal()
SetIsSecurityCamExitBlockedForPlayer()
SetItem()
SetItemInAWheelSlot()
SetKeyIntelId()
SetKeyIntelIdInvasion()
- setlocal()
- setlocale()
SetLocalPlayerClothing()
SetLocalPlayerPhoneMaterialOverrideByIdx()
SetLocationState_V1()
SetLRShadowHighPriorityNearDistance()
SetMapMarkerPopUpData()
SetMapMarkerPopUpDataWithMissionId()
SetMasterVariableBool()
SetMasterVariableEntityId()
SetMasterVariableFloat()
SetMasterVariableInteger()
SetMasterVariablePlayerId()
SetMaterialOverrideByIdx()
- SetMaxFrameRate()
- setmetatable()
setmetatable()
SetMinimapContextOverride()
- SetMinimumPlayablePriority()
SetMissionAreaDrawType()
SetMissionAreaMission()
SetMissionAreaObjectiveEnteringArea()
SetMissionAreaObjectiveExitingArea()
SetMissionAreaRadius()
SetMissionAreaShapeType()
- setn()
SetNetworkVariableBool()
SetNetworkVariableEntityId()
SetNetworkVariableFloat()
SetNetworkVariableInteger()
SetNetworkVariablePlayerId()
SetNoInteractionTextForProximityTriggerId()
SetOperativeAvailable()
SetOperativeUnavailable()
SetOperatorManagerAutoMarkMode()
SetOperatorManagerAutoMarkModeWithNpcName()
SetPatrolSpeed()
SetPatrolSpeed_v2()
SetPawnImmuneToDeath()
SetPersistentInt()
SetPersistentInt_OpScope()
SetPersistentWithMissionLayerOnDeath()
SetPGTEnabled()
SetPhoneCallState()
SetPhysicsEnabled()
SetPlayerActionMap()
SetPlayerMaxLocomotionSpeedTypeOverride()
SetPlayerVariableBool()
SetPlayerVariableEntityId()
SetPlayerVariableFloat()
SetPlayerVariableInteger()
SetPlayerVariablePlayerId()
SetPriorityTarget()
SetProfilerDisabled()
SetProfilerInfoFilter()
SetProfilerInfoId()
SetProfilerlessTaggingEnabled()
SetProfilerOn()
SetProfilingEnabled()
SetProjectedCloudsIntensity()
SetRecruitmentTalkersInhibition()
SetRespawnStrategyNearDeathSpot()
SetRespawnStrategyNearDeathSpot2()
SetRespawnStrategyNearEntity()
SetRespawnStrategyNearEntity2()
SetSafeDriving()
SetSecurityCamCanEnter()
SetSecurityCamForceDisableFelony()
SetSecurityCamFriendly()
SetSecurityCamHostile()
SetSecurityCamInitialTarget()
SetSlomoFactor()
SetSpawningDelayOverride()
SetSpotlightBehavior()
SetSquadAgentOverrideConfig()
SetSquadRelationship()
SetSquadSupportWanderState()
SetTaggerComponentStatus()
SetTargetTagEntity()
SetTimeInStationOverride()
SetTimeOfDayHourAndMinute()
SetTimeScale()
SetToyCarAvailable()
SetToyCarCannotDeploy()
SetTraitTracked()
- setupvalue()
SetVehicleAlarmHackable()
SetVehicleChaseCheats()
SetVehicleLockState()
SetVehicleTintedWindows()
SetVisibility()
- SetVisibleGIGroupBit()
- SetWaterLevel()
SetWolfskinMaterialColorParameter()
ShowCameraClippedEntity()
ShowCredits()
ShowEntity()
ShowFakeContactCard()
ShowFullscreenTutorial()
ShowGameClock()
ShowHealthBar()
ShowHUDTip()
ShowHUDTutorial()
ShowInstallPackageGlobalProgressDialog()
ShowMarker()
ShowMissionModuleIdLocalPlayer_v3()
ShowProfilingPath()
ShowRaidLogMessage()
ShowTextSubtitleFunction()
ShowTutorialMenuHint()
ShowWarningMessage()
ShutdownVehicleEngine()
- sin()
- sinh()
SmartphoneActivateOverride()
SmartphoneAppSetAvailable()
SmartphoneAppSetHidden()
SmartphoneAppSetInstalled()
SmartphoneAppSetNew()
SmartphoneClearOverride()
SmartphoneGetAppId()
SmartphoneIsAppInstalled()
SmartphoneIsAppOpened()
SmartphoneIsOpened()
- sort()
SpawnAIVehicleAndPassengerOnRoad()
- SpawnDominoEntity()
SpawnEntityFromArchetype()
SpawnFieldAI()
SpawnNPC()
- sqrt()
SquadClearBhvParams()
SquadForceVanish()
SquadGetState()
SquadResetSearchOverrideParams()
SquadSetBhvParams()
SquadSetSearchOverrideParams()
SquadTryToCreateCombat()
SquadTryToCreateTargetedSearch()
SquadTryToCreateTargetedSearch_v2()
SquadTryToCreateTargetedSearch_v3()
SquadTryToCreateUntargetedSearch()
SquadTryToCreateUntargetedSearch_v2()
- Start()
StartAfterRain()
StartARLoadingScreen()
StartAutonomousVehicleFleeBehavior()
StartBareKnuckleArena()
StartBink()
StartCameraAnimatedShake()
StartCameraControlledNavigation()
StartCameraLock()
StartCameraShake()
StartCivilianLookAt()
StartConvoy()
StartEmptyRoomIOP()
StartEntityHighlight()
StartEntityNetHackHighlight()
StartFleeBehavior()
StartFleeShooting()
StartFloatingVehicleBhv()
StartFluidEffector()
StartFollow()
StartGroupBehavior()
StartGroupBehaviorWithRoles()
StartHelicopterBhv()
StartInitialOperativeSwapScreen()
- StartInteractionFromLUA()
StartIOP()
- StartMetaSequence()
StartMissionMusic()
StartOnFootFleeBehavior()
StartOverrideRandomizedWeather()
StartPGTMissionArea()
StartPhoneCall()
StartPhoneCallChat()
StartPhoneCallEmail()
StartPhoneCallId()
StartPlasmaPhoneCommunication_EvenInBareknuckle()
StartPlasmaPhoneCommunicationV2()
StartPlasmaScene()
StartPostFxOnPlayer()
StartProgressBar()
StartRadioBroadcast()
StartRandomHackingFromPlayer()
StartSoundMixingFromLua()
StartSpeedCheckChallenge()
StartSquad()
StartTimeLapse()
StartVehicleBhv()
StartVehicleMovingTimer()
StartVehicleSpeedStats()
StartVRPuzzle()
- status()
- stderr [userdata]
- stdin [userdata]
- stdout [userdata]
SteamPipeExplode()
StopAfterRain()
StopAutonomousVehicleFleeBehavior()
StopBenchmark()
StopBink()
StopBinkVideo()
StopCameraControlledNavigation()
StopCameraLock()
StopCameraShake()
- StopConvoFromLUA()
StopConvoy()
StopEntityHighlight()
StopEntityNetHackHighlight()
StopFleeBehavior()
StopFloatingVehicleBhv()
StopFluidEffector()
StopFollow()
StopHelicopterBhv()
- StopInteraction()
StopIOP()
StopLocateGameplayController()
StopMADScene()
- StopMetaSequence()
StopMissionWithDbObj()
StopMusicComponentSong()
StopNarrativeIntelDominoScript()
StopOnFootFleeBehavior()
StopOutlineGameplay()
StopOverrideRandomizedWeather()
StopPhoneCall()
StopPhoneCommunication()
StopPlasmaPhoneCommunication()
StopPostFxOnPlayer()
StopPrioritySong()
StopProgressBar()
StopRandomHackingFromPlayer()
StopScriptNarrativeDelay()
StopSearchAreaController()
StopSoundMixingFromLua()
StopSquad()
StopTimeLapse()
StopVehicleBhv()
StopVehicleSpeedStats()
string [table]
StunAIEntity()
- sub()
SucceedMission()
SucceedMission_v2()
SwitchLocalPlayerInventory()
SwitchLocalPlayerInventoryList()
SwitchLocalPlayerInventoryToEmpty()
SwitchLocalPlayerInventoryToNormal()
SwitchToOperativeInPlaceFromDomino()
SynchSoundAndBink()
SynchSoundAndBinkV2()
System [userdata]
table [table]
- tan()
- tanh()
TeleportEntity()
TeleportPlayerInsideHMA()
TeleportPlayerInsideHMA_v2()
TeleportPlayerOutsideHMA()
TeleportToSpawnPoint()
TeleportToSpawnPoint_v2()
TeleportToSpawnPoint_v3()
TerminateMissionSequenceWithDbObj()
TestDbObjectEngineFunction()
- time()
- tmpfile()
- tmpname()
ToggleFeaturesForNarrative()
ToggleRangeCheck()
tonumber()
tostring()
- traceback()
- TraceConnection()
- TraceError()
TriggerChatLine()
TriggerCLOBhvOnMonitoredCLO()
TriggerComponentContactsCheckNow()
TriggerInitialCtosDatabaseSpawn()
TriggerInitialSpawn()
TriggerIOPKickOut()
TriggerQuitCLOOnMonitoredCLO()
TriggerRespawnLocalPlayer()
TriggerRuleSmithRule()
TryTriggerHack()
TurnAllVehicleLightAndSirenOff()
- type()
type()
UnAssignNPCOverrideConfig()
UnAssignPatrolToAgent()
UnassignVehicleSeat()
UnBind()
UnbindGameplayBeatWithEntity()
UnBindIconEntities()
UnderwaterEntityMonitorEnable()
UnlinkEntities()
UnloadHighResArea()
UnloadLMALayer()
UnloadMediaSystemService()
UnloadMissionLayer3()
UnloadMissionLayer4()
UnlockAndBuyCarOnDemand()
UnlockAudioFile()
UnlockPlayerActionMap()
unpack()
UnregisterCharacterAbilityMonitorEvent()
UnregisterCLOEntityToGameplayBeat()
- UnregisterConsoleCommand()
- UnregisterDominoInputListenerSignal()
- UnregisterEntityListForGameplayReadyCallback()
UnregisterIOPnpc()
- UnregisterMessageListener()
UnregisterObjectiveCompletedScriptCallback_v2()
UnregisterObjectiveUpdatedScriptCallback()
UnregisterOnHideObjectiveCompletedScriptCallback_v2()
UnregisterOnShowObjectiveCompletedScriptCallback_v2()
UnRegisterOpPersonToCLO()
UnregisterPersonOfInterest()
UnregisterPlayableOperativesCountRequest()
UnregisterPlayerAttention()
UnregisterReinforcementCaller()
UnregisterVehicleForDamageBarUpdate()
UnspawnAllPedestriansInRadius()
UnspawnReleasedProjectiles()
UnspawnRestricted()
- UpdateBuddyAISettings()
UpdateConvoy()
UpdateProgressBarPausedState()
- upper()
UsePausedMissionLayerLoading()
UseSelectedIngredient()
ValidateOneObjective()
VehicleForceFakeFollow()
VehicleLightAndSiren()
VehicleRestrictedZone()
VerifyVehicleSlowEnoughToExit()
_VERSION :string: Lua 5.1
VideoPlayerStart()
VideoPlayerStop()
VRSetAsAlarm()
WaitForProgressionLayerToLoad()
WaitForProgressionLayerToLoadUnregister()
WaitForQualities()
WaitForQualitiesLoaded()
WaitForStandaloneLayerToLoad()
WaitForStandaloneLayerToLoadUnregister()
WakeUpCLOMonitored()
WakeUpDroneCLO()
WakeUpDroneEntity()
- wrap()
- write()
xpcall()
- yield()

Closing note​

This page is a name inventory. It records what exists in Watch Dogs: Legion's script environment, not how to call it. Argument shapes, types, return values and call-side rules have to come from the game's own scripts, from script bytecode, or from a decompiler. Treat every name here as a lead worth searching for in those sources, not as a working API.