Functions were introduced in version 1.85 of OFP. These are essentially new commands (eg like getpos) that editors can write themselves.
I have put together the OFPEC Function Library, at:
http://www.ofpec.com/editors/funcref.phpAs a way of building a library of funtions for people to use in their missions.
The idea is that if you write a function that other people might find useful, perhaps an ejection function called 'DoEject' or something, then you can submit it to the Function Library.
Functions are faster and more efficent than scripts, and that is why we should be using more of them in our missions.
Functions are similar to script snippets, except they are smaller and only utilise one .sqf file (instead of multiple .sqs files).
See the second post down on the next page for a short tutorial and an example mission on using functions.
Also, the following tutorials will make you a function guru:
- Intro to functions
- Writing functions
By the way - the upload part of the function library works. Use it
I think it might be worth letting some other sites know about this too, eh?