Learn Scripting
YouTube, the
BI Wiki, and other's people scripts, are your best bet.
Find some tutorials on Youtube that get you started with Arma scripting. For any commands that you're not familiar with (e.g. getPosATL, createVehicle, moveInCargo etc) look them up on the BI Wiki (which excellently documents every command in Arma and also provides useful examples).
Looking at other people's scripts and deciphering them is also a great way of picking up on different methods of doing things or just generally learning how to use certain commands.
For what it's worth, here's a (very) basic scripting guide (that's never seen the light of day) that I wrote ages ago when I was still new-ish to scripting myself:
A Basic Guide to Scripting in ArmA