Recent content by XYXZYZ

  1. X

    Beginner is confused

    Okay, that works, thanks. So I have to define an integer and refer to that, instead of referring to the variable directly? I can't just use "apple = " + varapple", correct? So now I have figure out how to increment the variable when I pick up an apple, I assume it would be something like...
  2. X

    Beginner is confused

    Yes, it works and I had the text working earlier after following Msmalik's "noob's guide to scripting". Now I just need the variable it's drawing.
  3. X

    Beginner is confused

    I created the data/script.txt file, with alwaysupdate 1 in it. in data/scritps/update.c: void oncreate() { setglobalvar("varapple", 0); } There's nothing else in the file. The log file is attached. Surely there's some simple thing I'm missing... By the way, this is the...
  4. X

    Beginner is confused

    Here is the log, I can't see anything that helps correct the script. Sorry if I'm being obtuse.
  5. X

    Beginner is confused

    Okay, in update.c I have and it crashes when the level loads, log says exception while executing script 'update'. So I'm still doing it wrong...
  6. X

    Beginner is confused

    I'm trying to learn basic scripting, the first thing I want to try is creating a variable for an item (such as apple), display "apples = x" on the HUD, and add +1 to apple total when I pick up an apple. I'm looking through Bloodbane's Cherry on Top game to see how he does it with coins, but...
  7. X

    Noobs guide to scripting

    Ah, I see. thanks.
  8. X

    Noobs guide to scripting

    The links don't work, they lead back to the forum index.
Back
Top Bottom