Results 1 to 6 of 6
  1. #1
    NeonSabre123's Avatar
    Join Date
    Jul 2014
    Gender
    male
    Location
    Australia
    Posts
    162
    Reputation
    10
    Thanks
    480
    My Mood
    Bitchy

    Question Basic SQF Information for Noobs

    Hey everyone, so I've been scripting ARMA 3 for a while but I have given it a stop and if you were on this site about a year ago, you would have known that I was posting regularly. I have been covered with messages on skype regarding arma3 scripting help. So I'm going to help you out with just showing you some basics.
    Look at this piece of code:

    Code:
    player addAction ["I like Penis",{[]spawn PenisMuncher ;}];
    
    				PenisMuncher=  {
    
    					hint 'penis';
    
    };
    Okay, so this is just a very old and simple scroll menu. It's not even a menu, it's simply just one scroll.
    I will break this down for you:

    I'm starting with "Player addAction" which is calling the game to spawn just one scroll.

    I am then titling the scroll with "I like Penis" so that the user will see this text when scrolling.

    The first line of code is finished, so we put a
    ;
    to finish it off, make sure you ALWAYS close brackets
    (,[,{,),],}
    Now, with coding, there will always be variables, in this case, the variable is PenisMuncher.

    PenisMuncher must be called in some way, so we are "spawning" it aka "calling" it so that the game knows to activate THIS variable.
    So the piece of code where it has
    {[]spawn PenisMuncher ;}];
    It is calling that variable.

    We then see
    PenisMuncher = {
    . This is the variable itself. So the variable is titled "PenisMuncher", so we will refer to PenisMuncher every time we want to activate this piece of code. In this case, the piece of code is a
    hint
    which is just a hint that pops up on the screen with the word 'penis'.

    So the variable itself is this:

    Code:
    				PenisMuncher=  {
    
    					hint 'penis';
    
    };
    So here we are naming the variable
    PenisMuncher
    and then telling PenisMuncher to activate the hint
    Hint 'penis';
    and then we are finishing the code with a
    };
    .

    Any questions just ask below.

    THIS LINK will also help with coding SQF.
    Last edited by NeonSabre123; 09-21-2015 at 06:21 PM.

  2. #2
    Jun19972's Avatar
    Join Date
    Dec 2013
    Gender
    male
    Posts
    202
    Reputation
    10
    Thanks
    39
    My Mood
    Paranoid
    + should be stickied Normen @NormenJaydenFBI
    What Comes with power comes great responsibility - Talkin about you NormenJay

  3. #3
    bonobo58's Avatar
    Join Date
    Feb 2013
    Gender
    female
    Posts
    44
    Reputation
    10
    Thanks
    1
    My Mood
    Angelic
    thanks but i learned that by myself :/

  4. #4
    Jun19972's Avatar
    Join Date
    Dec 2013
    Gender
    male
    Posts
    202
    Reputation
    10
    Thanks
    39
    My Mood
    Paranoid
    Quote Originally Posted by bonobo58 View Post
    thanks but i learned that by myself :/
    doesnt mean someone else doesnt plus i dont think this should be in discussion @NormenJaydenFBI
    What Comes with power comes great responsibility - Talkin about you NormenJay

  5. #5
    5^*hdrrfgfbs#%R$'s Avatar
    Join Date
    Jul 2014
    Gender
    male
    Posts
    382
    Reputation
    10
    Thanks
    885
    this is so basic , any noob should know this fap

  6. #6
    GarridoR10's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0
    It was nice for me gotta be honest!Was the first step for me i just started with ARMA3 few days a go! Cheers mate

Similar Threads

  1. [Discussion] How to make a Last Login Stealer for Noobs (Visual Basic)
    By rockpoo in forum Minecraft Tutorials
    Replies: 28
    Last Post: 08-15-2013, 12:06 PM
  2. Basic Tutorials of HTML-For Noobs
    By PoP_KiLLaH in forum Web Languages
    Replies: 3
    Last Post: 11-29-2009, 01:51 AM
  3. Replies: 28
    Last Post: 03-02-2009, 07:44 AM
  4. Special noob hack for noobs like THIMOO
    By obsedianpk in forum WarRock - International Hacks
    Replies: 27
    Last Post: 10-22-2007, 04:45 PM
  5. Making multiple e-mails for noob acct registration, quickly
    By Methadone727 in forum WarRock - International Hacks
    Replies: 3
    Last Post: 05-26-2007, 10:58 AM