Home   Help Search Login Register  

Author Topic: Still confused about scripts  (Read 400 times)

0 Members and 1 Guest are viewing this topic.

renegade798

  • Guest
Still confused about scripts
« on: 27 Jan 2004, 01:33:19 »
I read a couple of tutorials about scripts and I still don't know how to make them or use them. PLEASE HELP!!!

Offline Chris Death

  • Former Staff
  • ****
  • Finally Death's gonna get ya
    • OFPEC
Re:Still confused about scripts
« Reply #1 on: 27 Jan 2004, 01:49:49 »
Quote
I read a couple of tutorials about scripts and I still don't know how to make them or use them. PLEASE HELP!!!

hmm - usually a tutorial starts at page one and ends at the
last page  ;D

Now seriously:

You should try to start with baby-steps, and later then
turn over to more complex ones, until you find yourself
in making OFP a new experience.

I'm sure, nobody would start now: telling you all what you
were asking for.

What is it, that you don't understand?

If you say scripting in general, then i don't believe, that ppl
will do anything else than telling you to read the tutorials
over and over again.

But to give you a helpful hint aswell here:

John Gustavsons scripting manual
or Max Plank's ones, should be fine to start off with.

(not sure if Max Plank's tut is available in english - i remember
it being in german).

Those tutorials do AFAIK start with simple display message
scripts, and if i remember right, they even don't go that far
beyond the scripting basics.

~S~ CD
Dont argue with idiots....they will bring you down to their level and beat you there with experience.

How to use Waypoint type Scripted

Korax

  • Guest
Re:Still confused about scripts
« Reply #2 on: 27 Jan 2004, 04:55:24 »
You should probably learn to be a professional in the editor before you learn to script, memorize every snippet and once you've done that you should be set, because all the stuff you do in a script is the same as in the editor, like if i wanted to make a unit start in a tank in the editor, i would put man1 moveincargo tank1 in his init field, or i could do the same in a script by doing something like this
Code: [Select]
man1 moveincargo tank1
man2 moveindriver tank1
man3 moveingunner tank1
man4 moveincommander tank1
exit
And i could just call that script in the mission via a trigger that does    [] exec "script1.sqs"   (remember for a script to work it must be in your mission directory usually under users\yourname\missions\missionname) And voila! you have made a simple yet effective script.
And you should eventually learn about "goto's" and delays and such (and ofcourse the all-important variables)...
Hope this helps  ;)

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Still confused about scripts
« Reply #3 on: 27 Jan 2004, 10:34:04 »
Johan Gustafsson's Scripting tutorial from the Editors Depot.  That's what you need.
Plenty of reviewed ArmA missions for you to play