I am seeing a lot of questions in regards to scripting and other mission editing. I myself am not good at scripting but I know where to go for information in an attempt to get stuff to work. After trial and error with no luck then I would ask people or post in forums. Everyone needs to try researching for themselves first then when you cannot get it after going through the various info sites ask. Make sure you use the forum search and try different words before making a new topic. The following are links to various sites with lots of info. May need to search them as well.
http://www.kylania.com/ex/ <-- excellent examples
ArmA 2 Mission Editor
ArmA 2 Scripting Commands
Forums Post - Classnames
Scripting Topics (Check All Links)
ARMA 2 Functions
Please Keep this post clean and only add links to more helpful sites.