Template:ClientFunctions: Difference between revisions
From Onset Developer Wiki
Player duplication |
|||
(66 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
== Pak == | |||
=== Pak === | |||
*[[DoesPakExist]] | *[[DoesPakExist]] | ||
*[[LoadPak]] | *[[LoadPak]] | ||
*[[ReplaceObjectModelMesh]] | *[[ReplaceObjectModelMesh]] | ||
== | *[[ReplaceAnimationLibrarySequence]] | ||
*[[ | *[[GetAllFilesInPak]] | ||
*[[ | |||
*[[ | === Game === | ||
*[[ | *[[FlashInTaskbar]] | ||
*[[IsGameWindowFocused]] | |||
*[[SetStorageValue]] | |||
*[[GetStorageValue]] | |||
*[[GetGameLanguage]] | |||
*[[GetGameVersion]] | *[[GetGameVersion]] | ||
*[[GetGameVersionString]] | |||
*[[IsGameDevMode]] | *[[IsGameDevMode]] | ||
*[[IsPlayerInMainMenu]] | *[[IsPlayerInMainMenu]] | ||
*[[InvokeDamageFX]] | *[[InvokeDamageFX]] | ||
== Colors == | *[[UpdateDiscordActivity]] | ||
*[[ConnectToServer]] | |||
*[[SetNearClipPlane]] | |||
*[[CreateSky]] | |||
*[[GetAllPackages]] | |||
*[[GetPackageFiles]] | |||
*[[IsServer]] | |||
*[[IsClient]] | |||
*[[CopyToClipboard]] | |||
=== Colors === | |||
*[[RGBA]] | *[[RGBA]] | ||
*[[RGB]] | *[[RGB]] | ||
*[[HexToRGBA]] | *[[HexToRGBA]] | ||
== Miscellaneous == | |||
=== Miscellaneous === | |||
*[[LineTrace]] | |||
*[[createtable_ex]] | |||
*[[GetCameraFoV]] | |||
*[[SetCameraFoV]] | |||
*[[Random]] | *[[Random]] | ||
*[[RandomFloat]] | *[[RandomFloat]] | ||
Line 25: | Line 45: | ||
*[[GetDistance3D]] | *[[GetDistance3D]] | ||
*[[GetDistanceSquared3D]] | *[[GetDistanceSquared3D]] | ||
*[[Lerp]] | |||
*[[LerpVector]] | |||
*[[VectorToRotation]] | *[[VectorToRotation]] | ||
*[[RotationToVector]] | *[[RotationToVector]] | ||
Line 31: | Line 53: | ||
*[[RandomUnitVectorInCone]] | *[[RandomUnitVectorInCone]] | ||
*[[RandomUnitVectorInEllipticalCone]] | *[[RandomUnitVectorInEllipticalCone]] | ||
== Time == | *[[UpdateStreamingLevels]] | ||
=== Time === | |||
*[[GetTickCount]] | *[[GetTickCount]] | ||
*[[GetTimeSeconds]] | *[[GetTimeSeconds]] | ||
*[[GetDeltaSeconds]] | *[[GetDeltaSeconds]] | ||
== Player == | |||
=== Player === | |||
*[[TogglePlayerTag]] | |||
*[[SetPlayerVoiceTone]] | |||
*[[GetPlayerActor]] | |||
*[[GetPlayerSkeletalMeshComponent]] | |||
*[[GetPlayerId]] | |||
*[[SetPlayerPropertyValue]] | *[[SetPlayerPropertyValue]] | ||
*[[GetPlayerPropertyValue]] | *[[GetPlayerPropertyValue]] | ||
*[[SetPlayerRotationRate]] | *[[SetPlayerRotationRate]] | ||
*[[GetPlayerRotationRate]] | *[[GetPlayerRotationRate]] | ||
*[[SetPlayerJumpZVelocity]] | |||
*[[GetPlayerJumpZVelocity]] | |||
*[[GetPlayerWeapon]] | *[[GetPlayerWeapon]] | ||
*[[GetWeaponType]] | *[[GetWeaponType]] | ||
*[[GetPlayerWeaponMuzzleLocation]] | *[[GetPlayerWeaponMuzzleLocation]] | ||
*[[GetPlayerBoneNames]] | *[[GetPlayerBoneNames]] | ||
*[[GetAllPlayersInSphere]] | *[[GetAllPlayersInSphere]] | ||
*[[GetAllPlayersInBox]] | *[[GetAllPlayersInBox]] | ||
Line 51: | Line 81: | ||
*[[EnableFirstPersonCamera]] | *[[EnableFirstPersonCamera]] | ||
*[[IsFirstPersonCamera]] | *[[IsFirstPersonCamera]] | ||
*[[SetControllerOrientedMovement]] | *[[SetControllerOrientedMovement]] | ||
*[[IsValidPlayer]] | *[[IsValidPlayer]] | ||
Line 71: | Line 100: | ||
*[[GetPlayerVehicle]] | *[[GetPlayerVehicle]] | ||
*[[IsPlayerInVehicle]] | *[[IsPlayerInVehicle]] | ||
*[[GetPlayerVehicleSeat]] | |||
*[[GetPlayerEquippedWeaponSlot]] | |||
*[[GetPlayerForwardVector]] | *[[GetPlayerForwardVector]] | ||
*[[GetPlayerRightVector]] | *[[GetPlayerRightVector]] | ||
*[[GetPlayerUpVector]] | *[[GetPlayerUpVector]] | ||
== Camera == | *[[GetVehicleActor]] | ||
*[[SetPlayerLipMovement]] | |||
*[[IsPlayerPlayingAnimation]] | |||
*[[GetPlayerCount]] | |||
*[[CancelAimImmediately]] | |||
=== Camera === | |||
*[[StartCameraFade]] | *[[StartCameraFade]] | ||
*[[StopCameraFade]] | *[[StopCameraFade]] | ||
Line 90: | Line 127: | ||
*[[GetCameraRightVector]] | *[[GetCameraRightVector]] | ||
*[[GetCameraUpVector]] | *[[GetCameraUpVector]] | ||
*[[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 114: | Line 152: | ||
*[[SetChatLocation]] | *[[SetChatLocation]] | ||
*[[GetChatLocation]] | *[[GetChatLocation]] | ||
== HUDs == | |||
=== HUDs === | |||
*[[ShowWeaponHUD]] | *[[ShowWeaponHUD]] | ||
*[[ShowHealthHUD]] | *[[ShowHealthHUD]] | ||
== Post-processing == | *[[NotifyCrosshairHit]] | ||
=== Post-processing === | |||
*[[SetPostEffect]] | *[[SetPostEffect]] | ||
*[[AddPostProcessMaterial]] | *[[AddPostProcessMaterial]] | ||
*[[RemovePostProcessMaterial]] | *[[RemovePostProcessMaterial]] | ||
== GUI == | |||
=== GUI === | |||
*[[DrawText]] | *[[DrawText]] | ||
*[[SetDrawColor]] | *[[SetDrawColor]] | ||
Line 141: | Line 183: | ||
*[[SetTextBoxAlignment]] | *[[SetTextBoxAlignment]] | ||
*[[SetTextBoxText]] | *[[SetTextBoxText]] | ||
== Ocean == | |||
=== Ocean === | |||
*[[SetOceanWaterLevel]] | *[[SetOceanWaterLevel]] | ||
*[[SetOceanColor]] | *[[SetOceanColor]] | ||
*[[ResetOceanColor]] | *[[ResetOceanColor]] | ||
== Mouse == | |||
=== Mouse === | |||
{{ClientMouseFunctions}} | |||
=== Sky / Environment === | |||
== Environment == | |||
*[[SetTime]] | *[[SetTime]] | ||
*[[GetTime]] | *[[GetTime]] | ||
*[[SetSkySaturation]] | *[[SetSkySaturation]] | ||
*[[GetSkySaturation]] | |||
*[[SetCloudSpeed]] | |||
*[[GetCloudSpeed]] | |||
*[[SetCloudDensity]] | |||
*[[GetCloudDensity]] | |||
*[[SetSunRadius]] | *[[SetSunRadius]] | ||
*[[ | *[[GetSunRadius]] | ||
*[[SetMoonRadius]] | *[[SetMoonRadius]] | ||
*[[ | *[[GetMoonRadius]] | ||
*[[ | *[[SetHeightFogDensity]] | ||
*[[ | *[[GetHeightFogDensity]] | ||
=== Network === | |||
== Network == | |||
*[[GetPing]] | *[[GetPing]] | ||
*[[GetNetworkStats]] | *[[GetNetworkStats]] | ||
== NPC == | *[[GetServerIP]] | ||
*[[GetServerPort]] | |||
=== NPC === | |||
*[[IsValidNPC]] | |||
*[[GetNPCActor]] | |||
*[[SetNPCPropertyValue]] | *[[SetNPCPropertyValue]] | ||
*[[GetNPCPropertyValue]] | *[[GetNPCPropertyValue]] | ||
*[[GetNPCBoneNames]] | |||
*[[GetNPCBoneLocation]] | |||
*[[GetNPCCount]] | *[[GetNPCCount]] | ||
*[[GetStreamedNPC]] | *[[GetStreamedNPC]] | ||
Line 181: | Line 226: | ||
*[[GetNPCSkeletalMeshComponent]] | *[[GetNPCSkeletalMeshComponent]] | ||
*[[SetNPCOutline]] | *[[SetNPCOutline]] | ||
== Objects == | |||
=== Objects === | |||
*[[GetObjectActor]] | |||
*[[SetObjectPropertyValue]] | *[[SetObjectPropertyValue]] | ||
*[[GetObjectPropertyValue]] | *[[GetObjectPropertyValue]] | ||
Line 206: | Line 253: | ||
*[[SetObjectTexture]] | *[[SetObjectTexture]] | ||
*[[SetObjectAnimatedTexture]] | *[[SetObjectAnimatedTexture]] | ||
== Events == | |||
=== Events === | |||
*[[AddEvent]] | *[[AddEvent]] | ||
*[[CallEvent]] | *[[CallEvent]] | ||
*[[AddRemoteEvent]] | *[[AddRemoteEvent]] | ||
*[[CallRemoteEvent]] | *[[CallRemoteEvent]] | ||
== Pickup == | |||
=== Pickup === | |||
*[[GetPickupActor]] | |||
*[[GetPickupStaticMeshComponent]] | |||
*[[SetPickupPropertyValue]] | *[[SetPickupPropertyValue]] | ||
*[[GetPickupPropertyValue]] | *[[GetPickupPropertyValue]] | ||
Line 217: | Line 268: | ||
*[[GetStreamedPickups]] | *[[GetStreamedPickups]] | ||
*[[GetPickupLocation]] | *[[GetPickupLocation]] | ||
*[[ | |||
=== Door === | |||
* [[SetDoorPropertyValue]] | |||
* [[GetDoorPropertyValue]] | |||
* [[IsDoorInteractable]] | |||
*[[IsDoorOpen]] | |||
*[[GetDoorActor]] | |||
*[[IsValidDoor]] | *[[IsValidDoor]] | ||
*[[GetDoorCount]] | *[[GetDoorCount]] | ||
*[[GetNearestDoor]] | |||
*[[GetDoorLocation]] | *[[GetDoorLocation]] | ||
*[[GetStreamedDoors]] | *[[GetStreamedDoors]] | ||
===Text3D=== | |||
*[[SetText3DPropertyValue]] | |||
*[[GetText3DPropertyValue]] | |||
*[[GetText3DCount]] | |||
*[[IsValidText3D]] | |||
*[[GetText3DText]] | |||
=== Sound === | |||
*[[GetSoundCount]] | *[[GetSoundCount]] | ||
*[[IsValidSound]] | *[[IsValidSound]] | ||
*[[CreateSound]] | *[[CreateSound]] | ||
Line 238: | Line 303: | ||
*[[SetSoundFadeIn]] | *[[SetSoundFadeIn]] | ||
*[[SetSoundFadeOut]] | *[[SetSoundFadeOut]] | ||
== Text == | |||
=== Text === | |||
*[[SetText3DPropertyValue]] | *[[SetText3DPropertyValue]] | ||
*[[GetText3DPropertyValue]] | *[[GetText3DPropertyValue]] | ||
Line 244: | Line 310: | ||
*[[GetStreamedText3D]] | *[[GetStreamedText3D]] | ||
*[[GetText3DLocation]] | *[[GetText3DLocation]] | ||
== Timer == | |||
=== Timer === | |||
*[[Delay]] | *[[Delay]] | ||
*[[GetTimerCount]] | *[[GetTimerCount]] | ||
Line 255: | Line 322: | ||
*[[UnpauseTimer]] | *[[UnpauseTimer]] | ||
*[[GetTimerRemainingTime]] | *[[GetTimerRemainingTime]] | ||
== Vehicles == | |||
=== Vehicles === | |||
*[[SetVehiclePropertyValue]] | *[[SetVehiclePropertyValue]] | ||
*[[GetVehiclePropertyValue]] | *[[GetVehiclePropertyValue]] | ||
Line 288: | Line 356: | ||
*[[GetVehicleDoorLocation]] | *[[GetVehicleDoorLocation]] | ||
*[[GetVehicleHealth]] | *[[GetVehicleHealth]] | ||
== Web UI == | *[[GetVehicleSkeletalMeshComponent]] | ||
=== Web UI === | |||
*[[GetWebUICount]] | *[[GetWebUICount]] | ||
*[[CreateWebUI]] | *[[CreateWebUI]] | ||
Line 306: | Line 376: | ||
*[[SetWebAlignment]] | *[[SetWebAlignment]] | ||
*[[SetWebAnchors]] | *[[SetWebAnchors]] | ||
*[[SetWebFocus]] | |||
*[[ | |||
=== Key === | |||
{{Template:KeyFunctions}} | |||
Latest revision as of 17:59, 3 February 2022
Pak
Game
- FlashInTaskbar
- IsGameWindowFocused
- SetStorageValue
- GetStorageValue
- GetGameLanguage
- GetGameVersion
- GetGameVersionString
- IsGameDevMode
- IsPlayerInMainMenu
- InvokeDamageFX
- UpdateDiscordActivity
- ConnectToServer
- SetNearClipPlane
- CreateSky
- GetAllPackages
- GetPackageFiles
- IsServer
- IsClient
- CopyToClipboard
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
- TogglePlayerTag
- SetPlayerVoiceTone
- GetPlayerActor
- GetPlayerSkeletalMeshComponent
- GetPlayerId
- SetPlayerPropertyValue
- GetPlayerPropertyValue
- SetPlayerRotationRate
- GetPlayerRotationRate
- SetPlayerJumpZVelocity
- GetPlayerJumpZVelocity
- GetPlayerWeapon
- GetWeaponType
- GetPlayerWeaponMuzzleLocation
- GetPlayerBoneNames
- GetAllPlayersInSphere
- GetAllPlayersInBox
- GetTerrainHeight
- EnableFirstPersonCamera
- IsFirstPersonCamera
- SetControllerOrientedMovement
- IsValidPlayer
- GetPlayerName
- GetStreamedPlayers
- GetPlayerLocation
- GetPlayerHeading
- IsPlayerTalking
- GetPlayerHealth
- GetPlayerArmor
- GetPlayerMovementMode
- GetPlayerMovementSpeed
- IsPlayerAiming
- IsPlayerReloading
- IsPlayerDead
- GetPlayerBoneLocation
- SetPlayerOutline
- SetPlayerClothingPreset
- GetPlayerVehicle
- IsPlayerInVehicle
- GetPlayerVehicleSeat
- GetPlayerEquippedWeaponSlot
- GetPlayerForwardVector
- GetPlayerRightVector
- GetPlayerUpVector
- GetVehicleActor
- SetPlayerLipMovement
- IsPlayerPlayingAnimation
- GetPlayerCount
- CancelAimImmediately
Camera
- StartCameraFade
- StopCameraFade
- PlayCameraShake
- StopCameraShake
- SetCameraShakeLocation
- SetCameraShakeRotation
- SetCameraShakeFOV
- GetScreenSize
- SetCameraLocation
- GetCameraLocation
- SetCameraRotation
- GetCameraRotation
- GetCameraForwardVector
- GetCameraRightVector
- GetCameraUpVector
- 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
- IsMouseCursorEnabled
- SetMouseLocation
- GetMouseLocation
- GetMouseInputDelta
- DeprojectMouseLocationToWorld
Sky / Environment
- SetTime
- GetTime
- SetSkySaturation
- GetSkySaturation
- SetCloudSpeed
- GetCloudSpeed
- SetCloudDensity
- GetCloudDensity
- SetSunRadius
- GetSunRadius
- SetMoonRadius
- GetMoonRadius
- SetHeightFogDensity
- GetHeightFogDensity
Network
NPC
- IsValidNPC
- 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
Door
- SetDoorPropertyValue
- GetDoorPropertyValue
- IsDoorInteractable
- IsDoorOpen
- GetDoorActor
- IsValidDoor
- GetDoorCount
- GetNearestDoor
- GetDoorLocation
- GetStreamedDoors
Text3D
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
- GetVehicleSkeletalMeshComponent
Web UI
- GetWebUICount
- CreateWebUI
- CreateWebUI3D
- CreateRemoteWebUI
- CreateRemoteWebUI3D
- DestroyWebUI
- GetAllWebUI
- SetWebVisibility
- GetWebVisibility
- SetWebURL
- LoadWebFile
- ExecuteWebJS
- SetWebLocation
- SetWebRotation
- SetWebSize
- SetWebAlignment
- SetWebAnchors
- SetWebFocus