C (CLUAConsole) FunctionsΒΆ

Note

CLUAConsole functions are accessed via the C: prefix

Function

Description

C:AddGold

Adds gold to the party

C:AddSpell

Adds a spell to the specified character

C:AdvanceRealTime

Advance time

C:CreateCreature

Creates the creature specified

C:CreateEngine

Unknown

C:CreateItem

Create an item

C:CreateVEFVidCell

Create VEFVidCell

C:DisplayAllBAMFiles

Display all BAM files

C:DisplayText

Displays the specified text on screen

C:EnableCheatKeys

Enable cheat keys

C:Eval

Evaluate a string containing script actions for a character

C:Exec

Execute console commands contained in the specified file

C:ExploreArea

Reveals the entire map for the current area

C:GetGlobal

Gets a global variable value for an area

C:LogMessages

Enables or disables logging output to console

C:LogSet

Sets logging to a file instead of to console if logging is enabled

C:MoveToArea

Move the selected characters to the area specified

C:PickDialog

Unknown

C:PlayMovie

Plays the specified movie

C:PlaySound

Plays the specified sound

C:ResetAchievements

Reset achievements - applies to Steam installation only

C:SetCurrentXP

Sets the experience points (XP) of the selected character

C:SetGlobal

Set a global variable to the specified value

C:SetWaterAlpha

Sets the alpha blend level for water transparency

C:SetWeather

Sets the current weather

C:StartStore

Starts the specified store

C:StrrefOff

Strings are not displayed with their associated string reference (StrRef)

C:StrrefOn

Strings are displayed with their associated string reference (StrRef)

C:TestAllDialog

Lists all dialog file in the game, and checks for errors

C:WorkshopUpload

Upload a module to the Steam Workshop - applies to Steam installation only

C:WriteScript

Output scripts to directory

C:new

Create a new instance of the CLUAConsole

C = CLUAConsole:new()