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
1 Getting Started
2 API Features
API Features
|
Covers some fundamental aspects of writing scripts for Sven Co-op
|
Entity Functions
|
How to use the various entity functions.
|
Player Functions
|
Various player related functions
|
Sound System
|
How to use the sound system.
|
Engine Functions
|
How to use engine functions.
|
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.
|
Tracing
|
Covers performing traces and usage of the TraceResult class, as well as related enumerations.
|
Utility Functions
|
Covers various utility methods
|
Hooks
|
Covers the purpose and use of hooks.
|
Scheduler
|
Covers the use of the scheduler.
|
Math
|
Covers the use of various math operations
|
HUD
|
Covers the usage of various HUD elements
|
Temporary Effects
|
Covers the use of temporary entities.
|
File System
|
Covers the use of the virtual file system
|
Console Command System
|
Covers the console command system. This is used to add console commands and variables.
|
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
|
3 Data Types
Data Types
|
Covers some common data types 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
|
DateTime
|
Covers the basics of the date and time structure
|
EHandle
|
Covers the usage of EHandle structure for storing entity handles
|
CCVar
|
Covers how to create and use custom CVars
|
4 Miscellaneous