Debug Lua API

From Off Grid Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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