Page 1 of 3 123 LastLast
Results 1 to 10 of 21

  Click here to go to the first Developer post in this thread.  

Thread: Script not working? Use the -showScriptErrors parameter!

  1. #1

    Exclamation Script not working? Use the -showScriptErrors parameter!

    If you're encountering a mysterious malfunction in your scripts, the first thing you should do is put the -showScriptErrors parameter in your Arma 2 shortcut's target line. It will enable you to see script error output in the top part of your screen. An error message will a) help you solve the problem yourself, or b) help us solve it for you without needless guessing and elaborate proofreading.

  2. #2
    Yes, I'm no scripter but this parameter pretty much tells you where it's failing and maybe sometimes what's needed to fix it, I.e. Missing ; or ] catches me out a lot

  3. #3
    Celery speaks the truth!

    Team -showscripterrors with SBSMACs Squint and you're well on the way to being a scripter. Sort of.
    Documentation is not a dirty word.
    : TeamSPAFF : PRACS : RKSL : Stella Artois : Creme Eggs : GITS :

  4. #4
    Used to use this all the time, but so many people made missions with script errors that I couldn't play without being annoyed all the time. Now I just have it on my "editing" shortcut, but i'm too lazy to restart most of the time heh

    It is however a wonderful tool and should always be used while editing.

  5.   This is the last Developer post in this thread.   #5
    Yes. Please, everyone - start using this parameter. So many missions and scripts released every day aren't working properly because people aren't using it.

  6. #6
    Not everyone can be good enough to spot errors right away like I can.

    But really, I do use it (I think; I can't really remember the last time I got any errors ).
    VBS2 Designer

    Quote Originally Posted by Armored_Sheep View Post
    I like to call Arma a sandbox game that works pretty much like LEGO - you buy it not just because you want to have a nice car from the main picture on its box, do you?

  7. #7
    I use it, though I hate it, possibly because it highlights my scripting inadequacies

  8. #8
    Quote Originally Posted by Tankbuster View Post
    Celery speaks the truth!

    Team -showscripterrors with SBSMACs Squint and you're well on the way to being a scripter. Sort of.
    Thanks for info, Tankbuster. Long time I'm looking for a good script editor

  9. #9
    Quote Originally Posted by chicago View Post
    Thanks for info, Tankbuster. Long time I'm looking for a good script editor
    I don't use squint as an editor, though it does do that. What squint is really good at is counting brackets and checking variable names.

  10. #10
    Quote Originally Posted by Celery View Post
    If you're encountering a mysterious malfunction in your scripts, the first thing you should do is put the -showScriptErrors parameter in your Arma 2 shortcut's target line. It will enable you to see script error output in the top part of your screen. An error message will a) help you solve the problem yourself, or b) help us solve it for you without needless guessing and elaborate proofreading.



    excuse my ignorance, I put the -showScriptErrors parameter in my arma Arma 2 shortcut's target line after ...\arma2.exe", and i get a message saying the te text is not valid.


    Help please!!

Page 1 of 3 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •