Template:ClientFunctions: Difference between revisions

From Onset Developer Wiki
No edit summary
 
(100 intermediate revisions by 4 users not shown)
Line 1: Line 1:
=== Pak ===
*[[DoesPakExist]]
*[[DoesPakExist]]
*[[LoadPak]]
*[[LoadPak]]
*[[ReplaceObjectModelMesh]]
*[[ReplaceObjectModelMesh]]
*[[GetAllCollisions]]
*[[ReplaceAnimationLibrarySequence]]
*[[CreateCollisionBox]]
*[[GetAllFilesInPak]]
*[[CreateCollisionSphere]]
 
*[[DestroyCollision]]
=== Game ===
*[[FlashInTaskbar]]
*[[IsGameWindowFocused]]
*[[SetStorageValue]]
*[[GetStorageValue]]
*[[GetGameLanguage]]
*[[GetGameVersion]]
*[[GetGameVersion]]
*[[GetGameVersionString]]
*[[IsGameDevMode]]
*[[IsPlayerInMainMenu]]
*[[InvokeDamageFX]]
*[[UpdateDiscordActivity]]
*[[ConnectToServer]]
*[[SetNearClipPlane]]
*[[CreateSky]]
*[[GetAllPackages]]
*[[GetPackageFiles]]
*[[IsServer]]
*[[IsClient]]
*[[CopyToClipboard]]
=== Colors ===
*[[RGBA]]
*[[RGBA]]
*[[RGB]]
*[[RGB]]
*[[HexToRGBA]]
*[[HexToRGBA]]
=== Miscellaneous ===
*[[LineTrace]]
*[[createtable_ex]]
*[[GetCameraFoV]]
*[[SetCameraFoV]]
*[[Random]]
*[[Random]]
*[[RandomFloat]]
*[[RandomFloat]]
Line 17: Line 45:
*[[GetDistance3D]]
*[[GetDistance3D]]
*[[GetDistanceSquared3D]]
*[[GetDistanceSquared3D]]
*[[Lerp]]
*[[LerpVector]]
*[[VectorToRotation]]
*[[VectorToRotation]]
*[[RotationToVector]]
*[[RotationToVector]]
Line 23: Line 53:
*[[RandomUnitVectorInCone‎‎]]
*[[RandomUnitVectorInCone‎‎]]
*[[RandomUnitVectorInEllipticalCone]]
*[[RandomUnitVectorInEllipticalCone]]
*[[UpdateStreamingLevels]]
=== Time ===
*[[GetTickCount]]
*[[GetTickCount]]
*[[GetTimeSeconds]]
*[[GetTimeSeconds]]
*[[GetDeltaSeconds]]
*[[GetDeltaSeconds]]
*[[GetMouseHitLocation]]
 
*[[GetMouseHitEntity]]
=== Player ===
*[[IsPlayerInMainMenu]]
*[[TogglePlayerTag]]
*[[InvokeDamageFX]]
*[[SetPlayerVoiceTone]]
*[[GetPlayerFOV]]
*[[GetPlayerActor]]
*[[SetPlayerFOV]]
*[[GetPlayerSkeletalMeshComponent]]
*[[SetPlayerCameraViewDistance]]
*[[GetPlayerId]]
*[[GetPlayerCameraViewDistance]]
*[[SetPlayerPropertyValue]]
*[[SetPlayerCameraLocation]]
*[[GetPlayerPropertyValue]]
*[[SetPlayerCameraRotation]]
*[[SetPlayerRotationRate]]
*[[SetPlayerRotationRate]]
*[[GetPlayerRotationRate]]
*[[GetPlayerRotationRate]]
*[[SetPlayerJumpZVelocity]]
*[[GetPlayerJumpZVelocity]]
*[[GetPlayerWeapon]]
*[[GetPlayerWeapon]]
*[[GetWeaponType]]
*[[GetWeaponType]]
*[[GetPlayerWeaponMuzzleLocation]]
*[[GetPlayerBoneNames]]
*[[GetPlayerBoneNames]]
*[[LineTrace]]
*[[GetAllPlayersInSphere]]
*[[GetAllPlayersInSphere]]
*[[GetAllPlayersInBox]]
*[[GetAllPlayersInBox]]
*[[GetTerrainHeight]]
*[[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]]
*[[StartCameraFade]]
*[[StopCameraFade]]
*[[StopCameraFade]]
Line 53: Line 120:
*[[SetCameraShakeFOV]]
*[[SetCameraShakeFOV]]
*[[GetScreenSize]]
*[[GetScreenSize]]
*[[GetPlayerCameraLocation]]
*[[SetCameraLocation]]
*[[GetPlayerCameraRotation]]
*[[GetCameraLocation]]
*[[GetPlayerCameraForwardVector]]
*[[SetCameraRotation]]
*[[GetPlayerCameraRightVector]]
*[[GetCameraRotation]]
*[[GetPlayerCameraUpVector]]
*[[GetCameraForwardVector]]
*[[GetInputAxisValue]]
*[[GetCameraRightVector]]
*[[SetWaypoint]]
*[[GetCameraUpVector]]
*[[SetCameraViewDistance]]
*[[GetCameraViewDistance]]
 
