Template:ClientFunctions: Difference between revisions
From Onset Developer Wiki
No edit summary |
No edit summary |
||
(30 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
*[[DoesPakExist]] | |||
*[[LoadPak]] | |||
*[[ReplaceObjectModelMesh]] | |||
*[[GetAllCollisions]] | *[[GetAllCollisions]] | ||
*[[CreateCollisionBox]] | *[[CreateCollisionBox]] | ||
Line 4: | Line 7: | ||
*[[DestroyCollision]] | *[[DestroyCollision]] | ||
*[[GetGameVersion]] | *[[GetGameVersion]] | ||
*[[IsGameDevMode]] | |||
*[[RGBA]] | *[[RGBA]] | ||
*[[RGB]] | *[[RGB]] | ||
Line 18: | Line 22: | ||
*[[NormalizeVector]] | *[[NormalizeVector]] | ||
*[[IsFloatNearlyZero]] | *[[IsFloatNearlyZero]] | ||
*[[RandomUnitVectorInCone]] | |||
*[[RandomUnitVectorInEllipticalCone]] | |||
*[[GetTickCount]] | *[[GetTickCount]] | ||
*[[GetTimeSeconds]] | *[[GetTimeSeconds]] | ||
Line 27: | Line 33: | ||
*[[GetPlayerFOV]] | *[[GetPlayerFOV]] | ||
*[[SetPlayerFOV]] | *[[SetPlayerFOV]] | ||
*[[ | *[[SetCameraViewDistance]] | ||
*[[ | *[[GetCameraViewDistance]] | ||
*[[ | *[[SetCameraLocation]] | ||
*[[ | *[[SetCameraRotation]] | ||
*[[SetPlayerRotationRate]] | *[[SetPlayerRotationRate]] | ||
*[[GetPlayerRotationRate]] | *[[GetPlayerRotationRate]] | ||
*[[GetPlayerWeapon]] | *[[GetPlayerWeapon]] | ||
*[[GetWeaponType]] | |||
*[[GetPlayerWeaponMuzzleLocation]] | |||
*[[GetPlayerBoneNames]] | *[[GetPlayerBoneNames]] | ||
*[[LineTrace]] | *[[LineTrace]] | ||
Line 39: | Line 47: | ||
*[[GetAllPlayersInBox]] | *[[GetAllPlayersInBox]] | ||
*[[GetTerrainHeight]] | *[[GetTerrainHeight]] | ||
*[[EnableFirstPersonCamera]] | |||
*[[IsFirstPersonCamera]] | |||
*[[StartCameraFade]] | *[[StartCameraFade]] | ||
*[[StopCameraFade]] | *[[StopCameraFade]] | ||
Line 47: | Line 57: | ||
*[[SetCameraShakeFOV]] | *[[SetCameraShakeFOV]] | ||
*[[GetScreenSize]] | *[[GetScreenSize]] | ||
*[[ | *[[GetCameraLocation]] | ||
*[[ | *[[GetCameraRotation]] | ||
*[[ | *[[GetCameraForwardVector]] | ||
*[[ | *[[GetCameraRightVector]] | ||
*[[ | *[[GetCameraUpVector]] | ||
*[[GetInputAxisValue]] | *[[GetInputAxisValue]] | ||
*[[SetWaypoint]] | *[[SetWaypoint]] | ||
*[[CreateFireworks]] | |||
*[[GetPackageName]] | *[[GetPackageName]] | ||
*[[AddPlayerChat]] | *[[AddPlayerChat]] | ||
Line 61: | Line 72: | ||
*[[ShowWeaponHUD]] | *[[ShowWeaponHUD]] | ||
*[[ShowHealthHUD]] | *[[ShowHealthHUD]] | ||
*[[SetPostEffect]] | |||
*[[AddPostProcessMaterial]] | |||
*[[RemovePostProcessMaterial]] | |||
*[[DrawText]] | *[[DrawText]] | ||
*[[SetDrawColor]] | |||
*[[SetTextDrawScale]] | |||
*[[GetTextSize]] | *[[GetTextSize]] | ||
*[[DrawLine]] | *[[DrawLine]] | ||
*[[DrawLine3D]] | *[[DrawLine3D]] | ||
*[[DrawPoint3D]] | *[[DrawPoint3D]] | ||
*[[DrawCircle3D]] | *[[DrawCircle3D]] | ||
*[[DrawBox]] | *[[DrawBox]] | ||
*[[DrawRect]] | *[[DrawRect]] | ||
*[[DrawTexture]] | *[[DrawTexture]] | ||
*[[DrawTextureEx]] | |||
*[[WorldToScreen]] | *[[WorldToScreen]] | ||
*[[ScreenToWorld]] | *[[ScreenToWorld]] | ||
Line 79: | Line 95: | ||
*[[SetTextBoxText]] | *[[SetTextBoxText]] | ||
*[[IsChatFocus]] | *[[IsChatFocus]] | ||
*[[SetOceanWaterLevel]] | |||
*[[SetOceanColor]] | *[[SetOceanColor]] | ||
*[[ResetOceanColor]] | |||
*[[ShowMouseCursor]] | *[[ShowMouseCursor]] | ||
*[[SetInputMode]] | *[[SetInputMode]] | ||
Line 87: | Line 105: | ||
*[[DeprojectMouseLocationToWorld]] | *[[DeprojectMouseLocationToWorld]] | ||
*[[SetTime]] | *[[SetTime]] | ||
*[[GetTime]] | |||
*[[SetSkySaturation]] | *[[SetSkySaturation]] | ||
*[[SetSunRadius]] | *[[SetSunRadius]] | ||
Line 112: | Line 131: | ||
*[[GetObjectModelCount]] | *[[GetObjectModelCount]] | ||
*[[GetObjectModelGroup]] | *[[GetObjectModelGroup]] | ||
*[[GetObjectModelName]] | |||
*[[GetStreamedObjects]] | *[[GetStreamedObjects]] | ||
*[[GetObjectModel]] | *[[GetObjectModel]] | ||
Line 125: | Line 145: | ||
*[[SetObjectOutline]] | *[[SetObjectOutline]] | ||
*[[SetObjectCastShadow]] | *[[SetObjectCastShadow]] | ||
*[[SetObjectColor]] | |||
*[[SetObjectEmissiveColor]] | |||
*[[SetObjectTexture]] | |||
*[[SetObjectAnimatedTexture]] | |||
*[[ImportPackage]] | *[[ImportPackage]] | ||
*[[AddFunctionExport]] | *[[AddFunctionExport]] | ||
Line 150: | Line 174: | ||
*[[SetPlayerOutline]] | *[[SetPlayerOutline]] | ||
*[[IsPlayerInVehicle]] | *[[IsPlayerInVehicle]] | ||
*[[GetPlayerForwardVector]] | |||
*[[GetPlayerRightVector]] | |||
*[[GetPlayerUpVector]] | |||
*[[IsValidDoor]] | |||
*[[GetDoorCount]] | |||
*[[GetDoorLocation]] | |||
*[[GetStreamedDoors]] | |||
*[[GetSoundCount]] | *[[GetSoundCount]] | ||
*[[IsValidSound]] | *[[IsValidSound]] | ||
*[[CreateSound]] | *[[CreateSound]] | ||
*[[CreateSound3D]] | *[[CreateSound3D]] | ||
*[[SetSound3DLocation]] | |||
*[[GetSound3DLocation]] | |||
*[[DestroySound]] | *[[DestroySound]] | ||
*[[GetAllSounds]] | *[[GetAllSounds]] | ||
Line 176: | Line 209: | ||
*[[GetTimerRemainingTime]] | *[[GetTimerRemainingTime]] | ||
*[[GetVehicleCount]] | *[[GetVehicleCount]] | ||
*[[GetVehicleLicensePlate]] | |||
*[[IsValidVehicle]] | *[[IsValidVehicle]] | ||
*[[GetStreamedVehicles]] | *[[GetStreamedVehicles]] | ||
*[[GetVehicleBoneLocation]] | |||
*[[GetVehicleBoneNames]] | |||
*[[GetVehicleModel]] | *[[GetVehicleModel]] | ||
*[[GetVehicleLocation]] | *[[GetVehicleLocation]] | ||
Line 221: | Line 257: | ||
*[[IsCtrlPressed]] | *[[IsCtrlPressed]] | ||
*[[IsShiftPressed]] | *[[IsShiftPressed]] | ||
*[[IsAltPressed]] | |||
*[[IsCmdPressed]] | |||
*[[SetIgnoreMoveInput]] | *[[SetIgnoreMoveInput]] | ||
*[[SetIgnoreLookInput]] | *[[SetIgnoreLookInput]] | ||
*[[SetPlayerPropertyValue]] | |||
*[[GetPlayerPropertyValue]] | |||
*[[SetVehiclePropertyValue]] | |||
*[[GetVehiclePropertyValue]] | |||
*[[SetObjectPropertyValue]] | |||
*[[GetObjectPropertyValue]] | |||
*[[SetNPCPropertyValue]] | |||
*[[GetNPCPropertyValue]] | |||
*[[SetText3DPropertyValue]] | |||
*[[GetText3DPropertyValue]] | |||
*[[SetPickupPropertyValue]] | |||
*[[GetPickupPropertyValue]] | |||
*[[SetControlRotation]] | |||
*[[Delay]] | |||
*[[ConnectToServer]] | |||
*[[SetControllerOrientedMovement]] |
Revision as of 16:20, 17 November 2019
- DoesPakExist
- LoadPak
- ReplaceObjectModelMesh
- GetAllCollisions
- CreateCollisionBox
- CreateCollisionSphere
- DestroyCollision
- GetGameVersion
- IsGameDevMode
- RGBA
- RGB
- HexToRGBA
- Random
- RandomFloat
- Base64Encode
- Base64Decode
- GetDistance2D
- GetDistance3D
- GetDistanceSquared3D
- VectorToRotation
- RotationToVector
- NormalizeVector
- IsFloatNearlyZero
- RandomUnitVectorInCone
- RandomUnitVectorInEllipticalCone
- GetTickCount
- GetTimeSeconds
- GetDeltaSeconds
- GetMouseHitLocation
- GetMouseHitEntity
- IsPlayerInMainMenu
- InvokeDamageFX
- GetPlayerFOV
- SetPlayerFOV
- SetCameraViewDistance
- GetCameraViewDistance
- SetCameraLocation
- SetCameraRotation
- SetPlayerRotationRate
- GetPlayerRotationRate
- GetPlayerWeapon
- GetWeaponType
- GetPlayerWeaponMuzzleLocation
- GetPlayerBoneNames
- LineTrace
- GetAllPlayersInSphere
- GetAllPlayersInBox
- GetTerrainHeight
- EnableFirstPersonCamera
- IsFirstPersonCamera
- StartCameraFade
- StopCameraFade
- PlayCameraShake
- StopCameraShake
- SetCameraShakeLocation
- SetCameraShakeRotation
- SetCameraShakeFOV
- GetScreenSize
- GetCameraLocation
- GetCameraRotation
- GetCameraForwardVector
- GetCameraRightVector
- GetCameraUpVector
- GetInputAxisValue
- SetWaypoint
- CreateFireworks
- GetPackageName
- AddPlayerChat
- ShowChat
- SetChatLocation
- GetChatLocation
- ShowWeaponHUD
- ShowHealthHUD
- SetPostEffect
- AddPostProcessMaterial
- RemovePostProcessMaterial
- DrawText
- SetDrawColor
- SetTextDrawScale
- GetTextSize
- DrawLine
- DrawLine3D
- DrawPoint3D
- DrawCircle3D
- DrawBox
- DrawRect
- DrawTexture
- DrawTextureEx
- WorldToScreen
- ScreenToWorld
- CreateTextBox
- DestroyTextBox
- SetTextBoxAnchors
- SetTextBoxAlignment
- SetTextBoxText
- IsChatFocus
- SetOceanWaterLevel
- SetOceanColor
- ResetOceanColor
- ShowMouseCursor
- SetInputMode
- IsMouseCursorEnabled
- GetMouseLocation
- GetMouseInputDelta
- DeprojectMouseLocationToWorld
- SetTime
- GetTime
- SetSkySaturation
- SetSunRadius
- SetSunShine
- SetSunAzimuth
- SetStarsBrightness
- SetMoonRadius
- SetMoonShine
- SetFogDensity
- SetSunLightIntensity
- SetSkyLightIntensity
- SetMoonLightIntensity
- SetSkyRotationSpeed
- SetWeather
- GetLightCount
- GetStreamedLights
- GetLightLocation
- GetPing
- GetNetworkStats
- GetNPCCount
- GetStreamedNPC
- GetNPCLocation
- SetNPCOutline
- GetObjectCount
- GetObjectModelCount
- GetObjectModelGroup
- GetObjectModelName
- GetStreamedObjects
- GetObjectModel
- GetObjectLocation
- GetObjectRotation
- GetObjectScale
- GetObjectBoundingBox
- GetObjectSize
- EnableObjectHitEvents
- GetObjectMass
- SetObjectEditorSpeed
- SetObjectEditable
- SetObjectOutline
- SetObjectCastShadow
- SetObjectColor
- SetObjectEmissiveColor
- SetObjectTexture
- SetObjectAnimatedTexture
- ImportPackage
- AddFunctionExport
- AddEvent
- CallEvent
- AddRemoteEvent
- CallRemoteEvent
- GetPickupCount
- GetStreamedPickups
- GetPickupLocation
- GetPlayerCount
- IsValidPlayer
- GetStreamedPlayers
- GetPlayerLocation
- GetPlayerHeading
- IsPlayerTalking
- GetPlayerHealth
- GetPlayerArmor
- GetPlayerMovementMode
- GetPlayerMovementSpeed
- IsPlayerAiming
- IsPlayerReloading
- IsPlayerDead
- GetPlayerBoneLocation
- SetPlayerOutline
- IsPlayerInVehicle
- GetPlayerForwardVector
- GetPlayerRightVector
- GetPlayerUpVector
- IsValidDoor
- GetDoorCount
- GetDoorLocation
- GetStreamedDoors
- GetSoundCount
- IsValidSound
- CreateSound
- CreateSound3D
- SetSound3DLocation
- GetSound3DLocation
- DestroySound
- GetAllSounds
- SetSoundVolume
- GetSoundVolume
- SetSoundPitch
- GetSoundPitch
- SetSoundFadeIn
- SetSoundFadeOut
- GetSoundDuration
- GetText3DCount
- GetStreamedText3D
- GetText3DLocation
- GetTimerCount
- GetAllTimers
- IsValidTimer
- CreateTimer
- CreateCountTimer
- DestroyTimer
- PauseTimer
- UnpauseTimer
- GetTimerRemainingTime
- 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
- GetWebUICount
- CreateWebUI
- CreateWebUI3D
- CreateRemoteWebUI
- CreateRemoteWebUI3D
- DestroyWebUI
- GetAllWebUI
- SetWebVisibility
- GetWebVisibility
- SetWebURL
- LoadWebFile
- ExecuteWebJS
- SetWebLocation
- SetWebRotation
- SetWebSize
- SetWebAlignment
- SetWebAnchors
- IsCtrlPressed
- IsShiftPressed
- IsAltPressed
- IsCmdPressed
- SetIgnoreMoveInput
- SetIgnoreLookInput
- SetPlayerPropertyValue
- GetPlayerPropertyValue
- SetVehiclePropertyValue
- GetVehiclePropertyValue
- SetObjectPropertyValue
- GetObjectPropertyValue
- SetNPCPropertyValue
- GetNPCPropertyValue
- SetText3DPropertyValue
- GetText3DPropertyValue
- SetPickupPropertyValue
- GetPickupPropertyValue
- SetControlRotation
- Delay
- ConnectToServer
- SetControllerOrientedMovement