Scripting from scratch - beginner
This is my first post and I hope I've choose the correct sub-forum to post my question.
Actually I'm new to this field so I want to learn scripting from the scratch sooner. So can anyone of direct me to the way how to do this. I'm really appreciate your support and comments here.
Thanks a lot
This is a good place to start:
You will find allot of information there.
Thanks a lot for the infor. I'll look at it and let you know, if I'm stuck with.
Just one more question I've to ask from all of you. Is it possible to run those script with VBS2 ?
No, this is for VBS2, better this here: http://community.bistudio.com/wiki/C...Commands_ArmA2
Originally Posted by callihn
To learn SQF scripting syntax, this guide is a great place to start.
After that doing a mission tutorial step by step would be a great next step. After that just read what other people are doing, break missions apart to see how they were done and experiment.
Thanks a lot.
Originally Posted by kylania
Actually most of the stuff I've look into bit of confused to me. May be I've explained it in the wrong way.
Initially I want to know what the stuff I need, like an editor to write the code, if compilation is required what I've to use, how to run it and like that. Can you please comment on me sir.
Just a text editor would be the only required program.
ArmAEdit is a really wonderful script editing program. Colors your code for you, offers autocomplete and has a few wizards that still work pretty well. I highly suggest it and it's what I use every day.
Some others enjoy using text editors like Notepad++ or UltraEdit with SQF syntax highlighting.
All code is read at runtime so you can make a change in the editor, preview the mission again and your change will take place. There's no precompliing required, but you can do so within the scripts using commands if you need to. You won't have to make anything though, for example.
I think it's better to move with ArmA Edit than the Np/NP++. Then easily I can keep eye on key words and stuff.
Ok, I've install the editor and have look at. Seems fine.
And then what I've done is copy the very first example from the link that you've added in your forum signature. Save it, but how can I run it and see? I found an option "Launch Game", click on it nothing is happen. Is that the wrong way.
Sorry if I'm really bother you. But still I don't have a better idea about those stuff.
I know, it was in response to:
Originally Posted by [GLT]Myke
I was just answering his question, I had already supplied the general getting started sticky link and I thought this was something he was looking for specificly.
Originally Posted by eranga
No bother, did you look into the first link I provided?
Originally Posted by eranga
I know it is long and boring stuff, but sadly there are no fast ways to mission scripting, lucky for us there are a bunch of people before us that are often very helpful when all of that is just not making any sense or not working like we thought it said it does.
Mission editing is not generally a 1, 2, 3 and your done type of thing, though of course simple things can be done fairly quickly, particularly if it is in the unit's init.
You have to have a mission file .sqm and other scripts to go with your script(s), the mission scripts fire in a particular order as the mission starts, you will call your scripts from those or from the unit's init.
Why don't you give us an ideal of exactly what your trying to do so we can help you better, for example do you have a mission fille. sqm?
What does your script attempt to do or what do you want to do with it?
This may determine when and how you need it to load.