Angelscript
Revision as of 18:17, 13 February 2025 by Outerbeast (talk | contribs)
This page contains basic coverage and tutorials for Sven Co-op's Angelscript API.
API auto-generated documentation is available here. For information on the AngelScript language, visit the official AngelScript manual here
Tutorials | Basics of building scripts |
---|---|
Running Scripts | Covers how to import and execute script files, such as map scripts and plugins |
Typecasting | Covers how and when to use typecasts |
Debugging | Debugging scripts |
trigger_script | Build a trigger_script entity function |
squadmaker function | Describes the usage of the squadmaker entity to call script functions. |
ondestroyfn | Describes the usage of the "ondestroyfn" function |
Custom Entities | Build your own custom entity |
API Features | Covers some fundamental aspects of writing scripts for Sven Co-op |
---|---|
Global Functions | Global Functions available for use. |
Entity Basics | Covers the basics of what entities are and how to use them. |
Entity Intermediate | Covers intermediate topics regarding entities. |
Entity Functions | How to use the various entity functions. |
Player | Various player related functions |
Sound System | How to use the sound system. |
Engine Functions | How to use engine functions. |
Scheduler | Covers the use of the scheduler. |
Custom Keyvalues | Covers the usage of custom keyvalues in scripts. |
CEngine | Covers the CEngine class. This class includes the current time and frametime, as well as engine configuration and the global trace. |
CGame | Contains methods integral to the game's operation. |
Tracelines | Covers tracelines and the TraceResult class, as well as related enumerations. |
Hooks | Covers the purpose and use of hooks. |
ConCommandSystem | Covers the console command system. This is used to add console commands and variables. |
Temporary Entities | Covers the use of temporary entities. |
Animation Extensions | Animation Extensions used by weapons for player models. |
Data Types | Covers some common data typed used in scripts |
---|---|
Strings | Covers the basics of strings in scripts |
Vectors | Covers the basics of Vectors in scripts |
RGBA | Covers the basics of the RGBA structure |
EHandle | Covers the usage of EHandle for storing entity handles |