Debug Lua API: Difference between revisions

From Off Grid Wiki
Jump to navigation Jump to search
(Created page with "<!-- This file is auto generated, please don't edit manually! --> = Debug = == Description == Debugging & Testing tools == Functions == === ConnectToDevLaptop === <syntaxhighl...")
 
No edit summary
 
(One intermediate revision by one other user not shown)
Line 7: Line 7:
<syntaxhighlight source lang="lua">Debug.ConnectToDevLaptop()</syntaxhighlight>
<syntaxhighlight source lang="lua">Debug.ConnectToDevLaptop()</syntaxhighlight>
'''Description''': Open SSH connection to DevLaptop Device, if there's one in the level.
'''Description''': Open SSH connection to DevLaptop Device, if there's one in the level.
'''Returns''': Nothing
=== TeleportPlayer ===
<syntaxhighlight source lang="lua">Debug.TeleportPlayer(spawnPointName)</syntaxhighlight>
'''Expected parameter types'''
{| class="wikitable"
|-
! Name !! Type
|-
| spawnPointName || string
|}
'''Description''': Teleport player to a SpawnPoint in level.


'''Returns''': Nothing
'''Returns''': Nothing
Line 22: Line 35:


'''Returns''': Nothing
'''Returns''': Nothing
This file is auto generated, please don't edit manually!
'''Docs last hacked together on''': 29/08/2023 16:24
[[Category:Modding]][[Category:LuaAPI]]

Latest revision as of 14:11, 29 August 2023

Debug

Description

Debugging & Testing tools

Functions

ConnectToDevLaptop

Debug.ConnectToDevLaptop()

Description: Open SSH connection to DevLaptop Device, if there's one in the level.

Returns: Nothing

TeleportPlayer

Debug.TeleportPlayer(spawnPointName)

Expected parameter types

Name Type
spawnPointName string

Description: Teleport player to a SpawnPoint in level.

Returns: Nothing

ShowPlayerPath

Debug.ShowPlayerPath(value)

Expected parameter types

Name Type
value bool

Description: ShowPlayerPath

Returns: Nothing


This file is auto generated, please don't edit manually!

Docs last hacked together on: 29/08/2023 16:24