Template:ClientFunctions: Difference between revisions
From Onset Developer Wiki
No edit summary |
No edit summary |
||
(17 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
== Pak == | |||
=== Pak === | |||
*[[DoesPakExist]] | *[[DoesPakExist]] | ||
*[[LoadPak]] | *[[LoadPak]] | ||
Line 5: | Line 6: | ||
*[[GetAllFilesInPak]] | *[[GetAllFilesInPak]] | ||
== Collisions == | === Collisions === | ||
*[[GetAllCollisions]] | *[[GetAllCollisions]] | ||
*[[CreateCollisionBox]] | *[[CreateCollisionBox]] | ||
*[[CreateCollisionSphere]] | *[[CreateCollisionSphere]] | ||
*[[DestroyCollision]] | *[[DestroyCollision]] | ||
== Game == | |||
=== Game === | |||
*[[GetGameVersion]] | *[[GetGameVersion]] | ||
*[[IsGameDevMode]] | *[[IsGameDevMode]] | ||
*[[IsPlayerInMainMenu]] | *[[IsPlayerInMainMenu]] | ||
*[[InvokeDamageFX]] | *[[InvokeDamageFX]] | ||
== Colors == | |||
=== Colors === | |||
*[[RGBA]] | *[[RGBA]] | ||
*[[RGB]] | *[[RGB]] | ||
*[[HexToRGBA]] | *[[HexToRGBA]] | ||
== Miscellaneous == | |||
=== Miscellaneous === | |||
*[[LineTrace]] | *[[LineTrace]] | ||
*[[createtable_ex]] | *[[createtable_ex]] | ||
*[[ | *[[GetCameraFoV]] | ||
*[[ | *[[SetCameraFoV]] | ||
*[[Random]] | *[[Random]] | ||
*[[RandomFloat]] | *[[RandomFloat]] | ||
Line 31: | Line 35: | ||
*[[GetDistance3D]] | *[[GetDistance3D]] | ||
*[[GetDistanceSquared3D]] | *[[GetDistanceSquared3D]] | ||
*[[Lerp]] | |||
*[[LerpVector]] | |||
*[[VectorToRotation]] | *[[VectorToRotation]] | ||
*[[RotationToVector]] | *[[RotationToVector]] | ||
Line 37: | Line 43: | ||
*[[RandomUnitVectorInCone]] | *[[RandomUnitVectorInCone]] | ||
*[[RandomUnitVectorInEllipticalCone]] | *[[RandomUnitVectorInEllipticalCone]] | ||
== Time == | *[[UpdateStreamingLevels]] | ||
=== Time === | |||
*[[GetTickCount]] | *[[GetTickCount]] | ||
*[[GetTimeSeconds]] | *[[GetTimeSeconds]] | ||
*[[GetDeltaSeconds]] | *[[GetDeltaSeconds]] | ||
== Player == | |||
=== Player === | |||
*[[GetPlayerActor]] | |||
*[[GetPlayerId]] | *[[GetPlayerId]] | ||
*[[SetPlayerPropertyValue]] | *[[SetPlayerPropertyValue]] | ||
Line 57: | Line 67: | ||
*[[EnableFirstPersonCamera]] | *[[EnableFirstPersonCamera]] | ||
*[[IsFirstPersonCamera]] | *[[IsFirstPersonCamera]] | ||
*[[SetNearClipPlane]] | |||
*[[ConnectToServer]] | *[[ConnectToServer]] | ||
*[[SetControllerOrientedMovement]] | *[[SetControllerOrientedMovement]] | ||
Line 81: | Line 92: | ||
*[[GetPlayerRightVector]] | *[[GetPlayerRightVector]] | ||
*[[GetPlayerUpVector]] | *[[GetPlayerUpVector]] | ||
== Camera == | *[[GetVehicleActor]] | ||
*[[SetPlayerLipMovement]] | |||
*[[IsPlayerPlayingAnimation]] | |||
=== Camera === | |||
*[[StartCameraFade]] | *[[StartCameraFade]] | ||
*[[StopCameraFade]] | *[[StopCameraFade]] | ||
Line 100: | Line 115: | ||
*[[SetCameraViewDistance]] | *[[SetCameraViewDistance]] | ||
*[[GetCameraViewDistance]] | *[[GetCameraViewDistance]] | ||
== Waypoints == | |||
=== Waypoints === | |||
*[[CreateWaypoint]] | *[[CreateWaypoint]] | ||
*[[DestroyWaypoint]] | *[[DestroyWaypoint]] | ||
*[[ | *[[SetWaypointText]] | ||
*[[SetWaypointLocation]] | *[[SetWaypointLocation]] | ||
*[[GetWaypointLocation]] | *[[GetWaypointLocation]] | ||
*[[GetAllWaypoints]] | *[[GetAllWaypoints]] | ||
== Fireworks == | |||
=== Fireworks === | |||
*[[CreateFireworks]] | *[[CreateFireworks]] | ||
== Packages == | |||
=== Packages === | |||
*[[GetPackageName]] | *[[GetPackageName]] | ||
*[[ImportPackage]] | *[[ImportPackage]] | ||
*[[AddFunctionExport]] | *[[AddFunctionExport]] | ||
== Chat == | |||
=== Chat === | |||
*[[AddPlayerChat]] | *[[AddPlayerChat]] | ||
*[[IsChatFocus]] | *[[IsChatFocus]] | ||
Line 119: | Line 138: | ||
*[[SetChatLocation]] | *[[SetChatLocation]] | ||
*[[GetChatLocation]] | *[[GetChatLocation]] | ||
== HUDs == | |||
=== HUDs === | |||
*[[ShowWeaponHUD]] | *[[ShowWeaponHUD]] | ||
*[[ShowHealthHUD]] | *[[ShowHealthHUD]] | ||
== Post-processing == | |||
=== Post-processing === | |||
*[[SetPostEffect]] | *[[SetPostEffect]] | ||
*[[AddPostProcessMaterial]] | *[[AddPostProcessMaterial]] | ||
*[[RemovePostProcessMaterial]] | *[[RemovePostProcessMaterial]] | ||
== GUI == | |||
=== GUI === | |||
*[[DrawText]] | *[[DrawText]] | ||
*[[SetDrawColor]] | *[[SetDrawColor]] | ||
Line 146: | Line 168: | ||
*[[SetTextBoxAlignment]] | *[[SetTextBoxAlignment]] | ||
*[[SetTextBoxText]] | *[[SetTextBoxText]] | ||
== Ocean == | |||
=== Ocean === | |||
*[[SetOceanWaterLevel]] | *[[SetOceanWaterLevel]] | ||
*[[SetOceanColor]] | *[[SetOceanColor]] | ||
*[[ResetOceanColor]] | *[[ResetOceanColor]] | ||
== Mouse == | |||
=== Mouse === | |||
*[[ShowMouseCursor]] | *[[ShowMouseCursor]] | ||
*[[GetMouseHitLocation]] | *[[GetMouseHitLocation]] | ||
Line 156: | Line 180: | ||
*[[SetInputMode]] | *[[SetInputMode]] | ||
*[[IsMouseCursorEnabled]] | *[[IsMouseCursorEnabled]] | ||
*[[SetMouseLocation]] | |||
*[[GetMouseLocation]] | *[[GetMouseLocation]] | ||
*[[GetMouseInputDelta]] | *[[GetMouseInputDelta]] | ||
*[[DeprojectMouseLocationToWorld]] | *[[DeprojectMouseLocationToWorld]] | ||
== Environment == | |||
=== Environment === | |||
*[[SetTime]] | *[[SetTime]] | ||
*[[GetTime]] | *[[GetTime]] | ||
Line 175: | Line 201: | ||
*[[SetSkyRotationSpeed]] | *[[SetSkyRotationSpeed]] | ||
*[[SetWeather]] | *[[SetWeather]] | ||
== Network == | |||
=== Network === | |||
*[[GetPing]] | *[[GetPing]] | ||
*[[GetNetworkStats]] | *[[GetNetworkStats]] | ||
== NPC == | |||
=== NPC === | |||
*[[GetNPCActor]] | |||
*[[SetNPCPropertyValue]] | *[[SetNPCPropertyValue]] | ||
*[[GetNPCPropertyValue]] | *[[GetNPCPropertyValue]] | ||
*[[GetNPCBoneNames]] | |||
*[[GetNPCBoneLocation]] | |||
*[[GetNPCCount]] | *[[GetNPCCount]] | ||
*[[GetStreamedNPC]] | *[[GetStreamedNPC]] | ||
Line 186: | Line 217: | ||
*[[GetNPCSkeletalMeshComponent]] | *[[GetNPCSkeletalMeshComponent]] | ||
*[[SetNPCOutline]] | *[[SetNPCOutline]] | ||
== Objects == | |||
=== Objects === | |||
*[[GetObjectActor]] | |||
*[[SetObjectPropertyValue]] | *[[SetObjectPropertyValue]] | ||
*[[GetObjectPropertyValue]] | *[[GetObjectPropertyValue]] | ||
Line 211: | Line 244: | ||
*[[SetObjectTexture]] | *[[SetObjectTexture]] | ||
*[[SetObjectAnimatedTexture]] | *[[SetObjectAnimatedTexture]] | ||
== Events == | |||
=== Events === | |||
*[[AddEvent]] | *[[AddEvent]] | ||
*[[CallEvent]] | *[[CallEvent]] | ||
*[[AddRemoteEvent]] | *[[AddRemoteEvent]] | ||
*[[CallRemoteEvent]] | *[[CallRemoteEvent]] | ||
== Pickup == | |||
=== Pickup === | |||
*[[GetPickupActor]] | |||
*[[GetPickupStaticMeshComponent]] | |||
*[[SetPickupPropertyValue]] | *[[SetPickupPropertyValue]] | ||
*[[GetPickupPropertyValue]] | *[[GetPickupPropertyValue]] | ||
Line 223: | Line 260: | ||
*[[GetPickupLocation]] | *[[GetPickupLocation]] | ||
*[[GetPlayerCount]] | *[[GetPlayerCount]] | ||
== Door == | |||
=== Door === | |||
*[[GetDoorActor]] | |||
*[[IsValidDoor]] | *[[IsValidDoor]] | ||
*[[GetDoorCount]] | *[[GetDoorCount]] | ||
*[[GetNearestDoor]] | |||
*[[GetDoorLocation]] | *[[GetDoorLocation]] | ||
*[[GetStreamedDoors]] | *[[GetStreamedDoors]] | ||
=== Sound === | |||
*[[GetSoundCount]] | *[[GetSoundCount]] | ||
*[[IsValidSound]] | *[[IsValidSound]] | ||
*[[CreateSound]] | *[[CreateSound]] | ||
Line 243: | Line 284: | ||
*[[SetSoundFadeIn]] | *[[SetSoundFadeIn]] | ||
*[[SetSoundFadeOut]] | *[[SetSoundFadeOut]] | ||
== Text == | |||
=== Text === | |||
*[[SetText3DPropertyValue]] | *[[SetText3DPropertyValue]] | ||
*[[GetText3DPropertyValue]] | *[[GetText3DPropertyValue]] | ||
Line 249: | Line 291: | ||
*[[GetStreamedText3D]] | *[[GetStreamedText3D]] | ||
*[[GetText3DLocation]] | *[[GetText3DLocation]] | ||
== Timer == | |||
=== Timer === | |||
*[[Delay]] | *[[Delay]] | ||
*[[GetTimerCount]] | *[[GetTimerCount]] | ||
Line 260: | Line 303: | ||
*[[UnpauseTimer]] | *[[UnpauseTimer]] | ||
*[[GetTimerRemainingTime]] | *[[GetTimerRemainingTime]] | ||
== Vehicles == | |||
=== Vehicles === | |||
*[[SetVehiclePropertyValue]] | *[[SetVehiclePropertyValue]] | ||
*[[GetVehiclePropertyValue]] | *[[GetVehiclePropertyValue]] | ||
Line 293: | Line 337: | ||
*[[GetVehicleDoorLocation]] | *[[GetVehicleDoorLocation]] | ||
*[[GetVehicleHealth]] | *[[GetVehicleHealth]] | ||
== Web UI == | |||
=== Web UI === | |||
*[[GetWebUICount]] | *[[GetWebUICount]] | ||
*[[CreateWebUI]] | *[[CreateWebUI]] | ||
Line 311: | Line 356: | ||
*[[SetWebAlignment]] | *[[SetWebAlignment]] | ||
*[[SetWebAnchors]] | *[[SetWebAnchors]] | ||
== Key == | |||
=== Key === | |||
*[[IsCtrlPressed]] | *[[IsCtrlPressed]] | ||
*[[IsShiftPressed]] | *[[IsShiftPressed]] |
Revision as of 20:23, 18 January 2020
Pak
Collisions
Game
Colors
Miscellaneous
- LineTrace
- createtable_ex
- GetCameraFoV
- SetCameraFoV
- Random
- RandomFloat
- Base64Encode
- Base64Decode
- GetDistance2D
- GetDistance3D
- GetDistanceSquared3D
- Lerp
- LerpVector
- VectorToRotation
- RotationToVector
- NormalizeVector
- IsFloatNearlyZero
- RandomUnitVectorInCone
- RandomUnitVectorInEllipticalCone
- UpdateStreamingLevels
Time
Player
- GetPlayerActor
- GetPlayerId
- SetPlayerPropertyValue
- GetPlayerPropertyValue
- SetPlayerRotationRate
- GetPlayerRotationRate
- GetPlayerWeapon
- GetWeaponType
- GetPlayerWeaponMuzzleLocation
- GetPlayerBoneNames
- GetPlayerSkeletalMeshComponent
- GetAllPlayersInSphere
- GetAllPlayersInBox
- GetTerrainHeight
- EnableFirstPersonCamera
- IsFirstPersonCamera
- SetNearClipPlane
- ConnectToServer
- SetControllerOrientedMovement
- IsValidPlayer
- GetPlayerName
- GetStreamedPlayers
- GetPlayerLocation
- GetPlayerHeading
- IsPlayerTalking
- GetPlayerHealth
- GetPlayerArmor
- GetPlayerMovementMode
- GetPlayerMovementSpeed
- IsPlayerAiming
- IsPlayerReloading
- IsPlayerDead
- GetPlayerBoneLocation
- SetPlayerOutline
- SetPlayerClothingPreset
- GetPlayerVehicle
- IsPlayerInVehicle
- GetPlayerEquippedWeaponSlot
- GetPlayerForwardVector
- GetPlayerRightVector
- GetPlayerUpVector
- GetVehicleActor
- SetPlayerLipMovement
- IsPlayerPlayingAnimation
Camera
- StartCameraFade
- StopCameraFade
- PlayCameraShake
- StopCameraShake
- SetCameraShakeLocation
- SetCameraShakeRotation
- SetCameraShakeFOV
- GetScreenSize
- SetCameraLocation
- GetCameraLocation
- SetCameraRotation
- GetCameraRotation
- GetCameraForwardVector
- GetCameraRightVector
- GetCameraUpVector
- GetInputAxisValue
- SetCameraViewDistance
- GetCameraViewDistance
Waypoints
- CreateWaypoint
- DestroyWaypoint
- SetWaypointText
- 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
- SetMouseLocation
- GetMouseLocation
- GetMouseInputDelta
- DeprojectMouseLocationToWorld
Environment
- SetTime
- GetTime
- SetSkySaturation
- SetSunRadius
- SetSunShine
- SetSunAzimuth
- SetStarsBrightness
- SetMoonRadius
- SetMoonShine
- SetFogDensity
- SetSunLightIntensity
- SetSkyLightIntensity
- SetMoonLightIntensity
- SetSkyRotationSpeed
- SetWeather
Network
NPC
- GetNPCActor
- SetNPCPropertyValue
- GetNPCPropertyValue
- GetNPCBoneNames
- GetNPCBoneLocation
- GetNPCCount
- GetStreamedNPC
- GetNPCLocation
- GetNPCSkeletalMeshComponent
- SetNPCOutline
Objects
- GetObjectActor
- 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
- GetPickupActor
- GetPickupStaticMeshComponent
- SetPickupPropertyValue
- GetPickupPropertyValue
- GetPickupCount
- GetStreamedPickups
- GetPickupLocation
- GetPlayerCount
Door
Sound
- GetSoundCount
- 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