SetPlayerOutline: Difference between revisions

From Onset Developer Wiki
Created page with "{{Info|Function|Client|1.0}} {{FuncDescription|__EDIT_ME__}} {{FuncSyntax|SetPlayerOutline(player [, bEnable])}} {{FuncParameters}} {{FuncParam|player |__EDIT_ME__}} {{Func..."
 
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{Info|Function|Client|1.0}}
{{Info|Function|Client|1.0}}


{{FuncDescription|__EDIT_ME__}}
{{FuncDescription|Creates an outline around the player mesh.}}


{{FuncSyntax|SetPlayerOutline(player [, bEnable])}}
{{FuncSyntax|SetPlayerOutline(player [, bEnable])}}


{{FuncParameters}}
{{FuncParameters}}
{{FuncParam|player |__EDIT_ME__}}
{{FuncParam|player|The player identifier.}}
{{FuncParamOptional|bEnable|__EDIT_ME__}}
{{FuncParamOptional|bEnable|'''true''' to enable, default: '''true'''}}


{{FuncReturnValue|__EDIT_ME__}}
{{FuncReturnValue|Returns '''true''' on success.}}


== Example ==
== Example ==
__EDIT_ME__
<syntaxhighlight lang="Lua">
AddEvent("OnPlayerSpawn", function(player)
SetPlayerOutline(player, true)
Delay(10000, function(player)
SetPlayerOutline(player, false)
end)
end)
</syntaxhighlight>


{{RelatedFunctions}}
{{RelatedFunctions}}
__EDIT_ME__
*[[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