GetPickupScale: Difference between revisions
From Onset Developer Wiki
Created page with "{{Info|Function|Server|1.0}} {{FuncDescription|__EDIT_ME__}} {{FuncSyntax|GetPickupScale(pickup)}} {{FuncParameters}} {{FuncParam|pickup|__EDIT_ME__}} {{FuncReturnValue|__..." |
No edit summary |
||
Line 1: | Line 1: | ||
{{Info|Function|Server|1.0}} | {{Info|Function|Server|1.0}} | ||
{{FuncDescription| | {{FuncDescription|Get the specified pickup scaling.}} | ||
{{FuncSyntax|GetPickupScale(pickup)}} | {{FuncSyntax|GetPickupScale(pickup)}} | ||
{{FuncParameters}} | {{FuncParameters}} | ||
{{FuncParam|pickup| | {{FuncParam|pickup|The pickup identifier.}} | ||
{{FuncReturnValue| | {{FuncReturnValue|Returns the x, y and z vectors.}} | ||
== Example == | == Example == | ||
<syntaxhighlight lang="Lua> | |||
local x, y, z = GetPickupScale(pickup) | |||
</syntaxhighlight> | |||
{{RelatedFunctions}} | {{RelatedFunctions}} | ||
* [[CreatePickup]] | |||
* [[DestroyPickup]] | |||
* [[IsValidPickup]] |
Latest revision as of 15:57, 17 November 2019
Description
Get the specified pickup scaling.
Syntax
GetPickupScale(pickup)
Parameters
- pickup
The pickup identifier.
Return Value
- Returns the x, y and z vectors.
Example
local x, y, z = GetPickupScale(pickup)