Difference between revisions of "Default Ruleset Function Documentation Template"
(→SetWorldPosition(...) =) |
|||
Line 2: | Line 2: | ||
{REMOVEME: Template for API Functions} | {REMOVEME: Template for API Functions} | ||
− | == <code>''' | + | == <code>'''OpenTitleWindow(user)'''</code> === |
{| | {| | ||
|- | |- | ||
| Function Type: || Default Ruleset | | Function Type: || Default Ruleset | ||
|- | |- | ||
− | | File: || | + | | Module: || player |
+ | |- | ||
+ | | File: || base_player_titles.lua | ||
|} | |} | ||
===Description === | ===Description === | ||
− | + | Opens the tile window for the given user | |
=== Prototype === | === Prototype === | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
− | + | OpenTitleWindow(user) | |
</syntaxhighlight> | </syntaxhighlight> | ||
Parameters: | Parameters: | ||
− | (GameObj) | + | (GameObj) user: user to show his title window |
− | |||
Return Values | Return Values | ||
− | + | none | |
=== Notes and Caveats === | === Notes and Caveats === | ||
− | + | none | |
− | |||
− | |||
=== Examples === | === Examples === | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
− | -- | + | -- opens the titl window for mUser |
− | + | OpenTitleWindow(mUser) | |
− | |||
− | |||
</syntaxhighlight> | </syntaxhighlight> | ||
− | |||
− | [[Category: | + | |
+ | [[Category:Default Ruleset]][[Category:Function Reference]] |
Revision as of 16:02, 1 November 2016
{You can use the code of this page as a template when creating a function documentation in the Category:Shards Online Lua Interface or Category:Function Reference category. Everything italic in curly brackets is just a comment or explanation and not part of the template.}
{REMOVEME: Template for API Functions}
OpenTitleWindow(user)
=
Function Type: | Default Ruleset |
Module: | player |
File: | base_player_titles.lua |
Description
Opens the tile window for the given user
Prototype
OpenTitleWindow(user)
Parameters:
(GameObj) user: user to show his title window
Return Values
none
Notes and Caveats
none
Examples
-- opens the titl window for mUser
OpenTitleWindow(mUser)