GetChatLocation: Difference between revisions

From Onset Developer Wiki
Created page with "{{Info|Function|Client|1.0}} {{FuncDescription|__EDIT_ME__}} {{FuncSyntax|GetChatLocation()}} {{FuncParameters}} {{FuncNoParam}} {{FuncReturnValue|__EDIT_ME__}} == Exampl..."
 
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{Info|Function|Client|1.0}}
{{Info|Function|Client|1.0}}


{{FuncDescription|__EDIT_ME__}}
{{FuncDescription|Get the player's chat screen location.}}


{{FuncSyntax|GetChatLocation()}}
{{FuncSyntax|GetChatLocation()}}
Line 8: Line 8:
{{FuncNoParam}}
{{FuncNoParam}}


{{FuncReturnValue|__EDIT_ME__}}
{{FuncReturnValue|This function returns the X and Y axis vectors.}}


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


{{RelatedFunctions}}
{{RelatedFunctions}}
__EDIT_ME__
*[[AddPlayerChat]]
*[[IsChatFocus]]
*[[ShowChat]]
*[[SetChatLocation]]
*[[GetChatLocation]]

Latest revision as of 11:04, 2 September 2020

GetChatLocation

Type: Function
Context: Client
Introduced: v1.0

Description

Get the player's chat screen location.

Syntax

GetChatLocation()

Parameters

  • This function has no parameters.

Return Value

  • This function returns the X and Y axis vectors.

Example

local x, y = GetChatLocation()

See also