Jump to content
Sign in to follow this  
TracksuitHitman

Where should I start scripting?

Recommended Posts

Hello. I am completely new to scripting in the Arma 2: Operation Arrowhead editor mode. I know the basics like using the tools, but I want to move further into scripting. I have never scripted before. I have not got a clue what I would be doing if you gave me an init line and asked me to make the unit do backflips.

I watched a few videos and the uploaders recommended Mr. Murray's Editor Bible, but it all went straight over my head. Any suggestions on how to start from the very beginning of scripting?

Share this post


Link to post
Share on other sites

Have an idea what you'd want to accomplish, start by reading the wiki and different guides, look at other mission files and old scripts, sooner or later you should have the idea completed if you are interested enough. Then you move over to the next idea with new challenges but with the recently acquired knowledge.

Some links to get you started:

http://tactical.nekromantix.com/wiki/doku.php?id=arma2:scripting:basics_of_sqf

https://community.bistudio.com/wiki/Category:Scripting_Commands

http://www.kylania.com/ex/?page_id=72

http://forums.bistudio.com/showthread.php?100559-Beginners-guide-Arrays

http://forums.bistudio.com/showthread.php?100564-Beginners-Guide-to-Event-Handlers

http://killzonekid.com/category/arma-scripting/

Share this post


Link to post
Share on other sites

There are 3 parts to scripting - the simple, medium and complex.

An example of simple - in the editor select a soldier and add write a short command to add or remove weapons and equipment. This command is written in the soldiers "init" field.

An example of medium complexity: Place 6 soldiers on the map and name them. Place a box on the map. In the init of the box write 6 commands to add or remove weapons and equipment of all 6 soldiers.

An example of complex: Leave the map empty and write a script that adds 6 soldiers to the map. Your script will position them just so and add or remove weapons and equipment of all 6 soldiers.

Start with the simple. Place soldiers, vehicles and boxes on the map and write short command in their "init" field that does various things. There are hundreds of commands. Get the hang of the commands before you start scripting.

Share this post


Link to post
Share on other sites

Youtube has alot of good videos for people who are beginners, that is where i started.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×