Template:ClientFunctions: Difference between revisions

From Onset Developer Wiki
No edit summary
 
(48 intermediate revisions by 2 users not shown)
Line 1: Line 1:


== Pak ==
=== Pak ===
*[[DoesPakExist]]
*[[DoesPakExist]]
*[[LoadPak]]
*[[LoadPak]]
*[[ReplaceObjectModelMesh]]
*[[ReplaceObjectModelMesh]]
*[[ReplaceAnimationLibrarySequence]]
*[[GetAllFilesInPak]]
*[[GetAllFilesInPak]]


== Collisions ==
=== Game ===
*[[GetAllCollisions]]
*[[FlashInTaskbar]]
*[[CreateCollisionBox]]
*[[IsGameWindowFocused]]
*[[CreateCollisionSphere]]
*[[SetStorageValue]]
*[[DestroyCollision]]
*[[GetStorageValue]]
 
*[[GetGameLanguage]]
== Game ==
*[[GetGameVersion]]
*[[GetGameVersion]]
*[[GetGameVersionString]]
*[[IsGameDevMode]]
*[[IsGameDevMode]]
*[[IsPlayerInMainMenu]]
*[[IsPlayerInMainMenu]]
*[[InvokeDamageFX]]
*[[InvokeDamageFX]]
*[[UpdateDiscordActivity]]
*[[ConnectToServer]]
*[[SetNearClipPlane]]
*[[CreateSky]]
*[[GetAllPackages]]
*[[GetPackageFiles]]
*[[IsServer]]
*[[IsClient]]
*[[CopyToClipboard]]


== Colors ==
=== Colors ===
*[[RGBA]]
*[[RGBA]]
*[[RGB]]
*[[RGB]]
*[[HexToRGBA]]
*[[HexToRGBA]]


== Miscellaneous ==
=== Miscellaneous ===
*[[LineTrace]]
*[[LineTrace]]
*[[createtable_ex]]
*[[createtable_ex]]
Line 35: Line 45:
*[[GetDistance3D]]
*[[GetDistance3D]]
*[[GetDistanceSquared3D]]
*[[GetDistanceSquared3D]]
*[[Lerp]]
*[[LerpVector]]
*[[VectorToRotation]]
*[[VectorToRotation]]
*[[RotationToVector]]
*[[RotationToVector]]
Line 41: Line 53:
*[[RandomUnitVectorInCone‎‎]]
*[[RandomUnitVectorInCone‎‎]]
*[[RandomUnitVectorInEllipticalCone]]
*[[RandomUnitVectorInEllipticalCone]]
*[[UpdateStreamingLevels]]


== Time ==
=== Time ===
*[[GetTickCount]]
*[[GetTickCount]]
*[[GetTimeSeconds]]
*[[GetTimeSeconds]]
*[[GetDeltaSeconds]]
*[[GetDeltaSeconds]]


== Player ==
=== Player ===
*[[TogglePlayerTag]]
*[[SetPlayerVoiceTone]]
*[[GetPlayerActor]]
*[[GetPlayerActor]]
*[[GetPlayerSkeletalMeshComponent]]
*[[GetPlayerId]]
*[[GetPlayerId]]
*[[SetPlayerPropertyValue]]
*[[SetPlayerPropertyValue]]
Line 54: Line 70:
*[[SetPlayerRotationRate]]
*[[SetPlayerRotationRate]]
*[[GetPlayerRotationRate]]
*[[GetPlayerRotationRate]]
*[[SetPlayerJumpZVelocity]]
*[[GetPlayerJumpZVelocity]]
*[[GetPlayerWeapon]]
*[[GetPlayerWeapon]]
*[[GetWeaponType]]
*[[GetWeaponType]]
*[[GetPlayerWeaponMuzzleLocation]]
*[[GetPlayerWeaponMuzzleLocation]]
*[[GetPlayerBoneNames]]
*[[GetPlayerBoneNames]]
*[[GetPlayerSkeletalMeshComponent]]
*[[GetAllPlayersInSphere]]
*[[GetAllPlayersInSphere]]
*[[GetAllPlayersInBox]]
*[[GetAllPlayersInBox]]
Line 64: Line 81:
*[[EnableFirstPersonCamera]]
*[[EnableFirstPersonCamera]]
*[[IsFirstPersonCamera]]
*[[IsFirstPersonCamera]]
*[[SetNearClipPlane]]
*[[ConnectToServer]]
*[[SetControllerOrientedMovement]]
*[[SetControllerOrientedMovement]]
*[[IsValidPlayer]]
*[[IsValidPlayer]]
Line 85: Line 100:
*[[GetPlayerVehicle]]
*[[GetPlayerVehicle]]
*[[IsPlayerInVehicle]]
*[[IsPlayerInVehicle]]
*[[GetPlayerVehicleSeat]]
*[[GetPlayerEquippedWeaponSlot]]
*[[GetPlayerEquippedWeaponSlot]]
*[[GetPlayerForwardVector]]
*[[GetPlayerForwardVector]]
Line 90: Line 106:
*[[GetPlayerUpVector]]
*[[GetPlayerUpVector]]
*[[GetVehicleActor]]
*[[GetVehicleActor]]
*[[SetPlayerLipMovement]]
*[[IsPlayerPlayingAnimation]]
*[[GetPlayerCount]]
*[[CancelAimImmediately]]


