Template:ClientFunctions: Difference between revisions
From Onset Developer Wiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
== Pak == | |||
*[[DoesPakExist]] | *[[DoesPakExist]] | ||
*[[LoadPak]] | *[[LoadPak]] | ||
*[[ReplaceObjectModelMesh]] | *[[ReplaceObjectModelMesh]] | ||
== Collisions == | |||
*[[GetAllCollisions]] | *[[GetAllCollisions]] | ||
*[[CreateCollisionBox]] | *[[CreateCollisionBox]] | ||
*[[CreateCollisionSphere]] | *[[CreateCollisionSphere]] | ||
*[[DestroyCollision]] | *[[DestroyCollision]] | ||
== Game == | |||
*[[GetGameVersion]] | *[[GetGameVersion]] | ||
*[[IsGameDevMode]] | *[[IsGameDevMode]] | ||
== Colors == | |||
*[[RGBA]] | *[[RGBA]] | ||
*[[RGB]] | *[[RGB]] | ||
*[[HexToRGBA]] | *[[HexToRGBA]] | ||
== Miscellaneous == | |||
*[[Random]] | *[[Random]] | ||
*[[RandomFloat]] | *[[RandomFloat]] | ||
Line 24: | Line 29: | ||
*[[RandomUnitVectorInCone]] | *[[RandomUnitVectorInCone]] | ||
*[[RandomUnitVectorInEllipticalCone]] | *[[RandomUnitVectorInEllipticalCone]] | ||
== Time == | |||
*[[GetTickCount]] | *[[GetTickCount]] | ||
*[[GetTimeSeconds]] | *[[GetTimeSeconds]] | ||
Line 31: | Line 37: | ||
*[[IsPlayerInMainMenu]] | *[[IsPlayerInMainMenu]] | ||
*[[InvokeDamageFX]] | *[[InvokeDamageFX]] | ||
== Camera == | |||
*[[GetPlayerFOV]] | *[[GetPlayerFOV]] | ||
*[[SetPlayerFOV]] | *[[SetPlayerFOV]] | ||
Line 37: | Line 44: | ||
*[[SetCameraLocation]] | *[[SetCameraLocation]] | ||
*[[SetCameraRotation]] | *[[SetCameraRotation]] | ||
== Player == | |||
*[[SetPlayerPropertyValue]] | |||
*[[GetPlayerPropertyValue]] | |||
*[[SetPlayerRotationRate]] | *[[SetPlayerRotationRate]] | ||
*[[GetPlayerRotationRate]] | *[[GetPlayerRotationRate]] | ||
Line 50: | Line 60: | ||
*[[EnableFirstPersonCamera]] | *[[EnableFirstPersonCamera]] | ||
*[[IsFirstPersonCamera]] | *[[IsFirstPersonCamera]] | ||
*[[ConnectToServer]] | |||
*[[SetControllerOrientedMovement]] | |||
== Camera == | |||
*[[StartCameraFade]] | *[[StartCameraFade]] | ||
*[[StopCameraFade]] | *[[StopCameraFade]] | ||
Line 64: | Line 77: | ||
*[[GetCameraUpVector]] | *[[GetCameraUpVector]] | ||
*[[GetInputAxisValue]] | *[[GetInputAxisValue]] | ||
== Waypoints == | |||
*[[CreateWaypoint]] | *[[CreateWaypoint]] | ||
*[[DestroyWaypoint]] | *[[DestroyWaypoint]] | ||
Line 70: | Line 84: | ||
*[[GetWaypointLocation]] | *[[GetWaypointLocation]] | ||
*[[GetAllWaypoints]] | *[[GetAllWaypoints]] | ||
== Fireworks == | |||
*[[CreateFireworks]] | *[[CreateFireworks]] | ||
== Packages == | |||
*[[GetPackageName]] | *[[GetPackageName]] | ||
*[[ImportPackage]] | |||
*[[AddFunctionExport]] | |||
== Chats == | |||
*[[AddPlayerChat]] | *[[AddPlayerChat]] | ||
*[[ShowChat]] | *[[ShowChat]] | ||
*[[SetChatLocation]] | *[[SetChatLocation]] | ||
*[[GetChatLocation]] | *[[GetChatLocation]] | ||
== HUDs == | |||
*[[ShowWeaponHUD]] | *[[ShowWeaponHUD]] | ||
*[[ShowHealthHUD]] | *[[ShowHealthHUD]] | ||
== Post-processing == | |||
*[[SetPostEffect]] | *[[SetPostEffect]] | ||
*[[AddPostProcessMaterial]] | *[[AddPostProcessMaterial]] | ||
*[[RemovePostProcessMaterial]] | *[[RemovePostProcessMaterial]] | ||
== GUI == | |||
*[[DrawText]] | *[[DrawText]] | ||
*[[SetDrawColor]] | *[[SetDrawColor]] | ||
Line 100: | Line 122: | ||
*[[SetTextBoxAlignment]] | *[[SetTextBoxAlignment]] | ||
*[[SetTextBoxText]] | *[[SetTextBoxText]] | ||
== Chat == | |||
*[[IsChatFocus]] | *[[IsChatFocus]] | ||
== Ocean == | |||
*[[SetOceanWaterLevel]] | *[[SetOceanWaterLevel]] | ||
*[[SetOceanColor]] | *[[SetOceanColor]] | ||
Line 112: | Line 136: | ||
*[[SetTime]] | *[[SetTime]] | ||
*[[GetTime]] | *[[GetTime]] | ||
== Environment == | |||
*[[SetSkySaturation]] | *[[SetSkySaturation]] | ||
*[[SetSunRadius]] | *[[SetSunRadius]] | ||
Line 125: | Line 150: | ||
*[[SetSkyRotationSpeed]] | *[[SetSkyRotationSpeed]] | ||
*[[SetWeather]] | *[[SetWeather]] | ||
== Network == | |||
*[[GetPing]] | *[[GetPing]] | ||
*[[GetNetworkStats]] | *[[GetNetworkStats]] | ||
== NPC == | |||
*[[SetNPCPropertyValue]] | |||
*[[GetNPCPropertyValue]] | |||
*[[GetNPCCount]] | *[[GetNPCCount]] | ||
*[[GetStreamedNPC]] | *[[GetStreamedNPC]] | ||
Line 132: | Line 161: | ||
*[[GetNPCSkeletalMeshComponent]] | *[[GetNPCSkeletalMeshComponent]] | ||
*[[SetNPCOutline]] | *[[SetNPCOutline]] | ||
== Objects == | |||
*[[SetObjectPropertyValue]] | |||
*[[GetObjectPropertyValue]] | |||
*[[GetObjectCount]] | *[[GetObjectCount]] | ||
*[[GetObjectModelCount]] | *[[GetObjectModelCount]] | ||
Line 154: | Line 186: | ||
*[[SetObjectTexture]] | *[[SetObjectTexture]] | ||
*[[SetObjectAnimatedTexture]] | *[[SetObjectAnimatedTexture]] | ||
== Events == | |||
*[[AddEvent]] | *[[AddEvent]] | ||
*[[CallEvent]] | *[[CallEvent]] | ||
*[[AddRemoteEvent]] | *[[AddRemoteEvent]] | ||
*[[CallRemoteEvent]] | *[[CallRemoteEvent]] | ||
== Pickup == | |||
*[[SetPickupPropertyValue]] | |||
*[[GetPickupPropertyValue]] | |||
*[[GetPickupCount]] | *[[GetPickupCount]] | ||
*[[GetStreamedPickups]] | *[[GetStreamedPickups]] | ||
*[[GetPickupLocation]] | *[[GetPickupLocation]] | ||
*[[GetPlayerCount]] | *[[GetPlayerCount]] | ||
== Player == | |||
*[[IsValidPlayer]] | *[[IsValidPlayer]] | ||
*[[GetStreamedPlayers]] | *[[GetStreamedPlayers]] | ||
Line 183: | Line 218: | ||
*[[GetPlayerRightVector]] | *[[GetPlayerRightVector]] | ||
*[[GetPlayerUpVector]] | *[[GetPlayerUpVector]] | ||
== Door == | |||
*[[IsValidDoor]] | *[[IsValidDoor]] | ||
*[[GetDoorCount]] | *[[GetDoorCount]] | ||
Line 188: | Line 224: | ||
*[[GetStreamedDoors]] | *[[GetStreamedDoors]] | ||
*[[GetSoundCount]] | *[[GetSoundCount]] | ||
== Sound == | |||
*[[IsValidSound]] | *[[IsValidSound]] | ||
*[[CreateSound]] | *[[CreateSound]] | ||
Line 201: | Line 238: | ||
*[[SetSoundFadeIn]] | *[[SetSoundFadeIn]] | ||
*[[SetSoundFadeOut]] | *[[SetSoundFadeOut]] | ||
== Text == | |||
*[[SetText3DPropertyValue]] | |||
*[[GetText3DPropertyValue]] | |||
*[[GetText3DCount]] | *[[GetText3DCount]] | ||
*[[GetStreamedText3D]] | *[[GetStreamedText3D]] | ||
*[[GetText3DLocation]] | *[[GetText3DLocation]] | ||
== Timer == | |||
*[[Delay]] | |||
*[[GetTimerCount]] | *[[GetTimerCount]] | ||
*[[GetAllTimers]] | *[[GetAllTimers]] | ||
Line 213: | Line 255: | ||
*[[UnpauseTimer]] | *[[UnpauseTimer]] | ||
*[[GetTimerRemainingTime]] | *[[GetTimerRemainingTime]] | ||
== Vehicles == | |||
*[[SetVehiclePropertyValue]] | |||
*[[GetVehiclePropertyValue]] | |||
*[[GetVehicleCount]] | *[[GetVehicleCount]] | ||
*[[GetVehicleLicensePlate]] | *[[GetVehicleLicensePlate]] | ||
Line 243: | Line 288: | ||
*[[GetVehicleDoorLocation]] | *[[GetVehicleDoorLocation]] | ||
*[[GetVehicleHealth]] | *[[GetVehicleHealth]] | ||
== Web UI == | |||
*[[GetWebUICount]] | *[[GetWebUICount]] | ||
*[[CreateWebUI]] | *[[CreateWebUI]] | ||
Line 260: | Line 306: | ||
*[[SetWebAlignment]] | *[[SetWebAlignment]] | ||
*[[SetWebAnchors]] | *[[SetWebAnchors]] | ||
== Key == | |||
*[[IsCtrlPressed]] | *[[IsCtrlPressed]] | ||
*[[IsShiftPressed]] | *[[IsShiftPressed]] | ||
Line 266: | Line 313: | ||
*[[SetIgnoreMoveInput]] | *[[SetIgnoreMoveInput]] | ||
*[[SetIgnoreLookInput]] | *[[SetIgnoreLookInput]] | ||
*[[SetControlRotation]] | *[[SetControlRotation]] | ||
Revision as of 18:29, 3 December 2019
Pak
Collisions
Game
Colors
Miscellaneous
- Random
- RandomFloat
- Base64Encode
- Base64Decode
- GetDistance2D
- GetDistance3D
- GetDistanceSquared3D
- VectorToRotation
- RotationToVector
- NormalizeVector
- IsFloatNearlyZero
- RandomUnitVectorInCone
- RandomUnitVectorInEllipticalCone
Time
- GetTickCount
- GetTimeSeconds
- GetDeltaSeconds
- GetMouseHitLocation
- GetMouseHitEntity
- IsPlayerInMainMenu
- InvokeDamageFX
Camera
- GetPlayerFOV
- SetPlayerFOV
- SetCameraViewDistance
- GetCameraViewDistance
- SetCameraLocation
- SetCameraRotation
Player
- SetPlayerPropertyValue
- GetPlayerPropertyValue
- SetPlayerRotationRate
- GetPlayerRotationRate
- GetPlayerWeapon
- GetWeaponType
- GetPlayerWeaponMuzzleLocation
- GetPlayerBoneNames
- GetPlayerSkeletalMeshComponent
- LineTrace
- GetAllPlayersInSphere
- GetAllPlayersInBox
- GetTerrainHeight
- EnableFirstPersonCamera
- IsFirstPersonCamera
- ConnectToServer
- SetControllerOrientedMovement
Camera
- StartCameraFade
- StopCameraFade
- PlayCameraShake
- StopCameraShake
- SetCameraShakeLocation
- SetCameraShakeRotation
- SetCameraShakeFOV
- GetScreenSize
- GetCameraLocation
- GetCameraRotation
- GetCameraForwardVector
- GetCameraRightVector
- GetCameraUpVector
- GetInputAxisValue
Waypoints
- CreateWaypoint
- DestroyWaypoint
- SetWaypointText
- SetWaypointLocation
- GetWaypointLocation
- GetAllWaypoints
Fireworks
Packages
Chats
HUDs
Post-processing
GUI
- DrawText
- SetDrawColor
- SetTextDrawScale
- GetTextSize
- DrawLine
- DrawLine3D
- DrawPoint3D
- DrawCircle3D
- DrawBox
- DrawRect
- DrawTexture
- DrawTextureEx
- WorldToScreen
- ScreenToWorld
- CreateTextBox
- DestroyTextBox
- SetTextBoxAnchors
- SetTextBoxAlignment
- SetTextBoxText
Chat
Ocean
- SetOceanWaterLevel
- SetOceanColor
- ResetOceanColor
- ShowMouseCursor
- SetInputMode
- IsMouseCursorEnabled
- GetMouseLocation
- GetMouseInputDelta
- DeprojectMouseLocationToWorld
- SetTime
- GetTime
Environment
- 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
Player
- IsValidPlayer
- GetStreamedPlayers
- GetPlayerLocation
- GetPlayerHeading
- IsPlayerTalking
- GetPlayerHealth
- GetPlayerArmor
- GetPlayerMovementMode
- GetPlayerMovementSpeed
- IsPlayerAiming
- IsPlayerReloading
- IsPlayerDead
- GetPlayerBoneLocation
- SetPlayerOutline
- SetPlayerClothingPreset
- IsPlayerInVehicle
- GetPlayerForwardVector
- GetPlayerRightVector
- GetPlayerUpVector
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