SetText3DVisibility: Difference between revisions
From Onset Developer Wiki
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Info|Function|Server|1.0}} | {{Info|Function|Server|1.0}} | ||
{{FuncDescription|Set the text3d visibility for players | {{FuncDescription|Set the text3d visibility for players.}} | ||
{{FuncSyntax|SetText3DVisibility(pickup, text3d, bVisible)}} | {{FuncSyntax|SetText3DVisibility(pickup, text3d, bVisible)}} | ||
Line 8: | Line 8: | ||
{{FuncParam|text3d|The text3d identifier.}} | {{FuncParam|text3d|The text3d identifier.}} | ||
{{FuncParam|player|The player identifier.}} | {{FuncParam|player|The player identifier.}} | ||
{{FuncParam|bVisible|''' | {{FuncParam|bVisible|'''false''' to hide it for the player.}} | ||
{{FuncReturnValue|Returns '''true''' on success.}} | {{FuncReturnValue|Returns '''true''' on success.}} | ||
Line 14: | Line 14: | ||
== Example == | == Example == | ||
<syntaxhighlight lang="Lua> | <syntaxhighlight lang="Lua> | ||
SetText3DVisbility(pickupId, playerId, | SetText3DVisbility(pickupId, playerId, false) | ||
</syntaxhighlight> | </syntaxhighlight> | ||
{{RelatedFunctions}} | {{RelatedFunctions}} | ||
{{Template:PickupFunctions}} | {{Template:PickupFunctions}} |
Latest revision as of 07:58, 13 July 2020
Description
Set the text3d visibility for players.
Syntax
SetText3DVisibility(pickup, text3d, bVisible)
Parameters
- text3d
The text3d identifier. - player
The player identifier. - bVisible
false to hide it for the player.
Return Value
- Returns true on success.
Example
SetText3DVisbility(pickupId, playerId, false)
See also
- GetPickupCount
- GetStreamedPickups
- GetPickupLocation
- SetPickupPropertyValue
- GetPickupPropertyValue
- SetPickupVisibleForPlayers
- GetAllPickups
- CreatePickup
- DestroyPickup
- IsValidPickup
- SetPickupScale
- GetPickupScale
- SetPickupDimension
- GetPickupDimension
- SetPickupVisibility
- SetPickupOutline
- IsPickupStreamedIn