Template:ClientFunctions: Difference between revisions
From Onset Developer Wiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
Pak | |||
---- | |||
*[[DoesPakExist]] | *[[DoesPakExist]] | ||
*[[LoadPak]] | *[[LoadPak]] | ||
Line 6: | Line 7: | ||
*[[GetAllFilesInPak]] | *[[GetAllFilesInPak]] | ||
Collisions | |||
---- | |||
*[[GetAllCollisions]] | *[[GetAllCollisions]] | ||
*[[CreateCollisionBox]] | *[[CreateCollisionBox]] | ||
*[[CreateCollisionSphere]] | *[[CreateCollisionSphere]] | ||
*[[DestroyCollision]] | *[[DestroyCollision]] | ||
Game | |||
---- | |||
*[[GetGameVersion]] | *[[GetGameVersion]] | ||
*[[IsGameDevMode]] | *[[IsGameDevMode]] | ||
*[[IsPlayerInMainMenu]] | *[[IsPlayerInMainMenu]] | ||
*[[InvokeDamageFX]] | *[[InvokeDamageFX]] | ||
Colors | |||
---- | |||
*[[RGBA]] | *[[RGBA]] | ||
*[[RGB]] | *[[RGB]] | ||
*[[HexToRGBA]] | *[[HexToRGBA]] | ||
Miscellaneous | |||
---- | |||
*[[LineTrace]] | *[[LineTrace]] | ||
*[[createtable_ex]] | *[[createtable_ex]] | ||
Line 38: | Line 43: | ||
*[[RandomUnitVectorInCone]] | *[[RandomUnitVectorInCone]] | ||
*[[RandomUnitVectorInEllipticalCone]] | *[[RandomUnitVectorInEllipticalCone]] | ||
Time | |||
---- | |||
*[[GetTickCount]] | *[[GetTickCount]] | ||
*[[GetTimeSeconds]] | *[[GetTimeSeconds]] | ||
*[[GetDeltaSeconds]] | *[[GetDeltaSeconds]] | ||
Player | |||
---- | |||
*[[GetPlayerId]] | *[[GetPlayerId]] | ||
*[[SetPlayerPropertyValue]] | *[[SetPlayerPropertyValue]] | ||
Line 83: | Line 90: | ||
*[[GetPlayerRightVector]] | *[[GetPlayerRightVector]] | ||
*[[GetPlayerUpVector]] | *[[GetPlayerUpVector]] | ||
Camera | |||
---- | |||
*[[StartCameraFade]] | *[[StartCameraFade]] | ||
*[[StopCameraFade]] | *[[StopCameraFade]] | ||
Line 102: | Line 110: | ||
*[[SetCameraViewDistance]] | *[[SetCameraViewDistance]] | ||
*[[GetCameraViewDistance]] | *[[GetCameraViewDistance]] | ||
Waypoints | |||
---- | |||
*[[CreateWaypoint]] | *[[CreateWaypoint]] | ||
*[[DestroyWaypoint]] | *[[DestroyWaypoint]] | ||
Line 109: | Line 118: | ||
*[[GetWaypointLocation]] | *[[GetWaypointLocation]] | ||
*[[GetAllWaypoints]] | *[[GetAllWaypoints]] | ||
Fireworks | |||
---- | |||
*[[CreateFireworks]] | *[[CreateFireworks]] | ||
Packages | |||
---- | |||
*[[GetPackageName]] | *[[GetPackageName]] | ||
*[[ImportPackage]] | *[[ImportPackage]] | ||
*[[AddFunctionExport]] | *[[AddFunctionExport]] | ||
Chat | |||
---- | |||
*[[AddPlayerChat]] | *[[AddPlayerChat]] | ||
*[[IsChatFocus]] | *[[IsChatFocus]] | ||
Line 121: | Line 133: | ||
*[[SetChatLocation]] | *[[SetChatLocation]] | ||
*[[GetChatLocation]] | *[[GetChatLocation]] | ||
HUDs | |||
---- | |||
*[[ShowWeaponHUD]] | *[[ShowWeaponHUD]] | ||
*[[ShowHealthHUD]] | *[[ShowHealthHUD]] | ||
Post-processing | |||
---- | |||
*[[SetPostEffect]] | *[[SetPostEffect]] | ||
*[[AddPostProcessMaterial]] | *[[AddPostProcessMaterial]] | ||
*[[RemovePostProcessMaterial]] | *[[RemovePostProcessMaterial]] | ||
GUI | |||
---- | |||
*[[DrawText]] | *[[DrawText]] | ||
*[[SetDrawColor]] | *[[SetDrawColor]] | ||
Line 148: | Line 163: | ||
*[[SetTextBoxAlignment]] | *[[SetTextBoxAlignment]] | ||
*[[SetTextBoxText]] | *[[SetTextBoxText]] | ||
Ocean | |||
---- | |||
*[[SetOceanWaterLevel]] | *[[SetOceanWaterLevel]] | ||
*[[SetOceanColor]] | *[[SetOceanColor]] | ||
*[[ResetOceanColor]] | *[[ResetOceanColor]] | ||
Mouse | |||
---- | |||
*[[ShowMouseCursor]] | *[[ShowMouseCursor]] | ||
*[[GetMouseHitLocation]] | *[[GetMouseHitLocation]] | ||
Line 163: | Line 180: | ||
*[[DeprojectMouseLocationToWorld]] | *[[DeprojectMouseLocationToWorld]] | ||
Environment | |||
---- | |||
*[[SetTime]] | *[[SetTime]] | ||
*[[GetTime]] | *[[GetTime]] | ||
Line 179: | Line 197: | ||
*[[SetSkyRotationSpeed]] | *[[SetSkyRotationSpeed]] | ||
*[[SetWeather]] | *[[SetWeather]] | ||
Network | |||
---- | |||
*[[GetPing]] | *[[GetPing]] | ||
*[[GetNetworkStats]] | *[[GetNetworkStats]] | ||
NPC | |||
---- | |||
*[[SetNPCPropertyValue]] | *[[SetNPCPropertyValue]] | ||
*[[GetNPCPropertyValue]] | *[[GetNPCPropertyValue]] | ||
Line 190: | Line 210: | ||
*[[GetNPCSkeletalMeshComponent]] | *[[GetNPCSkeletalMeshComponent]] | ||
*[[SetNPCOutline]] | *[[SetNPCOutline]] | ||
Objects | |||
---- | |||
*[[SetObjectPropertyValue]] | *[[SetObjectPropertyValue]] | ||
*[[GetObjectPropertyValue]] | *[[GetObjectPropertyValue]] | ||
Line 215: | Line 236: | ||
*[[SetObjectTexture]] | *[[SetObjectTexture]] | ||
*[[SetObjectAnimatedTexture]] | *[[SetObjectAnimatedTexture]] | ||
Events | |||
---- | |||
*[[AddEvent]] | *[[AddEvent]] | ||
*[[CallEvent]] | *[[CallEvent]] | ||
*[[AddRemoteEvent]] | *[[AddRemoteEvent]] | ||
*[[CallRemoteEvent]] | *[[CallRemoteEvent]] | ||
Pickup | |||
---- | |||
*[[GetPickupStaticMeshComponent]] | *[[GetPickupStaticMeshComponent]] | ||
*[[SetPickupPropertyValue]] | *[[SetPickupPropertyValue]] | ||
Line 228: | Line 251: | ||
*[[GetPickupLocation]] | *[[GetPickupLocation]] | ||
*[[GetPlayerCount]] | *[[GetPlayerCount]] | ||
Door | |||
---- | |||
*[[IsValidDoor]] | *[[IsValidDoor]] | ||
*[[GetDoorCount]] | *[[GetDoorCount]] | ||
Line 234: | Line 258: | ||
*[[GetStreamedDoors]] | *[[GetStreamedDoors]] | ||
*[[GetSoundCount]] | *[[GetSoundCount]] | ||
Sound | |||
---- | |||
*[[IsValidSound]] | *[[IsValidSound]] | ||
*[[CreateSound]] | *[[CreateSound]] | ||
Line 248: | Line 273: | ||
*[[SetSoundFadeIn]] | *[[SetSoundFadeIn]] | ||
*[[SetSoundFadeOut]] | *[[SetSoundFadeOut]] | ||
Text | |||
---- | |||
*[[SetText3DPropertyValue]] | *[[SetText3DPropertyValue]] | ||
*[[GetText3DPropertyValue]] | *[[GetText3DPropertyValue]] | ||
Line 254: | Line 280: | ||
*[[GetStreamedText3D]] | *[[GetStreamedText3D]] | ||
*[[GetText3DLocation]] | *[[GetText3DLocation]] | ||
Timer | |||
---- | |||
*[[Delay]] | *[[Delay]] | ||
*[[GetTimerCount]] | *[[GetTimerCount]] | ||
Line 265: | Line 292: | ||
*[[UnpauseTimer]] | *[[UnpauseTimer]] | ||
*[[GetTimerRemainingTime]] | *[[GetTimerRemainingTime]] | ||
Vehicles | |||
---- | |||
*[[SetVehiclePropertyValue]] | *[[SetVehiclePropertyValue]] | ||
*[[GetVehiclePropertyValue]] | *[[GetVehiclePropertyValue]] | ||
Line 298: | Line 326: | ||
*[[GetVehicleDoorLocation]] | *[[GetVehicleDoorLocation]] | ||
*[[GetVehicleHealth]] | *[[GetVehicleHealth]] | ||
Web UI | |||
---- | |||
*[[GetWebUICount]] | *[[GetWebUICount]] | ||
*[[CreateWebUI]] | *[[CreateWebUI]] | ||
Line 316: | Line 345: | ||
*[[SetWebAlignment]] | *[[SetWebAlignment]] | ||
*[[SetWebAnchors]] | *[[SetWebAnchors]] | ||
Key | |||
---- | |||
*[[IsCtrlPressed]] | *[[IsCtrlPressed]] | ||
*[[IsShiftPressed]] | *[[IsShiftPressed]] |
Revision as of 11:45, 26 December 2019
Pak
Collisions
Game
Colors
Miscellaneous
- LineTrace
- createtable_ex
- GetCameraFoV
- SetCameraFoV
- Random
- RandomFloat
- Base64Encode
- Base64Decode
- GetDistance2D
- GetDistance3D
- GetDistanceSquared3D
- VectorToRotation
- RotationToVector
- NormalizeVector
- IsFloatNearlyZero
- RandomUnitVectorInCone
- RandomUnitVectorInEllipticalCone
Time
Player
- GetPlayerId
- SetPlayerPropertyValue
- GetPlayerPropertyValue
- SetPlayerRotationRate
- GetPlayerRotationRate
- GetPlayerWeapon
- GetWeaponType
- GetPlayerWeaponMuzzleLocation
- GetPlayerBoneNames
- GetPlayerSkeletalMeshComponent
- GetAllPlayersInSphere
- GetAllPlayersInBox
- GetTerrainHeight
- EnableFirstPersonCamera
- 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
Camera
- StartCameraFade
- StopCameraFade
- PlayCameraShake
- StopCameraShake
- SetCameraShakeLocation
- SetCameraShakeRotation
- SetCameraShakeFOV
- GetScreenSize
- SetCameraLocation
- GetCameraLocation
- SetCameraRotation
- GetCameraRotation
- GetCameraForwardVector
- GetCameraRightVector
- GetCameraUpVector
- GetInputAxisValue
- SetCameraViewDistance
- GetCameraViewDistance
Waypoints
- CreateWaypoint
- DestroyWaypoint
- UpdateWaypoint
- SetWaypointLocation
- GetWaypointLocation
- GetAllWaypoints
Fireworks
Packages
Chat
HUDs
Post-processing
GUI
- DrawText
- SetDrawColor
- SetTextDrawScale
- GetTextSize
- DrawLine
- DrawLine3D
- DrawPoint3D
- DrawCircle3D
- DrawBox
- DrawRect
- DrawTexture
- DrawTextureEx
- WorldToScreen
- ScreenToWorld
- CreateTextBox
- DestroyTextBox
- SetTextBoxAnchors
- SetTextBoxAlignment
- SetTextBoxText
Ocean
Mouse
- ShowMouseCursor
- GetMouseHitLocation
- GetMouseHitEntity
- SetInputMode
- IsMouseCursorEnabled
- SetMouseLocation
- GetMouseLocation
- GetMouseInputDelta
- DeprojectMouseLocationToWorld
Environment
- SetTime
- GetTime
- SetSkySaturation
- SetSunRadius
- SetSunShine
- SetSunAzimuth
- SetStarsBrightness
- SetMoonRadius
- SetMoonShine
- SetFogDensity
- SetSunLightIntensity
- SetSkyLightIntensity
- SetMoonLightIntensity
- SetSkyRotationSpeed
- SetWeather
Network
NPC
- SetNPCPropertyValue
- GetNPCPropertyValue
- GetNPCCount
- GetStreamedNPC
- GetNPCLocation
- GetNPCSkeletalMeshComponent
- SetNPCOutline
Objects
- SetObjectPropertyValue
- GetObjectPropertyValue
- GetObjectCount
- GetObjectModelCount
- GetObjectModelGroup
- GetObjectModelName
- GetStreamedObjects
- GetObjectModel
- GetObjectLocation
- GetObjectRotation
- GetObjectScale
- GetObjectBoundingBox
- GetObjectSize
- EnableObjectHitEvents
- GetObjectMass
- GetObjectStaticMeshComponent
- SetObjectEditorSpeed
- SetObjectEditable
- SetObjectOutline
- SetObjectCastShadow
- SetObjectColor
- SetObjectEmissiveColor
- SetObjectTexture
- SetObjectAnimatedTexture
Events
Pickup
- GetPickupStaticMeshComponent
- SetPickupPropertyValue
- GetPickupPropertyValue
- GetPickupCount
- GetStreamedPickups
- GetPickupLocation
- GetPlayerCount
Door
Sound
- IsValidSound
- CreateSound
- CreateSound3D
- SetSound3DLocation
- GetSound3DLocation
- DestroySound
- GetAllSounds
- SetSoundVolume
- GetSoundVolume
- SetSoundPitch
- GetSoundPitch
- SetSoundFadeIn
- SetSoundFadeOut
Text
Timer
- Delay
- GetTimerCount
- GetAllTimers
- IsValidTimer
- CreateTimer
- CreateCountTimer
- DestroyTimer
- PauseTimer
- UnpauseTimer
- GetTimerRemainingTime
Vehicles
- SetVehiclePropertyValue
- GetVehiclePropertyValue
- GetVehicleCount
- GetVehicleLicensePlate
- IsValidVehicle
- GetStreamedVehicles
- GetVehicleBoneLocation
- GetVehicleBoneNames
- GetVehicleModel
- GetVehicleLocation
- GetVehicleRotation
- GetVehicleVelocity
- GetVehicleForwardVector
- GetVehicleRightVector
- GetVehicleUpVector
- GetVehicleBoundingBox
- GetVehicleEngineRPM
- GetVehicleForwardSpeed
- GetVehicleGear
- GetVehicleWheelSurface
- IsVehicleWheelInAir
- IsVehicleInAir
- GetVehicleWheelSteerAngle
- IsVehicleHornActive
- GetVehicleEngineState
- GetVehicleLightState
- GetVehicleHoodRatio
- GetVehicleTrunkRatio
- IsVehicleInWater
- IsVehicleSeatOccupied
- GetVehicleDoorLocation
- GetVehicleHealth
Web UI
- GetWebUICount
- CreateWebUI
- CreateWebUI3D
- CreateRemoteWebUI
- CreateRemoteWebUI3D
- DestroyWebUI
- GetAllWebUI
- SetWebVisibility
- GetWebVisibility
- SetWebURL
- LoadWebFile
- ExecuteWebJS
- SetWebLocation
- SetWebRotation
- SetWebSize
- SetWebAlignment
- SetWebAnchors
Key