=== Waypoints ===
*[[CreateWaypoint]]
*[[DestroyWaypoint]]
*[[SetWaypointText]]
*[[SetWaypointLocation]]
*[[GetWaypointLocation]]
*[[GetAllWaypoints]]
 
=== Fireworks ===
*[[CreateFireworks]]
*[[CreateFireworks]]
=== Packages ===
*[[GetPackageName]]
*[[GetPackageName]]
*[[ImportPackage]]
*[[AddFunctionExport]]
=== Chat ===
*[[AddPlayerChat]]
*[[AddPlayerChat]]
*[[IsChatFocus]]
*[[ShowChat]]
*[[ShowChat]]
*[[SetChatLocation]]
*[[SetChatLocation]]
*[[GetChatLocation]]
*[[GetChatLocation]]
=== HUDs ===
*[[ShowWeaponHUD]]
*[[ShowWeaponHUD]]
*[[ShowHealthHUD]]
*[[ShowHealthHUD]]
*[[NotifyCrosshairHit]]
=== Post-processing ===
*[[SetPostEffect]]
*[[SetPostEffect]]
*[[AddPostProcessMaterial]]
*[[RemovePostProcessMaterial]]
=== GUI ===
*[[DrawText]]
*[[DrawText]]
*[[SetDrawColor]]
*[[SetDrawColor]]
Line 80: Line 175:
*[[DrawRect]]
*[[DrawRect]]
*[[DrawTexture]]
*[[DrawTexture]]
*[[DrawTextureEx]]
*[[WorldToScreen]]
*[[WorldToScreen]]
*[[ScreenToWorld]]
*[[ScreenToWorld]]
Line 87: Line 183:
*[[SetTextBoxAlignment]]
*[[SetTextBoxAlignment]]
*[[SetTextBoxText]]
*[[SetTextBoxText]]
*[[IsChatFocus]]
 
=== Ocean ===
*[[SetOceanWaterLevel]]
*[[SetOceanWaterLevel]]
*[[SetOceanColor]]
*[[SetOceanColor]]
*[[ResetOceanColor]]
*[[ResetOceanColor]]
*[[ShowMouseCursor]]
 
*[[SetInputMode]]
=== Mouse ===
*[[IsMouseCursorEnabled]]
{{ClientMouseFunctions}}
*[[GetMouseLocation]]
 
*[[GetMouseInputDelta]]
=== Sky / Environment ===
*[[DeprojectMouseLocationToWorld]]
*[[SetTime]]
*[[SetTime]]
*[[GetTime]]
*[[GetTime]]
*[[SetSkySaturation]]
*[[SetSkySaturation]]
*[[GetSkySaturation]]
*[[SetCloudSpeed]]
*[[GetCloudSpeed]]
*[[SetCloudDensity]]
*[[GetCloudDensity]]
*[[SetSunRadius]]
*[[SetSunRadius]]
*[[SetSunShine]]
*[[GetSunRadius]]
*[[SetSunAzimuth]]
*[[SetStarsBrightness]]
*[[SetMoonRadius]]
*[[SetMoonRadius]]
*[[SetMoonShine]]
*[[GetMoonRadius]]
*[[SetFogDensity]]
*[[SetHeightFogDensity]]
*[[SetSunLightIntensity]]
*[[GetHeightFogDensity]]
*[[SetSkyLightIntensity]]
 
