GetPickupCount: Difference between revisions
From Onset Developer Wiki
Created page with "{{Info|Function|Server|1.0}} {{FuncDescription|__EDIT_ME__}} {{FuncSyntax|GetPickupCount()}} {{FuncParameters}} {{FuncNoParam}} {{FuncReturnValue|__EDIT_ME__}} == Example..." |
No edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{Info|Function|Server|1.0}} | {{Info|Function|Server & Client|1.0}} | ||
{{FuncDescription| | {{FuncDescription|Gets the created pickup count.}} | ||
{{FuncSyntax|GetPickupCount()}} | {{FuncSyntax|GetPickupCount()}} | ||
Line 8: | Line 8: | ||
{{FuncNoParam}} | {{FuncNoParam}} | ||
{{FuncReturnValue| | {{FuncReturnValue|Returns number of created pickups.}} | ||
== Example == | == Example == | ||
<syntaxhighlight lang="Lua"> | |||
print("Pickups: "..GetPickupCount()) | |||
</syntaxhighlight> | |||
{{RelatedFunctions}} | {{RelatedFunctions}} | ||
{{PickupFunctions}} |
Latest revision as of 17:21, 15 December 2019
Description
Gets the created pickup count.
Syntax
GetPickupCount()
Parameters
- This function has no parameters.
Return Value
- Returns number of created pickups.
Example
print("Pickups: "..GetPickupCount())
See also
- GetPickupCount
- GetStreamedPickups
- GetPickupLocation
- SetPickupPropertyValue
- GetPickupPropertyValue
- SetPickupVisibleForPlayers
- GetAllPickups
- CreatePickup
- DestroyPickup
- IsValidPickup
- SetPickupScale
- GetPickupScale
- SetPickupDimension
- GetPickupDimension
- SetPickupVisibility
- SetPickupOutline
- IsPickupStreamedIn