Tags: No tags
![]() Basic SQF-Scripting guide by Taurus Description: This guide aims at people without or little scripting experience. You don’t need to have any previous coding experience with say; java-script, vb-script. However, if you have worked with SQF previously you might still find this guide interesting. The guide also makes references to articles on the BIS:Wiki, where you should look to find more information about commands, and to search for commands which may cover your needs. The scripting commands are quite easy to understand, search and you will most certainly find what you are looking for. Please read the guide thoroughly, when finished you should be able to make your first more advanced missions which includes both procedures and functions, and have more understanding about the data types and structure of the code. All examples found in this guide are working and may be used as you want. The source code of the mission created in this document can be found in the zip-file. Changelog: v3.2 - Updated usage of arrays - best practices “memory usage in scripts” - updated “crew article”-picture - with explanation boxes v3.1 - Updated examples, with (alt+tab), made some changes in the text. v3 - Renamed document to “Guide”. Added section “Examples”, updated “Best practices”, - pretty much rewrote the whole thing. v2 - Updated sections - formatted the code - added the “When Do I Need Scripting?” section - added wiki article about operators - added sub section “More on variables” v1 - First version of this document Forum topic: - BI forums Enable javascript to be able to download from Armaholic please!
Tags: No tags
|
MAybe I'm doing something wrong but the first mission in your tutorial shows nothing when I enter the humvee. Nothing shows up in the upper right hand corner except the word horn.
I cut and paste your example MyProcedure.sqf and init line to no avail. I have no other mods running.
Nevermind. I did it over and it worked. Sorry about that! Thanks for putting this together.
Wish it were a little bit more detailed. Started off good with the example and then the rest went right over my head and assumed that the reader already knew what he was doing.
Many Thanks For The Great Work Kudos
I'm With You nuggetz.
Any help on scripting is much appreciated.
I'm still struggling with scripting and have been trying to get my head round it for quite some time(Arma1 days).I have a few ideas I'd like to try out.I find that the tutorials are a little advanced along the subject to much for me.
Over time looking at scripts and tutorials Ive pick up bits, but would never be able to create my own for scratch.
I've been using Mr Murrys Arma1 guide and it's very good (somethings don't convert to arma2 word for word)but some simple things stump me. .e.g. in the guide a Logical values(on/off switch) 1 is true and 0 is false, then I read this line "_this select 0;" as "_(local)this(the object/unit) select 0(False)" don't select? but the unit or object is still selected?
Newest update appears better. I only skimmed thru it but will spend some time with it shortly. Thanks for the update!
Total comments : 6, displayed on page: 6