*[[SetMoonLightIntensity]]
=== Network ===
*[[SetSkyRotationSpeed]]
*[[SetWeather]]
*[[GetLightCount]]
*[[GetStreamedLights]]
*[[GetLightLocation]]
*[[GetPing]]
*[[GetPing]]
*[[GetNetworkStats]]
*[[GetNetworkStats]]
*[[GetServerIP]]
*[[GetServerPort]]
=== NPC ===
*[[IsValidNPC]]
*[[GetNPCActor]]
*[[SetNPCPropertyValue]]
*[[GetNPCPropertyValue]]
*[[GetNPCBoneNames]]
*[[GetNPCBoneLocation]]
*[[GetNPCCount]]
*[[GetNPCCount]]
*[[GetStreamedNPC]]
*[[GetStreamedNPC]]
*[[GetNPCLocation]]
*[[GetNPCLocation]]
*[[GetNPCSkeletalMeshComponent]]
*[[SetNPCOutline]]
*[[SetNPCOutline]]
=== Objects ===
*[[GetObjectActor]]
*[[SetObjectPropertyValue]]
*[[GetObjectPropertyValue]]
*[[GetObjectCount]]
*[[GetObjectCount]]
*[[GetObjectModelCount]]
*[[GetObjectModelCount]]
*[[GetObjectModelGroup]]
*[[GetObjectModelGroup]]
*[[GetObjectModelName]]
*[[GetStreamedObjects]]
*[[GetStreamedObjects]]
*[[GetObjectModel]]
*[[GetObjectModel]]
Line 133: Line 244:
*[[EnableObjectHitEvents]]
*[[EnableObjectHitEvents]]
*[[GetObjectMass]]
*[[GetObjectMass]]
*[[GetObjectStaticMeshComponent]]
*[[SetObjectEditorSpeed]]
*[[SetObjectEditorSpeed]]
*[[SetObjectEditable]]
*[[SetObjectEditable]]
*[[SetObjectOutline]]
*[[SetObjectOutline]]
*[[SetObjectCastShadow]]
*[[SetObjectCastShadow]]
*[[ImportPackage]]
*[[SetObjectColor]]
*[[AddFunctionExport]]
*[[SetObjectEmissiveColor]]
*[[SetObjectTexture]]
*[[SetObjectAnimatedTexture]]
 
=== Events ===
*[[AddEvent]]
*[[AddEvent]]
*[[CallEvent]]
*[[CallEvent]]
*[[AddRemoteEvent]]
*[[AddRemoteEvent]]
*[[CallRemoteEvent]]
*[[CallRemoteEvent]]
=== Pickup ===
*[[GetPickupActor]]
*[[GetPickupStaticMeshComponent]]
*[[SetPickupPropertyValue]]
*[[GetPickupPropertyValue]]
*[[GetPickupCount]]
*[[GetPickupCount]]
*[[GetStreamedPickups]]
*[[GetStreamedPickups]]
*[[GetPickupLocation]]
*[[GetPickupLocation]]
*[[GetPlayerCount]]
 
*[[IsValidPlayer]]
=== Door ===
*[[GetStreamedPlayers]]
* [[SetDoorPropertyValue]]
*[[GetPlayerLocation]]
* [[GetDoorPropertyValue]]
*[[GetPlayerHeading]]
* [[IsDoorInteractable]]
*[[IsPlayerTalking]]
*[[IsDoorOpen]]
*[[GetPlayerHealth]]
*[[GetDoorActor]]
*[[GetPlayerArmor]]
*[[IsValidDoor]]
*[[GetPlayerMovementMode]]
*[[GetDoorCount]]
*[[GetPlayerMovementSpeed]]
*[[GetNearestDoor]]
*[[IsPlayerAiming]]
*[[GetDoorLocation]]
*[[IsPlayerReloading]]
*[[GetStreamedDoors]]
*[[IsPlayerDead]]
 
