Home   Help Search Login Register  

Author Topic: Script folder  (Read 481 times)

0 Members and 1 Guest are viewing this topic.

Offline Killzone

  • Members
  • *
  • War is the true Enemy
Script folder
« on: 20 Jun 2004, 18:32:26 »
Is there a way that if I put all my scripts into one "master" folder that I can call them in a mission without having to move the script to that mission folder?

Thanks as always  ;D
"Everyone dies so deal with it and move on"

                                                      ME

Offline MachoMan

  • Honoured
  • Former Staff
  • ****
  • KISS, Keep it Simple Stupid
Re:Script folder
« Reply #1 on: 20 Jun 2004, 19:13:24 »
Well i guess u can, kinda, remember us ECP, about 99% of our scripts are located in the addon folder.
Get those missions out there you morons!

Offline Captain

  • Members
  • *
Re:Script folder
« Reply #2 on: 21 Jun 2004, 06:21:21 »
This is entirely possible, I avoided using them for about a year and a half becuase it shit me that I need to add them to my mission folders, I now have a seperate scripts mod folder and when I find a script that is finished and only  the parameters of it's exec line need changing I then pbo it and add it to my 'script mod folder'. This folder contains scripts for blizzards/snow&sandstorms/paradrops/toxic areas etc.

If you have a scipt called name.sqs, add it to a folder called, say,  folder. Pbo it into folder.pbo and put it in an addon directory/mod folder. and exec it with.

Code: [Select]
[] exec "\folder\name.sqs"
I hope that makes sense.  :-\

Captain