SetPickupVisibility: Difference between revisions
From Onset Developer Wiki
Created page with "{{Info|Function|Server|1.0}} {{FuncDescription|Set the pickup visisbility properties.}} {{FuncSyntax|SetPickupVisibility(pickupid)}} {{FuncParameters}} {{FuncParam|pickupid..." |
No edit summary |
||
Line 1: | Line 1: | ||
{{Info|Function|Server|1.0}} | {{Info|Function|Server|1.0}} | ||
{{FuncDescription|Set the pickup | {{FuncDescription|Set the pickup visibility for players. If you use this function then you will have to specify every player who should see this pickup.}} | ||
{{FuncSyntax|SetPickupVisibility( | {{FuncSyntax|SetPickupVisibility(pickup, player, bVisible)}} | ||
{{FuncParameters}} | {{FuncParameters}} | ||
{{FuncParam| | {{FuncParam|pickup|The pickup identifier.}} | ||
{{FuncParam|player|The player identifier.}} | |||
{{FuncParam|bVisible|'''true''' to make it visible.}} | |||
{{FuncReturnValue|Returns '''true''' on success.}} | {{FuncReturnValue|Returns '''true''' on success.}} |
Revision as of 14:06, 23 November 2019
Description
Set the pickup visibility for players. If you use this function then you will have to specify every player who should see this pickup.
Syntax
SetPickupVisibility(pickup, player, bVisible)
Parameters
- pickup
The pickup identifier. - player
The player identifier. - bVisible
true to make it visible.
Return Value
- Returns true on success.
Example
__EDIT_ME__
See also
- GetPickupCount
- GetStreamedPickups
- GetPickupLocation
- SetPickupPropertyValue
- GetPickupPropertyValue
- SetPickupVisibleForPlayers
- GetAllPickups
- CreatePickup
- DestroyPickup
- IsValidPickup
- SetPickupScale
- GetPickupScale
- SetPickupDimension
- GetPickupDimension
- SetPickupVisibility
- SetPickupOutline
- IsPickupStreamedIn