Template:ClientFunctions
From Onset Developer Wiki
Pak
Collisions
Game
Colors
Miscellaneous
- Random
- RandomFloat
- Base64Encode
- Base64Decode
- GetDistance2D
- GetDistance3D
- GetDistanceSquared3D
- VectorToRotation
- RotationToVector
- NormalizeVector
- IsFloatNearlyZero
- RandomUnitVectorInCone
- RandomUnitVectorInEllipticalCone
Time
Player
- SetPlayerPropertyValue
- GetPlayerPropertyValue
- SetPlayerRotationRate
- GetPlayerRotationRate
- GetPlayerWeapon
- GetWeaponType
- GetPlayerWeaponMuzzleLocation
- GetPlayerBoneNames
- GetPlayerSkeletalMeshComponent
- LineTrace
- GetAllPlayersInSphere
- GetAllPlayersInBox
- GetTerrainHeight
- EnableFirstPersonCamera
- IsFirstPersonCamera
- ConnectToServer
- SetControllerOrientedMovement
- IsValidPlayer
- GetPlayerName
- GetStreamedPlayers
- GetPlayerLocation
- GetPlayerHeading
- IsPlayerTalking
- GetPlayerHealth
- GetPlayerArmor
- GetPlayerMovementMode
- GetPlayerMovementSpeed
- IsPlayerAiming
- IsPlayerReloading
- IsPlayerDead
- GetPlayerBoneLocation
- SetPlayerOutline
- SetPlayerClothingPreset
- GetPlayerVehicle
- IsPlayerInVehicle
- GetPlayerForwardVector
- GetPlayerRightVector
- GetPlayerUpVector
Camera
- StartCameraFade
- StopCameraFade
- PlayCameraShake
- StopCameraShake
- SetCameraShakeLocation
- SetCameraShakeRotation
- SetCameraShakeFOV
- GetScreenSize
- SetCameraLocation
- GetCameraLocation
- SetCameraRotation
- GetCameraRotation
- GetCameraForwardVector
- GetCameraRightVector
- GetCameraUpVector
- GetInputAxisValue
- GetPlayerFOV
- SetPlayerFOV
- SetCameraViewDistance
- GetCameraViewDistance
Waypoints
- CreateWaypoint
- DestroyWaypoint
- UpdateWaypoint
- SetWaypointLocation
- GetWaypointLocation
- GetAllWaypoints
Fireworks
Packages
Chat
HUDs
Post-processing
GUI
- DrawText
- SetDrawColor
- SetTextDrawScale
- GetTextSize
- DrawLine
- DrawLine3D
- DrawPoint3D
- DrawCircle3D
- DrawBox
- DrawRect
- DrawTexture
- DrawTextureEx
- WorldToScreen
- ScreenToWorld
- CreateTextBox
- DestroyTextBox
- SetTextBoxAnchors
- SetTextBoxAlignment
- SetTextBoxText
Ocean
Mouse
- ShowMouseCursor
- GetMouseHitLocation
- GetMouseHitEntity
- SetInputMode
- IsMouseCursorEnabled
- GetMouseLocation
- GetMouseInputDelta
- DeprojectMouseLocationToWorld
Environment
- SetTime
- GetTime
- SetSkySaturation
- SetSunRadius
- SetSunShine
- SetSunAzimuth
- SetStarsBrightness
- SetMoonRadius
- SetMoonShine
- SetFogDensity
- SetSunLightIntensity
- SetSkyLightIntensity
- SetMoonLightIntensity
- SetSkyRotationSpeed
- SetWeather
Network
NPC
- SetNPCPropertyValue
- GetNPCPropertyValue
- GetNPCCount
- GetStreamedNPC
- GetNPCLocation
- GetNPCSkeletalMeshComponent
- SetNPCOutline
Objects
- SetObjectPropertyValue
- GetObjectPropertyValue
- GetObjectCount
- GetObjectModelCount
- GetObjectModelGroup
- GetObjectModelName
- GetStreamedObjects
- GetObjectModel
- GetObjectLocation
- GetObjectRotation
- GetObjectScale
- GetObjectBoundingBox
- GetObjectSize
- EnableObjectHitEvents
- GetObjectMass
- GetObjectStaticMeshComponent
- SetObjectEditorSpeed
- SetObjectEditable
- SetObjectOutline
- SetObjectCastShadow
- SetObjectColor
- SetObjectEmissiveColor
- SetObjectTexture
- SetObjectAnimatedTexture
Events
Pickup
- SetPickupPropertyValue
- GetPickupPropertyValue
- GetPickupCount
- GetStreamedPickups
- GetPickupLocation
- GetPlayerCount
Door
Sound
- IsValidSound
- CreateSound
- CreateSound3D
- SetSound3DLocation
- GetSound3DLocation
- DestroySound
- GetAllSounds
- SetSoundVolume
- GetSoundVolume
- SetSoundPitch
- GetSoundPitch
- SetSoundFadeIn
- SetSoundFadeOut
Text
Timer
- Delay
- GetTimerCount
- GetAllTimers
- IsValidTimer
- CreateTimer
- CreateCountTimer
- DestroyTimer
- PauseTimer
- UnpauseTimer
- GetTimerRemainingTime
Vehicles
- SetVehiclePropertyValue
- GetVehiclePropertyValue
- GetVehicleCount
- GetVehicleLicensePlate
- IsValidVehicle
- GetStreamedVehicles
- GetVehicleBoneLocation
- GetVehicleBoneNames
- GetVehicleModel
- GetVehicleLocation
- GetVehicleRotation
- GetVehicleVelocity
- GetVehicleForwardVector
- GetVehicleRightVector
- GetVehicleUpVector
- GetVehicleBoundingBox
- GetVehicleEngineRPM
- GetVehicleForwardSpeed
- GetVehicleGear
- GetVehicleWheelSurface
- IsVehicleWheelInAir
- IsVehicleInAir
- GetVehicleWheelSteerAngle
- IsVehicleHornActive
- GetVehicleEngineState
- GetVehicleLightState
- GetVehicleHoodRatio
- GetVehicleTrunkRatio
- IsVehicleInWater
- IsVehicleSeatOccupied
- GetVehicleDoorLocation
- GetVehicleHealth
Web UI
- GetWebUICount
- CreateWebUI
- CreateWebUI3D
- CreateRemoteWebUI
- CreateRemoteWebUI3D
- DestroyWebUI
- GetAllWebUI
- SetWebVisibility
- GetWebVisibility
- SetWebURL
- LoadWebFile
- ExecuteWebJS
- SetWebLocation
- SetWebRotation
- SetWebSize
- SetWebAlignment
- SetWebAnchors