Template:ClientFunctions: Difference between revisions

From Onset Developer Wiki
No edit summary
No edit summary
(46 intermediate revisions by 4 users not shown)
Line 1: Line 1:
=== Pak ===
*[[DoesPakExist]]
*[[DoesPakExist]]
*[[LoadPak]]
*[[LoadPak]]
*[[ReplaceObjectModelMesh]]
*[[ReplaceObjectModelMesh]]
*[[GetAllFilesInPak]]
=== Collisions ===
*[[GetAllCollisions]]
*[[GetAllCollisions]]
*[[CreateCollisionBox]]
*[[CreateCollisionBox]]
*[[CreateCollisionSphere]]
*[[CreateCollisionSphere]]
*[[DestroyCollision]]
*[[DestroyCollision]]
=== Game ===
*[[GetGameVersion]]
*[[GetGameVersion]]
*[[IsGameDevMode]]
*[[IsGameDevMode]]
*[[IsPlayerInMainMenu]]
*[[InvokeDamageFX]]
=== Colors ===
*[[RGBA]]
*[[RGBA]]
*[[RGB]]
*[[RGB]]
*[[HexToRGBA]]
*[[HexToRGBA]]
=== Miscellaneous ===
*[[LineTrace]]
*[[createtable_ex]]
*[[GetCameraFoV]]
*[[SetCameraFoV]]
*[[Random]]
*[[Random]]
*[[RandomFloat]]
*[[RandomFloat]]
Line 18: Line 35:
*[[GetDistance3D]]
*[[GetDistance3D]]
*[[GetDistanceSquared3D]]
*[[GetDistanceSquared3D]]
*[[Lerp]]
*[[LerpVector]]
*[[VectorToRotation]]
*[[VectorToRotation]]
*[[RotationToVector]]
*[[RotationToVector]]
Line 24: Line 43:
*[[RandomUnitVectorInCone‎‎]]
*[[RandomUnitVectorInCone‎‎]]
*[[RandomUnitVectorInEllipticalCone]]
*[[RandomUnitVectorInEllipticalCone]]
*[[UpdateStreamingLevels]]
=== Time ===
*[[GetTickCount]]
*[[GetTickCount]]
*[[GetTimeSeconds]]
*[[GetTimeSeconds]]
*[[GetDeltaSeconds]]
*[[GetDeltaSeconds]]
*[[GetMouseHitLocation]]
 
*[[GetMouseHitEntity]]
=== Player ===
*[[IsPlayerInMainMenu]]
*[[GetPlayerActor]]
*[[InvokeDamageFX]]
*[[GetPlayerId]]
*[[GetPlayerFOV]]
*[[SetPlayerPropertyValue]]
*[[SetPlayerFOV]]
*[[GetPlayerPropertyValue]]
*[[SetCameraViewDistance]]
*[[GetCameraViewDistance]]
*[[SetCameraLocation]]
*[[SetCameraRotation]]
*[[SetPlayerRotationRate]]
*[[SetPlayerRotationRate]]
*[[GetPlayerRotationRate]]
*[[GetPlayerRotationRate]]
*[[GetPlayerWeapon]]
*[[GetPlayerWeapon]]
*[[GetWeaponType]]
*[[GetWeaponType]]
*[[GetPlayerWeaponMuzzleLocation]]
*[[GetPlayerBoneNames]]
*[[GetPlayerBoneNames]]
*[[LineTrace]]
*[[GetPlayerSkeletalMeshComponent]]
*[[GetAllPlayersInSphere]]
*[[GetAllPlayersInSphere]]
*[[GetAllPlayersInBox]]
*[[GetAllPlayersInBox]]
Line 48: Line 67:
*[[EnableFirstPersonCamera]]
*[[EnableFirstPersonCamera]]
*[[IsFirstPersonCamera]]
*[[IsFirstPersonCamera]]
*[[SetNearClipPlane]]
*[[ConnectToServer]]
*[[SetControllerOrientedMovement]]
*[[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]]
=== Camera ===
*[[StartCameraFade]]
*[[StartCameraFade]]
*[[StopCameraFade]]
*[[StopCameraFade]]
Line 56: Line 105:
*[[SetCameraShakeFOV]]
*[[SetCameraShakeFOV]]
*[[GetScreenSize]]
*[[GetScreenSize]]
*[[SetCameraLocation]]
*[[GetCameraLocation]]
*[[GetCameraLocation]]
*[[SetCameraRotation]]
*[[GetCameraRotation]]
*[[GetCameraRotation]]
*[[GetCameraForwardVector]]
*[[GetCameraForwardVector]]
Line 62: Line 113:
*[[GetCameraUpVector]]
*[[GetCameraUpVector]]
*[[GetInputAxisValue]]
*[[GetInputAxisValue]]
*[[SetWaypoint]]
*[[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]]
=== Post-processing ===
*[[SetPostEffect]]
*[[SetPostEffect]]
*[[AddPostProcessMaterial]]
*[[RemovePostProcessMaterial]]
=== GUI ===
*[[DrawText]]
*[[DrawText]]
*[[SetDrawColor]]
*[[SetDrawColor]]
Line 83: Line 160:
*[[DrawRect]]
*[[DrawRect]]
*[[DrawTexture]]
*[[DrawTexture]]
*[[DrawTextureEx]]
*[[WorldToScreen]]
*[[WorldToScreen]]
*[[ScreenToWorld]]
*[[ScreenToWorld]]
Line 90: Line 168:
*[[SetTextBoxAlignment]]
*[[SetTextBoxAlignment]]
*[[SetTextBoxText]]
*[[SetTextBoxText]]
*[[IsChatFocus]]
 
