Debug Lua API

From Off Grid Wiki
Revision as of 14:11, 29 August 2023 by Icaro (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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