Skip to content

Debug.SetAIName ​

Source Code | Usage Examples | Debug Functions

In puzzles, sets the name of the second player to a specified string.

Signature ​

Debug.SetAIName(string name) → nil

lua
Debug.SetAIName(name)

Parameters ​

  • string name ​

    A string with the name that will be used for the other player (the opponent).