Template:ClientFunctions: Difference between revisions

From Onset Developer Wiki
No edit summary
No edit summary
(31 intermediate revisions by 4 users not shown)
Line 1: Line 1:
== Pak ==
 
=== Pak ===
*[[DoesPakExist]]
*[[DoesPakExist]]
*[[LoadPak]]
*[[LoadPak]]
*[[ReplaceObjectModelMesh]]
*[[ReplaceObjectModelMesh]]
== Collisions ==
*[[GetAllFilesInPak]]
*[[GetAllCollisions]]
 
*[[CreateCollisionBox]]
=== Game ===
*[[CreateCollisionSphere]]
*[[DestroyCollision]]
== Game ==
*[[GetGameVersion]]
*[[GetGameVersion]]
*[[IsGameDevMode]]
*[[IsGameDevMode]]
*[[IsPlayerInMainMenu]]
*[[IsPlayerInMainMenu]]
*[[InvokeDamageFX]]
*[[InvokeDamageFX]]
== Colors ==
 
=== Colors ===
*[[RGBA]]
*[[RGBA]]
*[[RGB]]
*[[RGB]]
*[[HexToRGBA]]
*[[HexToRGBA]]
== Miscellaneous ==
 
=== Miscellaneous ===
*[[LineTrace]]
*[[createtable_ex]]
*[[GetCameraFoV]]
*[[SetCameraFoV]]
*[[Random]]
*[[Random]]
*[[RandomFloat]]
*[[RandomFloat]]
Line 25: Line 29:
*[[GetDistance3D]]
*[[GetDistance3D]]
*[[GetDistanceSquared3D]]
*[[GetDistanceSquared3D]]
*[[Lerp]]
*[[LerpVector]]
*[[VectorToRotation]]
*[[VectorToRotation]]
*[[RotationToVector]]
*[[RotationToVector]]
Line 31: Line 37:
*[[RandomUnitVectorInCone‎‎]]
*[[RandomUnitVectorInCone‎‎]]
*[[RandomUnitVectorInEllipticalCone]]
*[[RandomUnitVectorInEllipticalCone]]
== Time ==
*[[UpdateStreamingLevels]]
 
=== Time ===
*[[GetTickCount]]
*[[GetTickCount]]
*[[GetTimeSeconds]]
*[[GetTimeSeconds]]
*[[GetDeltaSeconds]]
*[[GetDeltaSeconds]]
== Camera ==
 
*[[GetPlayerFOV]]
=== Player ===
*[[SetPlayerFOV]]
*[[TogglePlayerTag]]
*[[SetCameraViewDistance]]
*[[SetPlayerVoiceTone]]
*[[GetCameraViewDistance]]
*[[GetPlayerActor]]
*[[SetCameraLocation]]
*[[GetPlayerId]]
*[[SetCameraRotation]]
== Player ==
*[[SetPlayerPropertyValue]]
*[[SetPlayerPropertyValue]]
*[[GetPlayerPropertyValue]]
*[[GetPlayerPropertyValue]]
Line 52: Line 58:
*[[GetPlayerBoneNames]]
*[[GetPlayerBoneNames]]
*[[GetPlayerSkeletalMeshComponent]]
*[[GetPlayerSkeletalMeshComponent]]
*[[LineTrace]]
*[[GetAllPlayersInSphere]]
*[[GetAllPlayersInSphere]]
*[[GetAllPlayersInBox]]
*[[GetAllPlayersInBox]]
Line 58: Line 63:
*[[EnableFirstPersonCamera]]
*[[EnableFirstPersonCamera]]
*[[IsFirstPersonCamera]]
*[[IsFirstPersonCamera]]
*[[SetNearClipPlane]]
*[[ConnectToServer]]
*[[ConnectToServer]]
*[[SetControllerOrientedMovement]]
*[[SetControllerOrientedMovement]]
== Camera ==
*[[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]]
*[[GetPlayerCount]]
 
