This article relates to the game "Half-Life: Alyx". Click here for more information.
This article relates to the workshop tools for "Half-Life: Alyx". Click here for more information.
This article's documentation is for Source 2. Click here for more information.

Lua Scripting

From Valve Developer Community
Jump to: navigation, search

Half-Life: Alyx, like previous Source titles such as Garry's Mod, is able to use Lua scripts natively when building custom levels using the Hammer editor. Scripts can be used for a variety of things including creating new game modes, weapons and other types of complicated logic.

Note.png Note:  As Half-Life: Alyx is a relatively new game, some API functions have not yet been implemented (see: scripting API). This may affect the possible scope of your scripts!

Introduction to Source 2 VScript

Resources