Jump to content

[DOCUMENT] Fockers Arma3 Scripting Guide


CptGooch
 Share

Recommended Posts

SOURCE: http://www.armaholic.com/page.php?id=20465

Fockers Arma3 Scripting Guide

Author: Mikie boy 
Author Website: http://fockers.moonfruit.com
Version: 3.0
Short description: This is an old but useful guide from 2013.  Chapter 1, 2 and 3 of Fockers Arma3 Scripting Guide

Download Link: Fockers_Arma_Scripting_guide_v30.7z

Features:
The first chapter covers the basics of:

  • Setting up a file, showscripterrors, and window mode
  • Variables, assignment, initialization, and variable types.
  • Init.sqf, interactions between the game world and the scripts.
  • Alignment of code, bracket usage and setting out code.
  • If/else statement, nested if/else statements.
  • While, and both for-loops types.
  • Commands - player, waituntil, getpos, createvehicle, createunit, hint, format, sleep and a few other bits.
  • And a lot of reference on using BIS forums and the Wiki.

The second chapter covers the basics of:

Part 1:

  • Basic Arrays
  • Selecting elements
  • Subtracting
  • Addition
  • forEach command

Part 2:

  • Basic Functions
  • Local and global
  • call
  • Spawn

Part 3:

  • Making a basic Patrol function.
  • Few other commands have been thrown in

The third chapter covers the basics of:
Part 1:

  • Eventhandlers
  • adding
  • removing
  • use of scope and exitwith command
  • example usage and creation of eject and mine functions

Part 2:

  • Get and set Variable
  • handle variables
  • Create a driving licence system using eventhandlers and get/set variables to control access to vehicles

Few other commands have been thrown in.

  • Like 8
Link to comment
Share on other sites

  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.