=== Camera ===
*[[StartCameraFade]]
*[[StartCameraFade]]
*[[StopCameraFade]]
*[[StopCameraFade]]
Line 69: Line 102:
*[[SetCameraShakeFOV]]
*[[SetCameraShakeFOV]]
*[[GetScreenSize]]
*[[GetScreenSize]]
*[[SetCameraLocation]]
*[[GetCameraLocation]]
*[[GetCameraLocation]]
*[[SetCameraRotation]]
*[[GetCameraRotation]]
*[[GetCameraRotation]]
*[[GetCameraForwardVector]]
*[[GetCameraForwardVector]]
Line 75: Line 110:
*[[GetCameraUpVector]]
*[[GetCameraUpVector]]
*[[GetInputAxisValue]]
*[[GetInputAxisValue]]
== Waypoints ==
*[[SetCameraViewDistance]]
*[[GetCameraViewDistance]]
 
=== 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]]
== Chats ==
 
=== Chat ===
*[[AddPlayerChat]]
*[[AddPlayerChat]]
*[[IsChatFocus]]
*[[ShowChat]]
*[[ShowChat]]
*[[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 120: Line 165:
*[[SetTextBoxAlignment]]
*[[SetTextBoxAlignment]]
*[[SetTextBoxText]]
*[[SetTextBoxText]]
== Chat ==
 
*[[IsChatFocus]]
=== Ocean ===
== Ocean ==
*[[SetOceanWaterLevel]]
*[[SetOceanWaterLevel]]
*[[SetOceanColor]]
*[[SetOceanColor]]
*[[ResetOceanColor]]
*[[ResetOceanColor]]
== Mouse ==
 
*[[ShowMouseCursor]]
=== Mouse ===
*[[GetMouseHitLocation]]
{{Template:ClientMouseFunctions}}
*[[GetMouseHitEntity]]
 
*[[SetInputMode]]
=== Environment ===
*[[IsMouseCursorEnabled]]
*[[GetMouseLocation]]
*[[GetMouseInputDelta]]
*[[DeprojectMouseLocationToWorld]]
== Environment ==
*[[SetTime]]
*[[SetTime]]
*[[GetTime]]
*[[GetTime]]
Line 151: Line 190:
*[[SetSkyRotationSpeed]]
*[[SetSkyRotationSpeed]]
*[[SetWeather]]
*[[SetWeather]]
== Network ==
 
=== Network ===
*[[GetPing]]
*[[GetPing]]
*[[GetNetworkStats]]
*[[GetNetworkStats]]
== NPC ==
 
=== NPC ===
*[[GetNPCActor]]
*[[SetNPCPropertyValue]]
*[[SetNPCPropertyValue]]
*[[GetNPCPropertyValue]]
*[[GetNPCPropertyValue]]
*[[GetNPCBoneNames]]
*[[GetNPCBoneLocation]]
*[[GetNPCCount]]
*[[GetNPCCount]]
*[[GetStreamedNPC]]
*[[GetStreamedNPC]]
Line 162: Line 206:
*[[GetNPCSkeletalMeshComponent]]
*[[GetNPCSkeletalMeshComponent]]
*[[SetNPCOutline]]
*[[SetNPCOutline]]
== Objects ==
 
=== Objects ===
*[[GetObjectActor]]
*[[SetObjectPropertyValue]]
*[[SetObjectPropertyValue]]
*[[GetObjectPropertyValue]]
*[[GetObjectPropertyValue]]
Line 187: Line 233:
*[[SetObjectTexture]]
*[[SetObjectTexture]]
*[[SetObjectAnimatedTexture]]
*[[SetObjectAnimatedTexture]]
== Events ==
 
=== Events ===
*[[AddEvent]]
*[[AddEvent]]
*[[CallEvent]]
*[[CallEvent]]
*[[AddRemoteEvent]]
*[[AddRemoteEvent]]
*[[CallRemoteEvent]]
*[[CallRemoteEvent]]
== Pickup ==
 
=== Pickup ===
*[[GetPickupActor]]
*[[GetPickupStaticMeshComponent]]
*[[SetPickupPropertyValue]]
*[[SetPickupPropertyValue]]
*[[GetPickupPropertyValue]]
*[[GetPickupPropertyValue]]
Line 198: Line 248:
*[[GetStreamedPickups]]
*[[GetStreamedPickups]]
*[[GetPickupLocation]]
*[[GetPickupLocation]]
*[[GetPlayerCount]]
 
== Player ==
=== Door ===
*[[IsValidPlayer]]
*[[GetDoorActor]]
*[[GetPlayerName]]
*[[GetStreamedPlayers]]
*[[GetPlayerLocation]]
*[[GetPlayerHeading]]
*[[IsPlayerTalking]]
*[[GetPlayerHealth]]
*[[GetPlayerArmor]]
*[[GetPlayerMovementMode]]
*[[GetPlayerMovementSpeed]]
*[[IsPlayerAiming]]
*[[IsPlayerReloading]]
*[[IsPlayerDead]]
*[[GetPlayerBoneLocation]]
*[[SetPlayerOutline]]
*[[SetPlayerClothingPreset]]
*[[GetPlayerVehicle]]
*[[IsPlayerInVehicle]]
*[[GetPlayerForwardVector]]
*[[GetPlayerRightVector]]
*[[GetPlayerUpVector]]
== Door ==
*[[IsValidDoor]]
*[[IsValidDoor]]
*[[GetDoorCount]]
*[[GetDoorCount]]
*[[GetNearestDoor]]
*[[GetDoorLocation]]
*[[GetDoorLocation]]
*[[GetStreamedDoors]]
*[[GetStreamedDoors]]
=== Sound ===
*[[GetSoundCount]]
*[[GetSoundCount]]
== Sound ==
*[[IsValidSound]]
*[[IsValidSound]]
*[[CreateSound]]
*[[CreateSound]]
Line 241: Line 272:
*[[SetSoundFadeIn]]
*[[SetSoundFadeIn]]
*[[SetSoundFadeOut]]
*[[SetSoundFadeOut]]
== Text ==
 
=== Text ===
*[[SetText3DPropertyValue]]
*[[SetText3DPropertyValue]]
*[[GetText3DPropertyValue]]
*[[GetText3DPropertyValue]]
Line 247: Line 279:
*[[GetStreamedText3D]]
*[[GetStreamedText3D]]
*[[GetText3DLocation]]
*[[GetText3DLocation]]
== Timer ==
 
=== Timer ===
*[[Delay]]
*[[Delay]]
*[[GetTimerCount]]
*[[GetTimerCount]]
Line 258: Line 291:
*[[UnpauseTimer]]
*[[UnpauseTimer]]
*[[GetTimerRemainingTime]]
*[[GetTimerRemainingTime]]
== Vehicles ==
 
=== Vehicles ===
*[[SetVehiclePropertyValue]]
*[[SetVehiclePropertyValue]]
*[[GetVehiclePropertyValue]]
*[[GetVehiclePropertyValue]]
Line 291: Line 325:
*[[GetVehicleDoorLocation]]
*[[GetVehicleDoorLocation]]
*[[GetVehicleHealth]]
*[[GetVehicleHealth]]
== Web UI ==
 
=== Web UI ===
*[[GetWebUICount]]
*[[GetWebUICount]]
*[[CreateWebUI]]
*[[CreateWebUI]]
Line 309: Line 344:
*[[SetWebAlignment]]
*[[SetWebAlignment]]
*[[SetWebAnchors]]
*[[SetWebAnchors]]
== Key ==
 
=== Key ===
*[[IsCtrlPressed]]
*[[IsCtrlPressed]]
*[[IsShiftPressed]]
*[[IsShiftPressed]]

Revision as of 16:54, 8 March 2020

Pak

Game

Colors

Miscellaneous

Time

Player

Camera

Waypoints

Fireworks

Packages

Chat

HUDs

Post-processing

GUI

Ocean

Mouse

Environment

Network

NPC

Objects

Events

Pickup

Door

Sound

Text

Timer

Vehicles

Web UI

Key