Taurus 20 Posted January 18, 2010 (edited) Sorted. Basic SQF Scripting - Guide v.3 Edited January 25, 2010 by Taurus Nvm that Share this post Link to post Share on other sites
Andy455 11 Posted January 18, 2010 (edited) Nice one, looks like it could be useful :) thanks. I know you said you won't be doing locality issues in your guide but is there ANY chance of it happening? as that is where a lot of people who are new to scripting mess up. Edited January 18, 2010 by Andy455 Share this post Link to post Share on other sites
Taurus 20 Posted January 18, 2010 Hi, yes, but it was just a starter document :) There will be more advanced topics covered too, like running serveral scripts alongside eachother, setting vehicle variables and such. Share this post Link to post Share on other sites
manzilla 1 Posted January 18, 2010 Thanks bud. I've been trying to find one of these for a long, long time. Share this post Link to post Share on other sites
Splicer 10 Posted January 18, 2010 Taurus, THANK YOU SO MUCH!!! This is a great document bound to grow! Have you consider including in it many of the tips posted here? This document could grow into the ArmA2 Scripting Bible! :D Thanks a million again! All the very best, Splicer. Share this post Link to post Share on other sites
Taurus 20 Posted January 19, 2010 Thanks for the feedback all. Splicer I'm planing on extending the variable(data type) section to include some examples of how to use them, for example iterate over arrays, setting arrays and so forth. And the more advanced things too ofc as promised. The tips and examples on this forum is to specific to a current setup of a mission and I don't think it'll do any good for someone new. Btw I updated the document now if anyone would be interested. Share this post Link to post Share on other sites
loshon 10 Posted January 19, 2010 Awesome, thanks. Great guide, and I'm looking forward to updates! :) Share this post Link to post Share on other sites
xPaveway 10 Posted January 19, 2010 Check this out, it has a lot of things about basic editor and scripting, as well as commonly requested things. http://www.armaholic.com/page.php?id=4847 Though it was made before Arma 2, all commands and things are still relevant. Share this post Link to post Share on other sites
imutep 0 Posted January 19, 2010 (edited) Thx for this tutorial, Taurus! Put it on our tutorials section at Assault Mission Studio. Basic SQF-Scripting Guide [3.2] by Taurus Edited January 24, 2010 by Imutep Share this post Link to post Share on other sites
snkman 351 Posted January 19, 2010 Hey nice tutorials Taurus :) Well i too use/used some very intresting and important tutorials back in the day's as i started to learn scripting. The tutorials was made by snYpir the founder of E.C.P. and a really genius. The look of the tutorials isn't the best ( simple .txt files ) but the important is what they include. Check them out if you are really interested in learning how to script in a resource and engine friendly way. Bad for me, that i found thouse tutorials way too late ( after i had found out most stuff explained in the tutorials on a very hard way by myself ) but after reading them i was like "Damn everything he wrote is absolutly right." So check them out if you like to lear from a professional. ;) Writing Functions By snYpir Intro to Functions By snYpir Keep up your good work Taurus Share this post Link to post Share on other sites
Alex72 1 Posted January 20, 2010 Thanks for this! Much appreciated. Man tackar & bockar. :) Share this post Link to post Share on other sites
nicolasroger 11 Posted January 21, 2010 thanks for that guide. It's really usefull. Suggestion for future update: On page 5 after the picture, I think you should add that you can simply alt-tab the game to do the programming stuff. No need to close it. I know you never said to close it but new people might not know that and find it really boring to always have to quit the game to change a line or 2 in your script then relaod the hole game again, etc. Share this post Link to post Share on other sites
Splicer 10 Posted January 21, 2010 Suggestion for future update: On page 5 after the picture, I think you should add that you can simply alt-tab the game to do the programming stuff. No need to close it. I would like to add that you can also start/run ArmA2 in windows mode which allows you to have access to all windows applications from the Taskbar. This, in my personal opinion, works better than alt-tab. :D My 2 cents. Best, Splicer. Share this post Link to post Share on other sites
nicolasroger 11 Posted January 22, 2010 Hey I totaly agree Splicer! In fact I always run my game in window mode, I don't why I suggested alt-tab :confused: Edit: oh yeah I know why, I do alt-tab even if I am in window mode :P Share this post Link to post Share on other sites
Gameadd1cted 10 Posted January 22, 2010 Taurus, Congratulations for this guide. I think it fits very well between way too basic introductions to SQF and über complex examples. Personally I find it most interesting because it makes the bits and blocks very clear (what is a procedure, a function, variables, etc.) Looking forward for more updates. Thank you :). Share this post Link to post Share on other sites
nobrainer 0 Posted January 22, 2010 Thanks for lending us your hard work and time man!! :dance1: Share this post Link to post Share on other sites
Taurus 20 Posted January 24, 2010 New version available. Share this post Link to post Share on other sites
gnarly_rider 0 Posted January 24, 2010 Very nice work Taurus! Just what I've been looking for; Mr Murray's is not very detailed on the scripting side. Share this post Link to post Share on other sites
Splicer 10 Posted February 4, 2010 Taurus, The new version is excellent! Great details and nice examples. Keep up the good work! THANKS! Best, Splicer. Share this post Link to post Share on other sites
Whyte_Out 10 Posted February 9, 2011 Sorted.Basic SQF Scripting - Guide v.3 Sorry, I am somewhat new to scripting but how do you actually open this file above? I downloaded it, but am I suppose to extract it to somewhere or something? Any help would be greatly appreciated. -Whyte Share this post Link to post Share on other sites
demonized 20 Posted February 10, 2011 Sorry, I am somewhat new to scripting but how do you actually open this file above? I downloaded it, but am I suppose to extract it to somewhere or something? Any help would be greatly appreciated.-Whyte use winrar or something to unzip the file, then open with adobe reader, both programs are freeware. Share this post Link to post Share on other sites
sickboy 13 Posted February 10, 2011 Here's some more info on scripting and multiplayer in general; http://community.bistudio.com/wiki/6thSense.eu:EG Share this post Link to post Share on other sites