Template:ClientFunctions: Difference between revisions

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


== Pak ==
=== Pak ===
*[[DoesPakExist]]
*[[DoesPakExist]]
*[[LoadPak]]
*[[LoadPak]]
Line 6: Line 6:
*[[GetAllFilesInPak]]
*[[GetAllFilesInPak]]


== Collisions ==
=== Game ===
*[[GetAllCollisions]]
*[[CreateCollisionBox]]
*[[CreateCollisionSphere]]
*[[DestroyCollision]]
 
== Game ==
*[[GetGameVersion]]
*[[GetGameVersion]]
*[[IsGameDevMode]]
*[[IsGameDevMode]]
Line 18: Line 12:
*[[InvokeDamageFX]]
*[[InvokeDamageFX]]


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


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


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


== Player ==
=== Player ===
*[[TogglePlayerTag]]
*[[SetPlayerVoiceTone]]
*[[GetPlayerActor]]
*[[GetPlayerActor]]
*[[GetPlayerId]]
*[[GetPlayerId]]
Line 90: Line 89:
*[[GetPlayerUpVector]]
*[[GetPlayerUpVector]]
*[[GetVehicleActor]]
*[[GetVehicleActor]]
*[[SetPlayerLipMovement]]
*[[IsPlayerPlayingAnimation]]
*[[GetPlayerCount]]


== Camera ==
=== Camera ===
*[[StartCameraFade]]
*[[StartCameraFade]]
*[[StopCameraFade]]
*[[StopCameraFade]]
Line 110: Line 112:
*[[SetCameraViewDistance]]
*[[SetCameraViewDistance]]
*[[GetCameraViewDistance]]
*[[GetCameraViewDistance]]
=== Waypoints ===
=== Waypoints ===
*[[CreateWaypoint]]
*[[CreateWaypoint]]
Line 117: Line 120:
*[[GetWaypointLocation]]
*[[GetWaypointLocation]]
*[[GetAllWaypoints]]
*[[GetAllWaypoints]]
=== Fireworks ===
=== Fireworks ===
*[[CreateFireworks]]
*[[CreateFireworks]]
=== Packages ===
=== Packages ===
*[[GetPackageName]]
*[[GetPackageName]]
*[[ImportPackage]]
*[[ImportPackage]]
*[[AddFunctionExport]]
*[[AddFunctionExport]]
=== Chat ===
=== Chat ===
*[[AddPlayerChat]]
*[[AddPlayerChat]]
Line 129: Line 135:
*[[SetChatLocation]]
*[[SetChatLocation]]
*[[GetChatLocation]]
*[[GetChatLocation]]
=== HUDs ===
=== HUDs ===
*[[ShowWeaponHUD]]
*[[ShowWeaponHUD]]
*[[ShowHealthHUD]]
*[[ShowHealthHUD]]
=== Post-processing ===
=== Post-processing ===
*[[SetPostEffect]]
*[[SetPostEffect]]
*[[AddPostProcessMaterial]]
*[[AddPostProcessMaterial]]
*[[RemovePostProcessMaterial]]
*[[RemovePostProcessMaterial]]
=== GUI ===
=== GUI ===
*[[DrawText]]
*[[DrawText]]
Line 156: Line 165:
*[[SetTextBoxAlignment]]
*[[SetTextBoxAlignment]]
*[[SetTextBoxText]]
*[[SetTextBoxText]]
=== Ocean ===
=== Ocean ===
*[[SetOceanWaterLevel]]
*[[SetOceanWaterLevel]]
*[[SetOceanColor]]
*[[SetOceanColor]]
*[[ResetOceanColor]]
*[[ResetOceanColor]]
=== Mouse ===
=== Mouse ===
*[[ShowMouseCursor]]
{{Template:ClientMouseFunctions}}
*[[GetMouseHitLocation]]
*[[GetMouseHitEntity]]
*[[SetInputMode]]
*[[IsMouseCursorEnabled]]
*[[SetMouseLocation]]
*[[GetMouseLocation]]
*[[GetMouseInputDelta]]
*[[DeprojectMouseLocationToWorld]]


