SetPlayerOutline: Difference between revisions
From Onset Developer Wiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{Info|Function|Client|1.0}} | {{Info|Function|Client|1.0}} | ||
{{FuncDescription|Creates an outline | {{FuncDescription|Creates an outline around the player mesh.}} | ||
{{FuncSyntax|SetPlayerOutline(player [, bEnable])}} | {{FuncSyntax|SetPlayerOutline(player [, bEnable])}} | ||
{{FuncParameters}} | {{FuncParameters}} | ||
{{FuncParam|player |The player identifier.}} | {{FuncParam|player|The player identifier.}} | ||
{{FuncParamOptional|bEnable| | {{FuncParamOptional|bEnable|'''true''' to enable, default: '''true'''}} | ||
{{FuncReturnValue| | {{FuncReturnValue|Returns '''true''' on success.}} | ||
== Example == | == Example == | ||
Line 22: | Line 22: | ||
{{RelatedFunctions}} | {{RelatedFunctions}} | ||
*[[TogglePlayerTag]] | |||
*[[SetPlayerVoiceTone]] | |||
*[[GetPlayerActor]] | |||
*[[GetPlayerId]] | |||
*[[SetPlayerPropertyValue]] | |||
*[[GetPlayerPropertyValue]] | |||
*[[SetPlayerRotationRate]] | |||
*[[GetPlayerRotationRate]] | |||
*[[GetPlayerWeapon]] | |||
*[[GetWeaponType]] | |||
*[[GetPlayerWeaponMuzzleLocation]] | |||
*[[GetPlayerBoneNames]] | |||
*[[GetPlayerSkeletalMeshComponent]] | |||
*[[GetAllPlayersInSphere]] | |||
*[[GetAllPlayersInBox]] | |||
*[[GetTerrainHeight]] | |||
*[[EnableFirstPersonCamera]] | |||
*[[IsFirstPersonCamera]] | |||
*[[SetNearClipPlane]] | |||
*[[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]] | |||
*[[GetPlayerCount]] | |||
*[[CancelAimImmediately]] |
Latest revision as of 11:31, 1 September 2020
Description
Creates an outline around the player mesh.
Syntax
SetPlayerOutline(player [, bEnable])
Parameters
- player
The player identifier. - bEnable (optional)
true to enable, default: true
Return Value
- Returns true on success.
Example
AddEvent("OnPlayerSpawn", function(player)
SetPlayerOutline(player, true)
Delay(10000, function(player)
SetPlayerOutline(player, false)
end)
end)
See also
- TogglePlayerTag
- SetPlayerVoiceTone
- GetPlayerActor
- GetPlayerId
- SetPlayerPropertyValue
- GetPlayerPropertyValue
- SetPlayerRotationRate
- GetPlayerRotationRate
- GetPlayerWeapon
- GetWeaponType
- GetPlayerWeaponMuzzleLocation
- GetPlayerBoneNames
- GetPlayerSkeletalMeshComponent
- GetAllPlayersInSphere
- GetAllPlayersInBox
- GetTerrainHeight
- EnableFirstPersonCamera
- IsFirstPersonCamera
- SetNearClipPlane
- 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
- GetPlayerCount
- CancelAimImmediately