*[[GetPlayerBoneLocation]]
===Text3D===
*[[SetPlayerOutline]]
*[[SetText3DPropertyValue]]
*[[IsPlayerInVehicle]]
*[[GetText3DPropertyValue]]
*[[GetText3DCount]]
*[[IsValidText3D]]
*[[GetText3DText]]
 
=== Sound ===
*[[GetSoundCount]]
*[[GetSoundCount]]
*[[IsValidSound]]
*[[IsValidSound]]
*[[CreateSound]]
*[[CreateSound]]
*[[CreateSound3D]]
*[[CreateSound3D]]
*[[SetSound3DLocation]]
*[[GetSound3DLocation]]
*[[DestroySound]]
*[[DestroySound]]
*[[GetAllSounds]]
*[[GetAllSounds]]
Line 174: Line 303:
*[[SetSoundFadeIn]]
*[[SetSoundFadeIn]]
*[[SetSoundFadeOut]]
*[[SetSoundFadeOut]]
*[[GetSoundDuration]]
 
=== Text ===
*[[SetText3DPropertyValue]]
*[[GetText3DPropertyValue]]
*[[GetText3DCount]]
*[[GetText3DCount]]
*[[GetStreamedText3D]]
*[[GetStreamedText3D]]
*[[GetText3DLocation]]
*[[GetText3DLocation]]
=== Timer ===
*[[Delay]]
*[[GetTimerCount]]
*[[GetTimerCount]]
*[[GetAllTimers]]
*[[GetAllTimers]]
Line 187: Line 322:
*[[UnpauseTimer]]
*[[UnpauseTimer]]
*[[GetTimerRemainingTime]]
*[[GetTimerRemainingTime]]
=== Vehicles ===
*[[SetVehiclePropertyValue]]
*[[GetVehiclePropertyValue]]
*[[GetVehicleCount]]
*[[GetVehicleCount]]
*[[GetVehicleLicensePlate]]
*[[IsValidVehicle]]
*[[IsValidVehicle]]
*[[GetStreamedVehicles]]
*[[GetStreamedVehicles]]
*[[GetVehicleBoneLocation]]
*[[GetVehicleBoneNames]]
*[[GetVehicleModel]]
*[[GetVehicleModel]]
*[[GetVehicleLocation]]
*[[GetVehicleLocation]]
Line 214: Line 356:
*[[GetVehicleDoorLocation]]
*[[GetVehicleDoorLocation]]
*[[GetVehicleHealth]]
*[[GetVehicleHealth]]
*[[GetVehicleSkeletalMeshComponent]]
=== Web UI ===
*[[GetWebUICount]]
*[[GetWebUICount]]
*[[CreateWebUI]]
*[[CreateWebUI]]
Line 231: Line 376:
*[[SetWebAlignment]]
*[[SetWebAlignment]]
*[[SetWebAnchors]]
*[[SetWebAnchors]]
*[[IsCtrlPressed]]
*[[SetWebFocus]]
*[[IsShiftPressed]]
 
*[[IsAltPressed]]
=== Key ===
*[[IsCmdPressed]]
{{Template:KeyFunctions}}
*[[SetIgnoreMoveInput]]
*[[SetIgnoreLookInput]]
*[[SetPlayerPropertyValue]]
*[[GetPlayerPropertyValue]]
*[[SetVehiclePropertyValue]]
*[[GetVehiclePropertyValue]]
*[[SetObjectPropertyValue]]
*[[GetObjectPropertyValue]]
*[[SetNPCPropertyValue]]
*[[GetNPCPropertyValue]]
*[[SetText3DPropertyValue]]
*[[GetText3DPropertyValue]]
*[[SetPickupPropertyValue]]
*[[GetPickupPropertyValue]]

Latest revision as of 17:59, 3 February 2022

Pak

Game

Colors

Miscellaneous

Time

Player

Camera

Waypoints

Fireworks

Packages

Chat

HUDs

Post-processing

GUI

Ocean

Mouse

Sky / Environment

Network

NPC

Objects

Events

Pickup

Door

Text3D

Sound

Text

Timer

Vehicles

Web UI

Key