skip to content
Frictional Game Wiki
User Tools
Register
Log In
Site Tools
Search
Tools
Show pagesource
Old revisions
Backlinks
Recent Changes
Media Manager
Sitemap
Log In
Register
>
Recent Changes
Media Manager
Sitemap
Trace:
•
hps_api.hps
Sidebar
HPL1 Documentation
Documentation
Third Party Tools
Tutorials
Getting started document
Projects using the HPL engine
HPL2 Documentation
Amnesia – The Dark Descent
Amnesia – A Machine For Pigs
Resources
Third Party Tools
Tools
Tutorials
HPL3 Documentation
3rdparty
Community
engine
game
tools
tutorials
hpl3:game:scripting:function_reference:hps_api
Table of Contents
hps_api.hps
GetBase
CharBody_GravityCollide
CharBody_HitGround
LoadUserConfig
SaveUserConfig
OnMapEnter
OnMapLeave
CreateWorldEntities
DestroyWorldEntities
OnEnterState
OnLeaveState
Reset
Update
PostUpdate
OnAction
OnAnalogInput
OnExitPressed
AllowBuoyancy
DrawDebugOutput
OnDraw
OnEnterContainer
OnLeaveContainer
PreloadData
OnUnderwaterEffectActive
GetCharacterState
SetCharacterState
SetupStartPos
VariableUpdate
OnPostRender
AppGotInputFocus
AppLostInputFocus
SetupAfterLoad
BeforeEntityDestruction
ResetProperties
OnSetActive
SetupCharBody
OnStart
OnDestroy
SetupAfterLoad
CreateGamepadProfiles
CreateInputLayoutMapping
LoadKeyConfig
SetDefaultData
cMath_Sin
cMath_Cos
cMath_Tan
cMath_ASin
cMath_ACos
cMath_ATan
cMath_ATan2
cMath_Log
cMath_Pow
cMath_Sqrt
cMath_RandRectl
cMath_RandRectf
cMath_RandRectVector2f
cMath_RandRectVector3f
cMath_RandRectColor
cMath_Randomize
cMath_FastRandomFloat
cMath_RandomCircleEdgePoint
cMath_GetBit
cMath_SetBitFlag
cMath_GetBitFlag
cMath_ExpandAABBMin
cMath_ExpandAABBMax
cMath_CheckRectIntersection
cMath_CheckRectIntersection
cMath_CheckRectIntersection
cMath_CheckRectIntersection
cMath_CheckPointInRectIntersection
cMath_CheckRectFit
cMath_CheckRectFit
cMath_GetClipRect
cMath_CheckPointInSphereIntersection
cMath_CheckSphereIntersection
cMath_CheckAABBIntersection
cMath_CheckAABBInside
cMath_CheckPointInAABBIntersection
cMath_CheckBVIntersection
cMath_CheckPointInBVIntersection
cMath_GetNormalizedClipRectFromBV
cMath_GetClipRectFromNormalizedMinMax
cMath_GetClipRectFromBV
cMath_GetClipRectFromSphere
cMath_CheckSphereLineIntersection
cMath_CheckAABBLineIntersection
cMath_CheckAABBSphereCollision
cMath_RoundToInt
cMath_RoundToInt
cMath_RoundToInt
cMath_Round
cMath_RoundFloatToDecimals
cMath_GetFraction
cMath_Modulus
cMath_ToRad
cMath_ToDeg
cMath_Log2ToInt
cMath_Pow2
cMath_IsPow2
cMath_Wrap
cMath_Clamp
cMath_Clamp
cMath_Max
cMath_Min
cMath_Max
cMath_Min
cMath_Abs
cMath_Abs
cMath_Sign
cMath_Sign
cMath_GetAngleDistance
cMath_GetAngleDistanceRad
cMath_GetAngleDistanceDeg
cMath_GetAngleDistanceVector2f
cMath_GetAngleDistanceVector2fRad
cMath_GetAngleDistanceVector2fDeg
cMath_GetAngleDistanceVector3f
cMath_GetAngleDistanceVector3fRad
cMath_GetAngleDistanceVector3fDeg
cMath_TurnAngle
cMath_TurnAngleRad
cMath_TurnAngleDeg
cMath_InterpolateLinear
cMath_InterpolateCosine
cMath_InterpolateSigmoid
cMath_InterpolateCubic
cMath_InterpolateHermite
cMath_GetCorrectSignOfSpeed
cMath_IncreaseTo
cMath_SigmoidCurve
cMath_Easing
cMath_Vector2Dist
cMath_Vector2DistXY
cMath_Vector2DistXZ
cMath_Vector2DistYZ
cMath_Vector2DistSqr
cMath_Vector2DistSqrXY
cMath_Vector2DistSqrXZ
cMath_Vector2DistSqrYZ
cMath_Vector2Dot
cMath_Vector2IncreaseTo
cMath_GetAngleFromPoints2D
cMath_GetVectorFromAngle2D
cMath_GetAngleFromVector
cMath_ProjectVector2D
cMath_Vector2CatmullRom
cMath_Vector2Floor
cMath_Vector2Ceil
cMath_Vector2Abs
cMath_Vector2Min
cMath_Vector2Max
cMath_Vector2Normalize
cMath_Vector2ToRad
cMath_Vector2ToDeg
cMath_Vector2Rotate
cMath_Vector2MinElement
cMath_Vector2MaxElement
cMath_Vector3MaxLength
cMath_Vector3MinLength
cMath_Vector3ClampLength
cMath_Vector3ToRad
cMath_Vector3ToDeg
cMath_Vector3AngleDistance
cMath_Vector3AngleDistanceRad
cMath_Vector3AngleDistanceDeg
cMath_Vector3Floor
cMath_Vector3Ceil
cMath_Vector3Abs
cMath_Vector3Min
cMath_Vector3Max
cMath_Vector3MinElement
cMath_Vector3MaxElement
cMath_Vector3Normalize
cMath_Vector3DistSqr
cMath_Vector3Dist
cMath_GetAngleFromPoints3D
cMath_Vector3Cross
cMath_Vector3Dot
cMath_Vector3Project
cMath_Vector3ProjectOnPlane
cMath_Vector3Reflect
cMath_Vector3Angle
cMath_Vector3UnProject
cMath_Vector3ClampToLength
cMath_Vector3IncreaseTo
cMath_Vector3OrthonormalizeBasis
cMath_Vector3SphereSurfacePoint
cMath_Vector3CatmullRom
cMath_GetSphericalCoordsFromPoint3D
cMath_GetPoint3DFromSphericalCoords
cMath_PlaneDot
cMath_PlaneParallel
cMath_TransformPlane
cMath_PlaneToPointDist
cMath_PlaneIntersectionPoint
cMath_CheckPlaneLineIntersection
cMath_CheckPlaneSphereCollision
cMath_CheckPlaneAABBCollision
cMath_CheckPlaneAABBCollision
cMath_CheckPlaneBVCollision
cMath_QuaternionLerp
cMath_QuaternionNlerp
cMath_QuaternionSlerp
cMath_QuaternionDot
cMath_QuaternionMul
cMath_QuaternionMatrix
cMath_QuaternionEuler
cMath_QuaternionNormalize
cMath_QuaternionConjugate
cMath_QuaternionInverse
cMath_MatrixSlerp
cMath_MatrixMul
cMath_MatrixMul
cMath_MatrixMul3x3
cMath_MatrixMulDivideW
cMath_MatrixMulScalar
cMath_MatrixRotateXYZ
cMath_MatrixRotateXZY
cMath_MatrixRotateYXZ
cMath_MatrixRotateYZX
cMath_MatrixRotateZXY
cMath_MatrixRotateZYX
cMath_MatrixRotateX
cMath_MatrixRotateY
cMath_MatrixRotateZ
cMath_MatrixScale
cMath_MatrixTranslate
cMath_MatrixQuaternion
cMath_MatrixInverse
cMath_MatrixPlaneMirror
cMath_MatrixToEulerAngles
cMath_MatrixToEulerAnglesMultiSolution
cMath_MatrixEulerAngleDistance
cMath_MatrixUnitVectors
cMath_ProjectionMatrixObliqueNearClipPlane
cMath_MatrixPerspectiveProjection
cMath_MatrixOrthographicProjection
cMath_HSBToRGB
cMath_RGBToHSB
cMath_HexToRGB
cMath_RGBToHex
cMath_HexWToRGB
cMath_RGBToHexW
cString_To16Char
cString_To8Char
cString_S16BitToUTF8
cString_Get16BitFromArray
cString_ToString
cString_ToString
cString_ToStringW
cString_ToStringW
cString_ToFloat
cString_ToInt
cString_ToBool
cString_ToVector2l
cString_ToVector2f
cString_ToVector3l
cString_ToVector3f
cString_ToVector4f
cString_ToColor
cString_ToMatrixf
cString_Sub
cString_SubW
cString_ToLowerCase
cString_ToLowerCaseW
cString_ToUpperCase
cString_ToUpperCaseW
cString_ReplaceCharTo
cString_ReplaceCharToW
cString_ReplaceStringTo
cString_ReplaceStringToW
cString_GetLastChar
cString_GetLastCharW
cString_GetFirstCharPos
cString_GetLastCharPos
cString_GetFirstStringPos
cString_GetFirstStringPosW
cString_GetLastStringPos
cString_GetLastStringPosW
cString_CountCharsInString
cString_CountCharsInStringW
cString_GetHash
cString_GetHashW
cString_GetHash64
cString_GetHash64W
cString_GetNumericSuffix
cString_GetNumericSuffixW
cString_GetNumericSuffixInt
cString_GetNumericSuffixIntW
cString_GetNumericSuffixFloat
cString_GetNumericSuffixFloatW
cString_GetStringVec
cString_GetFloatVec
cString_GetIntVec
cString_CheckWildcardStrings
cString_GetFileExt
cString_GetFileExtW
cString_SetFileExt
cString_SetFileExtW
cString_GetFileName
cString_GetFileNameW
cString_GetFilePath
cString_GetFilePathW
cString_SetFilePath
cString_SetFilePathW
cString_GetFilePathTopFolder
cString_GetFilePathTopFolderW
cString_AddSlashAtEnd
cString_AddSlashAtEndW
cString_RemoveSlashAtEnd
cString_RemoveSlashAtEndW
H32
H64
Log
LogNewLine
Warning
Error
FatalError
Log
Warning
Error
Log
Warning
Error
cSystem_GetFileSize
cSystem_FileExists
cSystem_RemoveFile
cSystem_CloneFile
cSystem_CreateFolder
cSystem_RemoveFolder
cSystem_FolderExists
cSystem_GetFullFilePath
cSystem_FileModifiedDate
cSystem_FileCreationDate
cSystem_FindFilesInDir
cSystem_FindFoldersInDir
cSystem_GetWorkingDir
cSystem_GetPlatformName
cSystem_HasWindowFocus
cSystem_GetApplicationTime
cSystem_Sleep
cSystem_Wrapper_CreateMessageBox
cSystem_GetDate
cSystem_CopyTextToClipboard
cSystem_LoadTextFromClipboard
cSystem_GetSystemSpecialPath
cSystem_GetSystemAvailableDrives
cSystem_GetAvailableVideoDrivers
cSystem_GetAvailableVideoModes
cSystem_ProfileStart
cSystem_ProfileEnd
cEngine_Exit
cEngine_ResetLogicTimer
cEngine_SetUpdatesPerSec
cEngine_GetUpdatesPerSec
cEngine_GetStepSize
cEngine_GetFPS
cEngine_GetAvgFrameTimeInMS
cEngine_SetFPSUpdateRate
cEngine_GetFPSUpdateRate
cEngine_GetFrameTime
cEngine_GetGameTime
cEngine_SetLimitFPS
cEngine_GetLimitFPS
cEngine_SetWaitIfAppOutOfFocus
cEngine_GetWaitIfAppOutOfFocus
cEngine_SetUpdaterPaused
cEngine_SetAllUpdatersPaused
cEngine_SetGlobalUpdaterPaused
cEngine_SetAllGlobalUpdatersPaused
cEngine_GetPerFrameUpdateSteps
cEngine_SetSceneRenderFlags
cEngine_GetSceneRenderFlags
cEngine_GetAvgLogicFrameTimeMS
cEngine_GetAvgVariableFrameTimeMS
cEngine_GetAvgRenderFrameTimeMS
cEngine_GetMinMS
cEngine_GetMaxMS
cEngine_GetFPSMinMax
cEngine_GetFrameTimeMinMax
cScene_Reset
cScene_CreateViewport
cScene_DestroyViewport
cScene_ViewportExists
cScene_SetCurrentListener
cScene_CreateCamera
cScene_DestroyCamera
cScene_LoadWorld
cScene_CreateWorld
cScene_DestroyWorld
cScene_WorldExists
cScene_FadeGradingTexture
cScene_ToSubMeshEntity
cScene_ToMeshEntity
cScene_ToBillboard
cScene_ToBeam
cScene_ToRopeEntity
cScene_ToRopeEntityBillboard
cScene_ToRopeEntity3D
cScene_ToSoundEntity
cScene_ToLensFlare
cScene_ToForceField
cScene_ToLightBox
cScene_ToLightPoint
cScene_ToLightSpot
cScene_ToLightDirectional
cInput_CreateAction
cInput_InputToSubAction
cInput_DestroyAction
cInput_Update
cInput_CheckForInput
cInput_IsTriggered
cInput_IsTriggered
cInput_WasTriggered
cInput_WasTriggered
cInput_BecameTriggered
cInput_BecameTriggered
cInput_DoubleTriggered
cInput_DoubleTriggered
cInput_GetKeyboard
cInput_GetMouse
cInput_GetAction
cInput_GetAction
cInput_ResetActionsToCurrentState
cResources_AddResourceDir
cResources_ClearResourceDirs
cResources_AddLanguageFile
cResources_ClearTranslations
cResources_Translate
cResources_LoadResourceDirsFile
cResources_LoadXmlDocument
cResources_DestroyXmlDocument
cResources_CreateTexture1D
cResources_CreateTexture2D
cResources_CreateTexture3D
cResources_CreateTextureCubeMap
cResources_DestroyTexture
cResources_CreateMaterial
cResources_DestroyMaterial
cResources_SetMaterialTextureSizeDownScaleLevel
cResources_GetMaterialTextureSizeDownScaleLevel
cResources_SetMaterialTextureFilter
cResources_GetMaterialTextureFilter
cResources_SetMaterialTextureAnisotropy
cResources_GetMaterialTextureAnisotropy
cResources_GetMaterialPhysicsName
cResources_CreateGpuShader
cResources_CreateGpuShader
cResources_DestroyGpuShader
cResources_CreateMesh
cResources_DestroyMesh
cResources_CreateSoundEntityData
cResources_PreloadSoundEntityData
cResources_DestroySoundEntityData
cResources_CreateSoundData
cResources_DestroySoundData
cResources_DestroyUnusedSoundData
cResources_CreateFontData
cResources_DestroyFontData
cResources_CreateImage
cResources_DestroyImage
cResources_CreateVideo
cResources_DestroyVideo
cResources_PreloadParticleSystem
cResources_DestroyUnusedParticleSystems
cPhysics_CreateWorld
cPhysics_DestroyWorld
cPhysics_SetImpactDuration
cPhysics_GetImpactDuration
cPhysics_SetMaxImpacts
cPhysics_GetMaxImpacts
cPhysics_ToBody
cPhysics_ToJointBall
cPhysics_ToJointHinge
cPhysics_ToJointSlider
cGraphics_GetLowLevel
cGraphics_GetRenderer
cGraphics_ReloadRendererData
cGraphics_CreateFrameBuffer
cGraphics_DestroyFrameBuffer
cGraphics_GetTempFrameBuffer
cGraphics_CreateDepthStencilBuffer
cGraphics_FindDepthStencilBuffer
cGraphics_DestoroyDepthStencilBuffer
cGraphics_CreateTexture
cGraphics_DestroyTexture
cGraphics_CreatePostEffectComposite
cGraphics_DestroyPostEffectComposite
cGraphics_CreateHeightMap
cGraphics_CreateHeightMapResizedCopy
cGraphics_LoadHeightMapRaw
cGraphics_LoadHeightMapPackedRGB
cGraphics_DestroyHeightMap
cGraphics_CreateGpuProgram
cGraphics_CreateGpuProgramFromShaders
cGraphics_DestroyGpuProgram
cGraphics_GetMaterialType
cGraphics_ReloadMaterials
cGraphics_CreatePostEffect_ToneMapping
cGraphics_CreatePostEffect_ImageTrail
cGraphics_CreatePostEffect_ChromaticAberration
cGraphics_CreatePostEffect_RadialBlur
cGraphics_CreatePostEffect_VideoDistortion
cGraphics_CreatePostEffect_ImageFadeFX
cGraphics_DestroyPostEffect
cSound_GetEventProject
cSound_GetEventData
cSound_CreateEvent
cSound_DestroyEvent
cSound_PreloadProject
cSound_PreloadGroup
cSound_DestroyUnusedData
cSound_GetEventSystemMemoryUsed
cSound_Play
cSound_Play3D
cSound_PlayGuiStream
cSound_PlayGui
cSound_PlaySoundEntityGui
cSound_PlaySoundEvent
cSound_GetEntry
cSound_SetSilent
cSound_GetSilent
cSound_Stop
cSound_StopAll
cSound_PauseAll
cSound_ResumeAll
cSound_FadeOutAll
cSound_IsPlaying
cSound_IsValid
cSound_SetGlobalVolume
cSound_SetGlobalSpeed
cSound_FadeGlobalVolume
cSound_FadeGlobalSpeed
cSound_FadeLowPassFilter
cSound_FadeHighPassFilter
cSound_GetGlobalVolume
cSound_GetGlobalSpeed
cSound_GetGlobalVolumeFromId
cSound_GetGlobalSpeedFromId
cSound_CheckSoundIsBlocked
cSound_SetEventCategory_World
cSound_SetEventCategory_WorldClean
cSound_SetEventCategory_Gui
cSound_GetEventCategory_World
cSound_GetEventCategory_WorldClean
cSound_GetEventCategory_Gui
cSound_PlayMusic
cSound_StopMusic
cSound_PauseMusic
cSound_ResumeMusic
cSound_FadeMusicVolumeMul
cSound_SetMusicVolumeMul
cSound_GetMusicVolumeMul
cGui_CreateSkin
cGui_CreateSet
cGui_GetSetFromName
cGui_SetFocus
cGui_SetFocusByName
cGui_GetFocusedSet
cGui_DestroySet
cGui_CreateGfxFilledRect
cGui_CreateGfxImage
cGui_CreateGfxImage
cGui_CreateGfxTexture
cGui_CreateGfxTexture
cGui_CreateGfxTexture
cGui_CreateGfxTexture
cGui_CreateGfxImageBuffer
cGui_DestroyGfx
cGui_CreateImGui
cGui_DestroyImGui
cGui_GetImGuiStateVarString
cGui_GetImGuiIdFromName
cAI_CreateEventDatabase
cAI_DestroyEventDatabase
cGenerate_FractalNoise1D
cGenerate_FractalNoise2D
cGenerate_FractalNoise3D
cGenerate_GetNoiseCosine1D
cGenerate_GetNoiseCosine2D
cGenerate_GetNoiseCubic1D
cGenerate_GetNoiseCubic2D
cGenerate_GetNoisePerlin1D
cGenerate_GetNoisePerlin2D
cGenerate_GetNoisePerlin3D
cScript_SetGlobalVarString
cScript_SetGlobalVarBool
cScript_SetGlobalVarInt
cScript_SetGlobalVarID
cScript_SetGlobalVarFloat
cScript_SetGlobalVarVector2f
cScript_SetGlobalVarVector3f
cScript_SetGlobalVarVector4f
cScript_SetGlobalVarMatrix
cScript_SetGlobalVarColor
cScript_GetGlobalVarString
cScript_GetGlobalVarBool
cScript_GetGlobalVarInt
cScript_GetGlobalVarID
cScript_GetGlobalVarFloat
cScript_GetGlobalVarVector2f
cScript_GetGlobalVarVector3f
cScript_GetGlobalVarVector4f
cScript_GetGlobalVarMatrix
cScript_GetGlobalVarColor
cScript_SetGlobalArgString
cScript_SetGlobalArgBool
cScript_SetGlobalArgInt
cScript_SetGlobalArgID
cScript_SetGlobalArgFloat
cScript_SetGlobalArgVector2f
cScript_SetGlobalArgVector3f
cScript_SetGlobalArgVector4f
cScript_SetGlobalArgMatrix
cScript_SetGlobalArgColor
cScript_GetGlobalArgString
cScript_GetGlobalArgBool
cScript_GetGlobalArgInt
cScript_GetGlobalArgID
cScript_GetGlobalArgFloat
cScript_GetGlobalArgVector2f
cScript_GetGlobalArgVector3f
cScript_GetGlobalArgVector4f
cScript_GetGlobalArgMatrix
cScript_GetGlobalArgColor
cScript_SetGlobalReturnString
cScript_SetGlobalReturnBool
cScript_SetGlobalReturnInt
cScript_SetGlobalReturnID
cScript_SetGlobalReturnFloat
cScript_SetGlobalReturnVector2f
cScript_SetGlobalReturnVector3f
cScript_SetGlobalReturnVector4f
cScript_SetGlobalReturnMatrix
cScript_SetGlobalReturnColor
cScript_GetGlobalReturnString
cScript_GetGlobalReturnBool
cScript_GetGlobalReturnInt
cScript_GetGlobalReturnID
cScript_GetGlobalReturnFloat
cScript_GetGlobalReturnVector2f
cScript_GetGlobalReturnVector3f
cScript_GetGlobalReturnVector4f
cScript_GetGlobalReturnMatrix
cScript_GetGlobalReturnColor
cScript_RunGlobalFunc
cLux_CreateEntityComponent_Pathfinder
cLux_CreateEntityComponent_CharMover
cLux_CreateEntityComponent_StateMachine
cLux_CreateEntityComponent_SoundListener
cLux_CreateEntityComponent_HeadTracker
cLux_CreateEntityComponent_ForceEmitter
cLux_CreateEntityComponent_BarkMachine
cLux_CreateEntityComponent_BackboneTail
cLux_CreateEntityComponent_LightSensor
cLux_CreateEntityComponent_EdgeGlow
cLux_AddDebugMessage
cLux_AddDebugMessage
cLux_AddTodoMessage
cLux_AddTodoMessage
cLux_DebugModeOn
cLux_ScriptDebugOn
cLux_TestModeOn
cLux_DrawDebugText
cLux_SetDebugInfoWindowText
cLux_GetGodModeActivated
cLux_GetSaveConfigAtExit
cLux_GetUserModuleFromID
cLux_GetUserModuleFromName
cLux_GetPlayer
cLux_GetInputHandler
cLux_GetEffectHandler
cLux_GetMusicHandler
cLux_GetVoiceHandler
cLux_GetDialogHandler
cLux_GetEventDatabaseHandler
cLux_GetSoundscapeHandler
cLux_GetSaveHandler
cLux_GetGuiHandler
cLux_GetAchievementHandler
cLux_GetMainMenuFile
cLux_GetCurrentLanguage
cLux_AddModule
cLux_AddPropType
cLux_AddCritterType
cLux_AddAreaType
cLux_AddLiquidAreaType
cLux_GetGameHudSet
cLux_GetHudVirtualCenterSize
cLux_GetHudVirtualSize
cLux_GetHudVirtualOffset
cLux_GetHudVirtualStartPos
cLux_GetHudVirtualCenterScreenSize
cLux_GetHudVirtualCenterScreenStartPos
cLux_GetDefaultFont
cLux_GetGameTime
cLux_ID_Entity3D
cLux_ID_MeshEntity
cLux_ID_SubMeshEntity
cLux_ID_Light
cLux_ID_LightMaskBox
cLux_ID_Billboard
cLux_ID_BillboardGroup
cLux_ID_LensFlare
cLux_ID_Beam
cLux_ID_ParticleSystem
cLux_ID_GuiSetEntity
cLux_ID_RopeEntity
cLux_ID_ClothEntity
cLux_ID_FogArea
cLux_ID_ExposureArea
cLux_ID_ForceField
cLux_ID_SoundEntity
cLux_ID_Body
cLux_ID_Joint
cLux_ID_CharacterBody
cLux_ID_Entity
cLux_ID_Prop
cLux_ID_Area
cLux_ID_LiquidArea
cLux_ID_ReverbArea
cLux_ID_Critter
cLux_ID_Agent
cLux_GetCurrentImGui
cLux_GetGameHudImGui
cLux_SetImGuiInputFocus
cLux_GetInputFocusImGui
cLux_GetPrevInputFocusImGui
cLux_StartMap
cLux_ChangeMap
cLux_StartNewGame
cLux_Continue
cLux_CanContinue
cLux_Exit
cLux_SetGamePaused
cLux_GetGamePaused
cLux_PreloadMap
cLux_DeloadMap
cLux_GetCurrentMap
cLux_GetPreloadMap
cLux_MapIsLoaded
cLux_IsChangingMap
cLux_IsStreamingMap
cLux_IsReadyToChangeMap
cLux_MapChangeIsTransfer
cLux_SetMapPreloadPriority
cLux_IsPlayGoReady
cLux_IsLoadingScreenVisible
cLux_LoadScreenSetForceBackground
cLux_LoadScreenSetUseSmallIcon
cLux_LoadScreenShowLoadingIcon
cLux_LoadScreenSetBarPosAndSize
cLux_IncUnderwaterEffectUserCount
cLux_DecUnderwaterEffectUserCount
cLux_HasUnderwaterEffectUsers
cLux_SetUnderwaterEffectsActive
cLux_GetUnderwaterEffectsActive
cLux_SetupDefaultGlobalReverb
cLux_GetViewport
cLux_CheckLineOfSight
cLux_GetClosestEntity
cLux_GetClosestBody
cLux_GetClosestCharCollider
cLux_GetLightLevelAtPos
cLux_ShapeDamage
cLux_ShapeDamage
cLux_GetInteractionWhiteListActive
cLux_SetInteractionWhiteListActive
cLux_AddEntityToInteractionWhiteList
cLux_SendInputToGui
cLux_GetBodyEntity
cLux_ToArea
cLux_ToProp
cLux_ToLiquidArea
cLux_ToAgent
cLux_ToCritter
cLux_Translate
cLux_HasTranslation
cLux_PlayGuiSoundData
cLux_PlayGuiSoundDataEx
cLux_DrawSetToScreen
cLux_CleanupData
cLux_GetTextCatAndEntryFromString
cLux_GetStringDuration
cLux_ParseString
cLux_ParseStringIntoScreenText
cLux_DrawScreenText
cLux_DrawHint
cLux_RenderBackgroundScreen
cLux_PreloadSound
cLux_PreloadParticleSystem
cLux_PreloadEntity
cLux_PreloadMaterial
cLux_PreloadGuiGfx
cLux_GetHelpGuiSet
cLux_GetUserConfig
cLux_ApplyUserConfig
cLux_HasConfigLoadError
cLux_GetKeyConfig
cLux_GetGameConfig
cLux_GetDefaultGameLanguage
cLux_GetGameLanguageFolder
cLux_GetCurrentUserProfilePath
cLux_GetStringWFromDate
cLux_OutputTextToFile
cLux_TruncateTextFile
cLux_SaveScreenshotToFile
cLux_CreateHTMLParagraph
cLux_CreateHTMLImage
cLux_CreateHTMLTag
cLux_RegisterEventListenerUserModule_AgentSetActive
cLux_CreateScriptImGui
cLux_RegisterCollisionRadius
cLux_PreloadWebpage
cLux_ResetShudderEffects
cLux_DropPageFocus
cLux_SetAreaOffline
Entity_Exists
Entity_Exists
Entity_SetActive
Entity_IsActive
Entity_SetInteractionDisabled
Entity_SetMaxInteractionDistance
Entity_Sleep
Entity_WakeUp
Entity_IsSleeping
Entity_SetAutoSleep
Entity_GetAutoSleep
Entity_SetIsOccluder
Entity_IsOccluder
Entity_IsInteractedWith
Entity_SetVarString
Entity_SetVarBool
Entity_SetVarInt
Entity_SetVarFloat
Entity_SetVarVector2f
Entity_SetVarVector3f
Entity_SetVarColor
Entity_IncVarInt
Entity_IncVarFloat
Entity_IncVarVector2f
Entity_IncVarVector3f
Entity_GetVarString
Entity_GetVarBool
Entity_GetVarInt
Entity_GetVarFloat
Entity_GetVarVector2f
Entity_GetVarVector3f
Entity_GetVarColor
Entity_AddCollideCallback
Entity_RemoveCollideCallback
Entity_GetCollide
Entity_SetCollideCharacter
Entity_SetCollide
Entity_SetEffectsActive
Entity_SetReflectionVisibility
Entity_SetEffectBaseColor
Entity_FadeEffectBaseColor
Entity_SetColorMul
Entity_AddForce
Entity_AddForceFromEntity
Entity_AddImpulse
Entity_AddImpulseFromEntity
Entity_AddTorque
Entity_AttachToEntity
Entity_AttachToSocket
Entity_RemoveEntityAttachment
Entity_CreateAtEntity
Entity_CreateAtEntityExt
Entity_Destroy
Entity_PlayAnimation
Entity_StopAnimation
Entity_SetAnimationPaused
Entity_SetAnimationRelativeTimePosition
Entity_SetAnimationMessageEventCallback
Entity_PlayProcAnimation
Entity_StopProcAnimation
Entity_SetProcAnimationPaused
Entity_SetProcAnimationSpeed
Entity_FadeProcAnimationSpeed
Entity_SetPlayerLookAtCallback
Entity_SetPlayerInteractCallback
Entity_SetConnectionStateChangeCallback
Entity_Connect
Entity_RemoveConnection
Entity_RemoveAllConnections
Entity_PlaceAtEntity
Entity_GetBodyOffset
Entity_IsInPlayerFOV
Entity_EntityIsInFront
Entity_PlayerIsInFront
Entity_CallEntityInteract
Entity_GetDeltaToEntity
Entity_Preload
Material_Preload
Prop_SetHealth
Prop_AddHealth
Prop_GetHealth
Prop_DisableCollisionUntilOutsidePlayer
Prop_SetAllowMapTransfer
Prop_SetActiveAndFade
Prop_AddAttachedProp
Prop_RemoveAttachedProp
Prop_SetStaticPhysics
Prop_RotateToSpeed
Prop_RotateToSpeed
Prop_MoveLinearTo
Prop_AlignRotation
Prop_StopMovement
Prop_ClearVelocity
Lamp_SetLit
Lamp_GetLit
Lamp_SetFlickerActive
Lamp_SetupFlicker
SwingDoor_SetOpenAmount
SwingDoor_SetLocked
SwingDoor_SetBlocked
SwingDoor_SetClosed
SwingDoor_SetDisableAutoClose
SwingDoor_GetLocked
SwingDoor_GetBlocked
SwingDoor_GetClosed
SwingDoor_GetState
SwingDoor_GetOpenAmount
SwingDoor_AddDoorBodyImpulse
PhysicsSlideDoor_GetClosed
PhysicsSlideDoor_GetOpenAmount
PhysicsSlideDoor_AutoMoveToState
PhysicsSlideDoor_SetLocked
SlideDoor_SetClosed
SlideDoor_SetOpenAmount
SlideDoor_GetOpenAmount
SlideDoor_SetOpenableByAgent
Slide_SetSlideAmount
Slide_GetSlideAmount
Slide_GetSlideVel
Slide_AutoMoveTo
Slide_SetLocked
Slide_GetLocked
Wheel_GetState
Wheel_SetAngle
Wheel_GetCurrentAngle
Wheel_SetStuckState
Wheel_SetInteractionDisablesStuck
Lever_GetState
Lever_SetInteractionDisablesStuck
Lever_SetStuckState
Lever_SetAutoMoveEnabled
Lever_SetAutoMoveTarget
Button_SetSwitchedOn
Button_IsSwitchedOn
Button_SetCanBeSwitchedOn
Button_SetCanBeSwitchedOff
Button_SetLocked
Button_SetDisabled
Button_IsLocked
Button_IsDisabled
Button_Blink
MovingButton_SetSwitchedOn
MovingButton_SetCanBeSwitchedOn
MovingButton_SetCanBeSwitchedOff
MovingButton_IsSwitchedOn
MovingButton_SetReturnToOffTime
MovingButton_SetLocked
MovingButton_SetDisabled
MovingButton_IsLocked
MovingButton_IsDisabled
MovingButton_Blink
MovingButton_GetStateAmount
LevelDoor_SetLocked
LevelDoor_GetLocked
MoveObject_SetState
MoveObject_SetStateExt
Meter_SetState
Meter_SetShakeMul
Meter_SetSpeedMul
Terminal_SetAllowInteraction
Terminal_SetGuiActive
Terminal_IsGuiActive
Terminal_SetOnGuiFunction
Terminal_SetEnterCallback
Terminal_SetLeaveCallback
Terminal_SetUpdateWhenOutOfView
Terminal_ForceCacheUpdate
Terminal_SetFPSWhenIdle
Terminal_SetShowMouse
Terminal_GetImGuiStateInt
Terminal_GetImGuiStateBool
Terminal_GetImGuiStateFloat
Terminal_GetImGuiStateVector3f
Terminal_GetImGuiStateColor
Terminal_SetImGuiStateInt
Terminal_SetImGuiStateBool
Terminal_SetImGuiStateFloat
Terminal_SetImGuiStateVector3f
Terminal_SetImGuiStateColor
Terminal_IncImGuiStateInt
Terminal_IncImGuiStateFloat
Terminal_IncImGuiStateVector3f
Terminal_IncImGuiStateColor
Terminal_FadeImGuiStateFloat
Terminal_FadeImGuiStateVector3f
Terminal_FadeImGuiStateColor
Terminal_StopImGuiFade
Grab_SetForceMul
Readable_SetCloseCallback
Readable_SetOpenEntityFile
Tool_SetAutoHideAfterPickup
Tool_SetHighlightActive
Tool_PickUp
Tool_GetHandAnimationSuffix
EnergySource_SetEnergy
ParticleSystem_CreateAtEntity
ParticleSystem_CreateAtEntityExt
ParticleSystem_Destroy
ParticleSystem_SetVisible
ParticleSystem_SetColor
ParticleSystem_SetBrightness
ParticleSystem_SetActive
ParticleSystem_AttachToEntity
ParticleSystem_Exists
ParticleSystem_Preload
Light_FadeTo
Light_SetVisible
Light_SetBrightness
Light_SetShadowBiasMul
Light_SetCheapGobo
Light_GetBrightness
Light_SetFlickerActive
Light_SetCastShadows
IrradianceSet_FadeIn
IrradianceSet_FadeInSingleProbe
Billboard_SetVisible
Billboard_SetRangeMin
Billboard_SetRangeMax
Billboard_SetBrightness
Billboard_SetReflectionVisibility
LensFlare_SetVisible
FogArea_SetVisible
FogArea_SetVisibleInReflection
Map_GetParticleSystemArray
Map_GetLightArray
Map_GetBillboardArray
Map_GetLensFlareArray
Map_GetFogAreaArray
Math_CatmullRom
String_SecondsToClockDisplay
Body_AddForce
Body_AddImpulse
Body_SetCollides
Body_GetEntityName
Joint_Break
Joint_IsBroken
Joint_SetBreakable
Joint_GetForceSize
hpl3/game/scripting/function_reference/hps_api.txt
· Last modified: 2015/10/29 09:24 by
luis
Page Tools
Show pagesource
Old revisions
Backlinks
Export to PDF
Back to top