diff --git a/VScript-in-Mapbase.md b/VScript-in-Mapbase.md index 5e8cab9..87bbde9 100644 --- a/VScript-in-Mapbase.md +++ b/VScript-in-Mapbase.md @@ -16,6 +16,8 @@ Mapbase's VScript is more limited and primitive compared to the VScript in Valve Mapbase's implementation of VScript does **not** use any leaked code whatsoever. +For more information on VScript itself, [click here](https://developer.valvesoftware.com/wiki/VScript) to see its article on the Valve Developer Community. + *** ### Contents @@ -45,11 +47,23 @@ Mapbase's implementation of VScript does **not** use any leaked code whatsoever. # Known incompatibilities with Valve's VScript -Some features are not available in Mapbase's implementation of VScript, although some may be available in the future. +#### [List of L4D2 Script Functions](https://developer.valvesoftware.com/wiki/List_of_L4D2_Script_Functions) +#### [List of Portal 2 Script Functions](https://developer.valvesoftware.com/wiki/List_of_Portal_2_Script_Functions) -* Most of the global functions (e.g. `SpawnEntityFromTable`) are not yet available because many of them are game-specific and are not included in the Alien Swarm SDK. -* Some singletons like `Convars` or `NetProps` are not available. (`Entities` *is* available) +Some features from Valve's games are not available in Mapbase's implementation of VScript, although some may be available in the future. + +* Most of the global functions are not yet available because many of them are game-specific and are not included in the Alien Swarm SDK. + * Notable functions which are in Mapbase's implementation: + * `AddThinkToEnt` + * `EntIndexToHScript` + * `PrecacheEntityFromTable` + * `SpawnEntityFromTable` +* Some singletons are not yet available. + * Notable singletons which are in Mapbase's implementation: + * `Entities` + * `Convars` * It is currently not possible to use in-game documentation methods, such as `script_help`. +* In the source code, the following `IScriptVM` functions are currently unsupported: `ConnectDebugger`, `DisconnectDebugger`, `AddSearchPath`, `Frame`, `DumpState`, `SetOutputCallback`, `SetErrorCallback` # Documentation