=== Environment ===
=== Environment ===
Line 187: Line 190:
*[[SetSkyRotationSpeed]]
*[[SetSkyRotationSpeed]]
*[[SetWeather]]
*[[SetWeather]]
=== Network ===
=== Network ===
*[[GetPing]]
*[[GetPing]]
*[[GetNetworkStats]]
*[[GetNetworkStats]]
=== NPC ===
=== NPC ===
*[[GetNPCActor]]
*[[GetNPCActor]]
*[[SetNPCPropertyValue]]
*[[SetNPCPropertyValue]]
*[[GetNPCPropertyValue]]
*[[GetNPCPropertyValue]]
*[[GetNPCBoneNames]]
*[[GetNPCBoneLocation]]
*[[GetNPCCount]]
*[[GetNPCCount]]
*[[GetStreamedNPC]]
*[[GetStreamedNPC]]
Line 199: Line 206:
*[[GetNPCSkeletalMeshComponent]]
*[[GetNPCSkeletalMeshComponent]]
*[[SetNPCOutline]]
*[[SetNPCOutline]]
=== Objects ===
=== Objects ===
*[[GetObjectActor]]
*[[GetObjectActor]]
Line 225: Line 233:
*[[SetObjectTexture]]
*[[SetObjectTexture]]
*[[SetObjectAnimatedTexture]]
*[[SetObjectAnimatedTexture]]
=== Events ===
=== Events ===
*[[AddEvent]]
*[[AddEvent]]
Line 230: Line 239:
*[[AddRemoteEvent]]
*[[AddRemoteEvent]]
*[[CallRemoteEvent]]
*[[CallRemoteEvent]]
=== Pickup ===
=== Pickup ===
*[[GetPickupActor]]
*[[GetPickupActor]]
Line 238: Line 248:
*[[GetStreamedPickups]]
*[[GetStreamedPickups]]
*[[GetPickupLocation]]
*[[GetPickupLocation]]
*[[GetPlayerCount]]
 
=== Door ===
=== Door ===
*[[GetDoorActor]]
*[[GetDoorActor]]
Line 246: Line 256:
*[[GetDoorLocation]]
*[[GetDoorLocation]]
*[[GetStreamedDoors]]
*[[GetStreamedDoors]]
=== Sound ===
=== Sound ===
*[[GetSoundCount]]
*[[GetSoundCount]]
Line 261: Line 272:
*[[SetSoundFadeIn]]
*[[SetSoundFadeIn]]
*[[SetSoundFadeOut]]
*[[SetSoundFadeOut]]
=== Text ===
=== Text ===
*[[SetText3DPropertyValue]]
*[[SetText3DPropertyValue]]
Line 267: Line 279:
*[[GetStreamedText3D]]
*[[GetStreamedText3D]]
*[[GetText3DLocation]]
*[[GetText3DLocation]]
=== Timer ===
=== Timer ===
*[[Delay]]
*[[Delay]]
Line 278: Line 291:
*[[UnpauseTimer]]
*[[UnpauseTimer]]
*[[GetTimerRemainingTime]]
*[[GetTimerRemainingTime]]
=== Vehicles ===
=== Vehicles ===
*[[SetVehiclePropertyValue]]
*[[SetVehiclePropertyValue]]
Line 311: Line 325:
*[[GetVehicleDoorLocation]]
*[[GetVehicleDoorLocation]]
*[[GetVehicleHealth]]
*[[GetVehicleHealth]]
=== Web UI ===
=== Web UI ===
*[[GetWebUICount]]
*[[GetWebUICount]]
Line 329: Line 344:
*[[SetWebAlignment]]
*[[SetWebAlignment]]
*[[SetWebAnchors]]
*[[SetWebAnchors]]
=== Key ===
=== Key ===
*[[IsCtrlPressed]]
*[[IsCtrlPressed]]

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