=== Ocean ===
*[[SetOceanWaterLevel]]
*[[SetOceanWaterLevel]]
*[[SetOceanColor]]
*[[SetOceanColor]]
*[[ResetOceanColor]]
*[[ResetOceanColor]]
=== Mouse ===
*[[ShowMouseCursor]]
*[[ShowMouseCursor]]
*[[GetMouseHitLocation]]
*[[GetMouseHitEntity]]
*[[SetInputMode]]
*[[SetInputMode]]
*[[IsMouseCursorEnabled]]
*[[IsMouseCursorEnabled]]
*[[SetMouseLocation]]
*[[GetMouseLocation]]
*[[GetMouseLocation]]
*[[GetMouseInputDelta]]
*[[GetMouseInputDelta]]
*[[DeprojectMouseLocationToWorld]]
*[[DeprojectMouseLocationToWorld]]
=== Environment ===
*[[SetTime]]
*[[SetTime]]
*[[GetTime]]
*[[GetTime]]
Line 115: Line 201:
*[[SetSkyRotationSpeed]]
*[[SetSkyRotationSpeed]]
*[[SetWeather]]
*[[SetWeather]]
*[[GetLightCount]]
 
*[[GetStreamedLights]]
=== Network ===
*[[GetLightLocation]]
*[[GetPing]]
*[[GetPing]]
*[[GetNetworkStats]]
*[[GetNetworkStats]]
=== NPC ===
*[[GetNPCActor]]
*[[SetNPCPropertyValue]]
*[[GetNPCPropertyValue]]
*[[GetNPCBoneNames]]
*[[GetNPCBoneLocation]]
*[[GetNPCCount]]
*[[GetNPCCount]]
*[[GetStreamedNPC]]
*[[GetStreamedNPC]]
*[[GetNPCLocation]]
*[[GetNPCLocation]]
*[[GetNPCSkeletalMeshComponent]]
*[[SetNPCOutline]]
*[[SetNPCOutline]]
=== Objects ===
*[[GetObjectActor]]
*[[SetObjectPropertyValue]]
*[[GetObjectPropertyValue]]
*[[GetObjectCount]]
*[[GetObjectCount]]
*[[GetObjectModelCount]]
*[[GetObjectModelCount]]
Line 137: Line 235:
*[[EnableObjectHitEvents]]
*[[EnableObjectHitEvents]]
*[[GetObjectMass]]
*[[GetObjectMass]]
*[[GetObjectStaticMeshComponent]]
*[[SetObjectEditorSpeed]]
*[[SetObjectEditorSpeed]]
*[[SetObjectEditable]]
*[[SetObjectEditable]]
Line 145: Line 244:
*[[SetObjectTexture]]
*[[SetObjectTexture]]
*[[SetObjectAnimatedTexture]]
*[[SetObjectAnimatedTexture]]
*[[ImportPackage]]
 
