Commands/Lua

Reference for console commands, Lua hooks and Lua commands in CS2D.

CS2D Command CS2D Console Commands

CS2D Command win

Categories

Parameters

  • win (0/1): run game in window (1) or full-screen (0)

Info

Change the window setting. CS2D can run in a window (1, default) or in full-screen mode (0).

Attention: This command is ignored during the initial start of the game if you are using one of the command line parameters to change the win/full-screen behavior (-win,-windowed,-full,-fullscreen). In other words: Command line parameters have a higher priority than this setting.

Lua Hook Lua Hooks

Lua Command Lua Commands