Core¶
Overview¶
This module provides functionality core to the plugin system and the application itself.
Functions¶
print¶
Outputs a message containing the contents of the provided arguments separated by a space to the Lua console.
| Parameter | Type | Description |
|---|---|---|
| args | ... | Values to format. |
Example
log¶
Outputs a plugin-associated message containing the contents of the provided arguments separated by a space to the Lua console.
| Parameter | Type | Description |
|---|---|---|
| args | ... | Values to log. |
Example
ExecuteConsoleCommand¶
Executes the provided string as a ingame console command.
Info
The list of available commands can be obtained by using the help command on the ingame console.
Warning
The console isn't available on mobile platforms.
| Parameter | Type | Description |
|---|---|---|
| args | String | Contains the command to be executed and any arguments that it might require. |