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|__..."
 
28days (talk | contribs)
No edit summary
 
Line 1: Line 1:
{{Info|Function|Server|1.0}}
{{Info|Function|Server|1.0}}


{{FuncDescription|__EDIT_ME__}}
{{FuncDescription|Get the specified pickup scaling.}}


{{FuncSyntax|GetPickupScale(pickup)}}
{{FuncSyntax|GetPickupScale(pickup)}}


{{FuncParameters}}
{{FuncParameters}}
{{FuncParam|pickup|__EDIT_ME__}}
{{FuncParam|pickup|The pickup identifier.}}


{{FuncReturnValue|__EDIT_ME__}}
{{FuncReturnValue|Returns the x, y and z vectors.}}


== Example ==
== Example ==
__EDIT_ME__
<syntaxhighlight lang="Lua>
local x, y, z = GetPickupScale(pickup)
</syntaxhighlight>


{{RelatedFunctions}}
{{RelatedFunctions}}
__EDIT_ME__
* [[CreatePickup]]
* [[DestroyPickup]]
* [[IsValidPickup]]

Latest revision as of 15:57, 17 November 2019

GetPickupScale

Type: Function
Context: Server
Introduced: v1.0

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)

See also