A function is a predefined action that can be called in a script. They can either set values within the game or return information about the game. Then can be used in conjunction with Lua arguments to create script logic. Scardoc forms the library of functions from which Rules can be composed. If the a desired function does not reside in the SCAR Functions libary, chances are, it can not be performed via script in game.
Note: See Data Types for a list of data types avalible in SCAR, and used in these functions.