*[[AddFunctionExport]]
=== Events ===
*[[AddEvent]]
*[[AddEvent]]
*[[CallEvent]]
*[[CallEvent]]
*[[AddRemoteEvent]]
*[[AddRemoteEvent]]
*[[CallRemoteEvent]]
*[[CallRemoteEvent]]
=== Pickup ===
*[[GetPickupActor]]
*[[GetPickupStaticMeshComponent]]
*[[SetPickupPropertyValue]]
*[[GetPickupPropertyValue]]
*[[GetPickupCount]]
*[[GetPickupCount]]
*[[GetStreamedPickups]]
*[[GetStreamedPickups]]
*[[GetPickupLocation]]
*[[GetPickupLocation]]
*[[GetPlayerCount]]
*[[GetPlayerCount]]
*[[IsValidPlayer]]
 
*[[GetStreamedPlayers]]
=== Door ===
*[[GetPlayerLocation]]
*[[GetDoorActor]]
*[[GetPlayerHeading]]
*[[IsValidDoor]]
*[[IsPlayerTalking]]
*[[GetPlayerHealth]]
*[[GetPlayerArmor]]
*[[GetPlayerMovementMode]]
*[[GetPlayerMovementSpeed]]
*[[IsPlayerAiming]]
*[[IsPlayerReloading]]
*[[IsPlayerDead]]
*[[GetPlayerBoneLocation]]
*[[SetPlayerOutline]]
*[[IsPlayerInVehicle]]
*[[GetPlayerForwardVector]]
*[[GetPlayerRightVector]]
*[[GetPlayerUpVector]]
*[[GetDoorCount]]
*[[GetDoorCount]]
*[[GetNearestDoor]]
*[[GetDoorLocation]]
*[[GetDoorLocation]]
*[[GetStreamedDoors]]
*[[GetStreamedDoors]]
=== Sound ===
*[[GetSoundCount]]
*[[GetSoundCount]]
*[[IsValidSound]]
*[[IsValidSound]]
Line 190: Line 284:
*[[SetSoundFadeIn]]
*[[SetSoundFadeIn]]
*[[SetSoundFadeOut]]
*[[SetSoundFadeOut]]
*[[GetSoundDuration]]
 
=== Text ===
*[[SetText3DPropertyValue]]
*[[GetText3DPropertyValue]]
*[[GetText3DCount]]
*[[GetText3DCount]]
*[[GetStreamedText3D]]
*[[GetStreamedText3D]]
*[[GetText3DLocation]]
*[[GetText3DLocation]]
=== Timer ===
*[[Delay]]
*[[GetTimerCount]]
*[[GetTimerCount]]
*[[GetAllTimers]]
*[[GetAllTimers]]
Line 203: Line 303:
*[[UnpauseTimer]]
*[[UnpauseTimer]]
*[[GetTimerRemainingTime]]
*[[GetTimerRemainingTime]]
=== Vehicles ===
*[[SetVehiclePropertyValue]]
*[[GetVehiclePropertyValue]]
*[[GetVehicleCount]]
*[[GetVehicleCount]]
*[[GetVehicleLicensePlate]]
*[[GetVehicleLicensePlate]]
Line 233: Line 337:
*[[GetVehicleDoorLocation]]
*[[GetVehicleDoorLocation]]
*[[GetVehicleHealth]]
*[[GetVehicleHealth]]
=== Web UI ===
*[[GetWebUICount]]
*[[GetWebUICount]]
*[[CreateWebUI]]
*[[CreateWebUI]]
Line 250: Line 356:
*[[SetWebAlignment]]
*[[SetWebAlignment]]
*[[SetWebAnchors]]
*[[SetWebAnchors]]
=== Key ===
*[[IsCtrlPressed]]
*[[IsCtrlPressed]]
*[[IsShiftPressed]]
*[[IsShiftPressed]]
Line 256: Line 364:
*[[SetIgnoreMoveInput]]
*[[SetIgnoreMoveInput]]
*[[SetIgnoreLookInput]]
*[[SetIgnoreLookInput]]
*[[SetPlayerPropertyValue]]
*[[SetControlRotation]]
*[[GetPlayerPropertyValue]]
*[[SetVehiclePropertyValue]]
*[[GetVehiclePropertyValue]]
*[[SetObjectPropertyValue]]
*[[GetObjectPropertyValue]]
*[[SetNPCPropertyValue]]
*[[GetNPCPropertyValue]]
*[[SetText3DPropertyValue]]
*[[GetText3DPropertyValue]]
*[[SetPickupPropertyValue]]
*[[GetPickupPropertyValue]]

Revision as of 20:23, 18 January 2020

Pak

Collisions

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