== Camera ==
=== Camera ===
*[[StartCameraFade]]
*[[StartCameraFade]]
*[[StopCameraFade]]
*[[StopCameraFade]]
Line 107: Line 127:
*[[GetCameraRightVector]]
*[[GetCameraRightVector]]
*[[GetCameraUpVector]]
*[[GetCameraUpVector]]
*[[GetInputAxisValue]]
*[[SetCameraViewDistance]]
*[[SetCameraViewDistance]]
*[[GetCameraViewDistance]]
*[[GetCameraViewDistance]]
=== Waypoints ===
=== Waypoints ===
*[[CreateWaypoint]]
*[[CreateWaypoint]]
Line 117: Line 137:
*[[GetWaypointLocation]]
*[[GetWaypointLocation]]
*[[GetAllWaypoints]]
*[[GetAllWaypoints]]
=== Fireworks ===
=== Fireworks ===
*[[CreateFireworks]]
*[[CreateFireworks]]
=== Packages ===
=== Packages ===
*[[GetPackageName]]
*[[GetPackageName]]
*[[ImportPackage]]
*[[ImportPackage]]
*[[AddFunctionExport]]
*[[AddFunctionExport]]
=== Chat ===
=== Chat ===
*[[AddPlayerChat]]
*[[AddPlayerChat]]
Line 129: Line 152:
*[[SetChatLocation]]
*[[SetChatLocation]]
*[[GetChatLocation]]
*[[GetChatLocation]]
=== HUDs ===
=== HUDs ===
*[[ShowWeaponHUD]]
*[[ShowWeaponHUD]]
*[[ShowHealthHUD]]
*[[ShowHealthHUD]]
*[[NotifyCrosshairHit]]
=== Post-processing ===
=== Post-processing ===
*[[SetPostEffect]]
*[[SetPostEffect]]
*[[AddPostProcessMaterial]]
*[[AddPostProcessMaterial]]
*[[RemovePostProcessMaterial]]
*[[RemovePostProcessMaterial]]
=== GUI ===
=== GUI ===
*[[DrawText]]
*[[DrawText]]
Line 156: Line 183:
*[[SetTextBoxAlignment]]
*[[SetTextBoxAlignment]]
*[[SetTextBoxText]]
*[[SetTextBoxText]]
=== Ocean ===
=== Ocean ===
*[[SetOceanWaterLevel]]
*[[SetOceanWaterLevel]]
*[[SetOceanColor]]
*[[SetOceanColor]]
*[[ResetOceanColor]]
*[[ResetOceanColor]]
=== Mouse ===
=== Mouse ===
*[[ShowMouseCursor]]
{{ClientMouseFunctions}}
*[[GetMouseHitLocation]]
*[[GetMouseHitEntity]]
*[[SetInputMode]]
*[[IsMouseCursorEnabled]]
*[[SetMouseLocation]]
*[[GetMouseLocation]]
*[[GetMouseInputDelta]]
*[[DeprojectMouseLocationToWorld]]


