ScarDoc

Start typing to search the SCAR reference.

Function
Util

Util_PrintObject

Prints out the entire contents of an Object

On this page
Util_PrintObject(obj, max_depth, data_type, print_func)

Description

This is most useful when used in conjunction with fatal() or bug() to populate the log file. Objects can be anything (Player, SGroup, Int, Table, String, etc.), but this is most useful for Tables

Parameters

  • objObjectrequired
  • max_depthIntegeroptional
  • data_typeStringoptional
  • print_funcFunctionoptional

Returns

Void

Source

Declared in the game's script sources at:

scar/scarutil.scar