LUADOC - Farming Simulator 17

Printable Version

DebugUtil

Description
DebugUtil
Functions

drawDebugNode

Description
Draws a debug node and optional a text at world position of given node
Definition
drawDebugNode(integer id, string text)
Arguments
integeridnode id
stringtexttext

drawDebugCircle

Description
Draw debug circle
Definition
drawDebugCircle(float x, float y, float z, float radius, integer steps)
Arguments
floatxworld x position
floatyworld y position
floatzworld z position
floatradiusradius
integerstepssteps

printTableRecursively

Description
Print a table recursively
Definition
printTableRecursively(table inputTable, string inputIndent, integer depth, integer maxDepth)
Arguments
tableinputTabletable to print
stringinputIndentinput indent
integerdepthcurrent depth
integermaxDepthmax depth