Template:ClientFunctions: Difference between revisions

From Onset Developer Wiki
Guewen (talk | contribs)
No edit summary
 
(65 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== Pak ==
 
=== Pak ===
*[[DoesPakExist]]
*[[DoesPakExist]]
*[[LoadPak]]
*[[LoadPak]]
*[[ReplaceObjectModelMesh]]
*[[ReplaceObjectModelMesh]]
== Collisions ==
*[[ReplaceAnimationLibrarySequence]]
*[[GetAllCollisions]]
*[[GetAllFilesInPak]]
*[[CreateCollisionBox]]
 
*[[CreateCollisionSphere]]
=== Game ===
*[[DestroyCollision]]
*[[FlashInTaskbar]]
== Game ==
*[[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]]
*[[GetPlayerSkeletalMeshComponent]]
*[[LineTrace]]
*[[GetAllPlayersInSphere]]
*[[GetAllPlayersInSphere]]
*[[GetAllPlayersInBox]]
*[[GetAllPlayersInBox]]
Line 51: Line 81:
*[[EnableFirstPersonCamera]]
*[[EnableFirstPersonCamera]]
*[[IsFirstPersonCamera]]
*[[IsFirstPersonCamera]]
*[[ConnectToServer]]
*[[SetControllerOrientedMovement]]
*[[SetControllerOrientedMovement]]
*[[IsValidPlayer]]
*[[IsValidPlayer]]
Line 71: Line 100:
*[[GetPlayerVehicle]]
*[[GetPlayerVehicle]]
*[[IsPlayerInVehicle]]
*[[IsPlayerInVehicle]]
*[[GetPlayerVehicleSeat]]
*[[GetPlayerEquippedWeaponSlot]]
*[[GetPlayerEquippedWeaponSlot]]
*[[GetPlayerForwardVector]]
*[[GetPlayerForwardVector]]
*[[GetPlayerRightVector]]
*[[GetPlayerRightVector]]
*[[GetPlayerUpVector]]
*[[GetPlayerUpVector]]
== Camera ==
*[[GetVehicleActor]]
*[[SetPlayerLipMovement]]
*[[IsPlayerPlayingAnimation]]
*[[GetPlayerCount]]
*[[CancelAimImmediately]]
 
=== Camera ===
*[[StartCameraFade]]
*[[StartCameraFade]]
*[[StopCameraFade]]
*[[StopCameraFade]]
Line 91: Line 127:
*[[GetCameraRightVector]]
*[[GetCameraRightVector]]
*[[GetCameraUpVector]]
*[[GetCameraUpVector]]
*[[GetInputAxisValue]]
*[[GetPlayerFOV]]
*[[SetPlayerFOV]]
*[[SetCameraViewDistance]]
*[[SetCameraViewDistance]]
*[[GetCameraViewDistance]]
*[[GetCameraViewDistance]]
== Waypoints ==
 
=== Waypoints ===
*[[CreateWaypoint]]
*[[CreateWaypoint]]
*[[DestroyWaypoint]]
*[[DestroyWaypoint]]
*[[UpdateWaypoint]]
*[[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 115: 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 142: Line 183:
*[[SetTextBoxAlignment]]
*[[SetTextBoxAlignment]]
*[[SetTextBoxText]]
*[[SetTextBoxText]]
== Ocean ==
 
=== Ocean ===
*[[SetOceanWaterLevel]]
*[[SetOceanWaterLevel]]
*[[SetOceanColor]]
*[[SetOceanColor]]
*[[ResetOceanColor]]
*[[ResetOceanColor]]
== Mouse ==
 
*[[ShowMouseCursor]]
=== Mouse ===
*[[GetMouseHitLocation]]
{{ClientMouseFunctions}}
*[[GetMouseHitEntity]]
 
*[[SetInputMode]]
=== Sky / Environment ===
*[[IsMouseCursorEnabled]]
*[[GetMouseLocation]]
*[[GetMouseInputDelta]]
*[[DeprojectMouseLocationToWorld]]
== 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]]
=== Network ===
*[[SetSkyRotationSpeed]]
*[[SetWeather]]
== Network ==
*[[GetPing]]
*[[GetPing]]
*[[GetNetworkStats]]
*[[GetNetworkStats]]
== NPC ==
*[[GetServerIP]]
*[[GetServerPort]]
 
=== NPC ===
*[[IsValidNPC]]
*[[GetNPCActor]]
*[[SetNPCPropertyValue]]
*[[SetNPCPropertyValue]]
*[[GetNPCPropertyValue]]
*[[GetNPCPropertyValue]]
*[[GetNPCBoneNames]]
*[[GetNPCBoneLocation]]
*[[GetNPCCount]]
*[[GetNPCCount]]
*[[GetStreamedNPC]]
*[[GetStreamedNPC]]
Line 182: Line 226:
*[[GetNPCSkeletalMeshComponent]]
*[[GetNPCSkeletalMeshComponent]]
*[[SetNPCOutline]]
*[[SetNPCOutline]]
== Objects ==
 
=== Objects ===
*[[GetObjectActor]]
*[[SetObjectPropertyValue]]
*[[SetObjectPropertyValue]]
*[[GetObjectPropertyValue]]
*[[GetObjectPropertyValue]]
Line 207: 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 218: Line 268:
*[[GetStreamedPickups]]
*[[GetStreamedPickups]]
*[[GetPickupLocation]]
*[[GetPickupLocation]]
*[[GetPlayerCount]]
 
== Door ==
=== Door ===
* [[SetDoorPropertyValue]]
* [[GetDoorPropertyValue]]
* [[IsDoorInteractable]]
*[[IsDoorOpen]]
*[[GetDoorActor]]
*[[IsValidDoor]]
*[[IsValidDoor]]
*[[GetDoorCount]]
*[[GetDoorCount]]
*[[GetNearestDoor]]
*[[GetDoorLocation]]
*[[GetDoorLocation]]
*[[GetStreamedDoors]]
*[[GetStreamedDoors]]
===Text3D===
*[[SetText3DPropertyValue]]
*[[GetText3DPropertyValue]]
*[[GetText3DCount]]
*[[IsValidText3D]]
*[[GetText3DText]]
=== Sound ===
*[[GetSoundCount]]
*[[GetSoundCount]]
== Sound ==
*[[IsValidSound]]
*[[IsValidSound]]
*[[CreateSound]]
*[[CreateSound]]
Line 239: Line 303:
*[[SetSoundFadeIn]]
*[[SetSoundFadeIn]]
*[[SetSoundFadeOut]]
*[[SetSoundFadeOut]]
== Text ==
 
=== Text ===
*[[SetText3DPropertyValue]]
*[[SetText3DPropertyValue]]
*[[GetText3DPropertyValue]]
*[[GetText3DPropertyValue]]
Line 245: Line 310:
*[[GetStreamedText3D]]
*[[GetStreamedText3D]]
*[[GetText3DLocation]]
*[[GetText3DLocation]]
== Timer ==
 
=== Timer ===
*[[Delay]]
*[[Delay]]
*[[GetTimerCount]]
*[[GetTimerCount]]
Line 256: Line 322:
*[[UnpauseTimer]]
*[[UnpauseTimer]]
*[[GetTimerRemainingTime]]
*[[GetTimerRemainingTime]]
== Vehicles ==
 
=== Vehicles ===
*[[SetVehiclePropertyValue]]
*[[SetVehiclePropertyValue]]
*[[GetVehiclePropertyValue]]
*[[GetVehiclePropertyValue]]
Line 289: Line 356:
*[[GetVehicleDoorLocation]]
*[[GetVehicleDoorLocation]]
*[[GetVehicleHealth]]
*[[GetVehicleHealth]]
== Web UI ==
*[[GetVehicleSkeletalMeshComponent]]
 
=== Web UI ===
*[[GetWebUICount]]
*[[GetWebUICount]]
*[[CreateWebUI]]
*[[CreateWebUI]]
Line 307: Line 376:
*[[SetWebAlignment]]
*[[SetWebAlignment]]
*[[SetWebAnchors]]
*[[SetWebAnchors]]
== Key ==
*[[SetWebFocus]]
*[[IsCtrlPressed]]
 
*[[IsShiftPressed]]
=== Key ===
*[[IsAltPressed]]
{{Template:KeyFunctions}}
*[[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