=== Environment ===
=== Sky / Environment ===
*[[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]]
*[[SetSkyRotationSpeed]]
*[[SetWeather]]
=== Network ===
=== Network ===
*[[GetPing]]
*[[GetPing]]
*[[GetNetworkStats]]
*[[GetNetworkStats]]
*[[GetServerIP]]
*[[GetServerPort]]
=== NPC ===
=== NPC ===
*[[IsValidNPC]]
*[[GetNPCActor]]
*[[GetNPCActor]]
*[[SetNPCPropertyValue]]
*[[SetNPCPropertyValue]]
*[[GetNPCPropertyValue]]
*[[GetNPCPropertyValue]]
*[[GetNPCBoneNames]]
*[[GetNPCBoneLocation]]
*[[GetNPCCount]]
*[[GetNPCCount]]
*[[GetStreamedNPC]]
*[[GetStreamedNPC]]
Line 199: Line 226:
*[[GetNPCSkeletalMeshComponent]]
*[[GetNPCSkeletalMeshComponent]]
*[[SetNPCOutline]]
*[[SetNPCOutline]]
=== Objects ===
=== Objects ===
*[[GetObjectActor]]
*[[GetObjectActor]]
Line 225: Line 253:
*[[SetObjectTexture]]
*[[SetObjectTexture]]
*[[SetObjectAnimatedTexture]]
*[[SetObjectAnimatedTexture]]
=== Events ===
=== Events ===
*[[AddEvent]]
*[[AddEvent]]
Line 230: Line 259:
*[[AddRemoteEvent]]
*[[AddRemoteEvent]]
*[[CallRemoteEvent]]
*[[CallRemoteEvent]]
=== Pickup ===
=== Pickup ===
*[[GetPickupActor]]
*[[GetPickupActor]]
Line 238: Line 268:
*[[GetStreamedPickups]]
*[[GetStreamedPickups]]
*[[GetPickupLocation]]
*[[GetPickupLocation]]
*[[GetPlayerCount]]
 
=== Door ===
=== Door ===
* [[SetDoorPropertyValue]]
* [[GetDoorPropertyValue]]
* [[IsDoorInteractable]]
*[[IsDoorOpen]]
*[[GetDoorActor]]
*[[GetDoorActor]]
*[[IsValidDoor]]
*[[IsValidDoor]]
Line 246: Line 280:
*[[GetDoorLocation]]
*[[GetDoorLocation]]
*[[GetStreamedDoors]]
*[[GetStreamedDoors]]
===Text3D===
*[[SetText3DPropertyValue]]
*[[GetText3DPropertyValue]]
*[[GetText3DCount]]
*[[IsValidText3D]]
*[[GetText3DText]]
=== Sound ===
=== Sound ===
*[[GetSoundCount]]
*[[GetSoundCount]]
Line 261: Line 303:
*[[SetSoundFadeIn]]
*[[SetSoundFadeIn]]
*[[SetSoundFadeOut]]
*[[SetSoundFadeOut]]
=== Text ===
=== Text ===
*[[SetText3DPropertyValue]]
*[[SetText3DPropertyValue]]
Line 267: Line 310:
*[[GetStreamedText3D]]
*[[GetStreamedText3D]]
*[[GetText3DLocation]]
*[[GetText3DLocation]]
=== Timer ===
=== Timer ===
*[[Delay]]
*[[Delay]]
Line 278: Line 322:
*[[UnpauseTimer]]
*[[UnpauseTimer]]
*[[GetTimerRemainingTime]]
*[[GetTimerRemainingTime]]
=== Vehicles ===
=== Vehicles ===
*[[SetVehiclePropertyValue]]
*[[SetVehiclePropertyValue]]
Line 311: Line 356:
*[[GetVehicleDoorLocation]]
*[[GetVehicleDoorLocation]]
*[[GetVehicleHealth]]
*[[GetVehicleHealth]]
*[[GetVehicleSkeletalMeshComponent]]
=== Web UI ===
=== Web UI ===
*[[GetWebUICount]]
*[[GetWebUICount]]
Line 329: Line 376:
*[[SetWebAlignment]]
*[[SetWebAlignment]]
*[[SetWebAnchors]]
*[[SetWebAnchors]]
*[[SetWebFocus]]
=== Key ===
=== Key ===
*[[IsCtrlPressed]]
{{Template:KeyFunctions}}
*[[IsShiftPressed]]
*[[IsAltPressed]]
*[[IsCmdPressed]]
*[[SetIgnoreMoveInput]]
*[[SetIgnoreLookInput]]
*[[SetControlRotation]]

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