Recent content by snowyowl

  1. S

    Regarding custom scripts

    As for now, I receive a Syntax Error whenever I try to test my map. I put the Inits of my custom script in the code like this: //-------------------------------------------------------------------------------------------------- // Custom Script Initialization...
  2. S

    Regarding custom scripts

    Thanks, that was some really useful information Juggie! I'll try to code as much as possible outside the Galaxy Editor and use the Editor to see how certain triggers are converted to script using the View Script. Hopefully I'll have better luck with this, as I weren't able to copy text from...
  3. S

    Regarding custom scripts

    Hi So I'm having some great fun toying around with the custom script feature, as I find it way too tedious to input all I want into the interface of the editor. I tend to create testtriggers within the interface and then open View Script just to get the hang of how one are to type the...
  4. S

    Connecting different responses to a specific variable

    Yes, Siretu kindly reminded me, I just had to understand how I were to use them and set them up in the SC2 editor.
  5. S

    Connecting different responses to a specific variable

    That's a bummer, I'm taking a reexam in Java in August so I'd hoped some SC2 coding would inspire me to learn it again ;) Anyhow, I just realized that the editor won't allow me to paste something from a different application (TextEdit) into the custom coding field. Fun!
  6. S

    Connecting different responses to a specific variable

    I guess if I'd used a 2d Questions Record then I wouldn't need the Question and Answer variable to be arrays right? Furthermore, do I have to have an Answers variable to detect the correct answer? I'm thinking about having booleans linked (somehow) to each Alternative string variable. But maybe...
  7. S

    Connecting different responses to a specific variable

    Alright! That seem to do the trick. It currently looks like this: As there will be multiple questions, each with 4 alternatives, what do you think is the best way to organize the indexes? As of now, I was thinking of having all possible questions that can occur on the first level in...
  8. S

    Connecting different responses to a specific variable

    Thanks for the quick reply, however, after setting up the record, I can't fill it with information using the Set Variable. Inside the Record, I'm unable to do anything besides creating variables, thus I cannot use the Action - Set Variable. When I try using a different trigger to fill up the...
  9. S

    Connecting different responses to a specific variable

    Hello! I'm making a trivia map right now, and since I'm kind of bad at triggering in the SC2 Editor I could use some help. Essentially, what I want to do is for the game, at a given point, choose one predefined question from a list of possible questions where each question has four different...
  10. S

    Will you troubleshoot a trigger for me?

    That's a bummer, cause I have 20+ more of those E/L regions and I was trying to make it all into one pretty trigger. ;)
  11. S

    Will you troubleshoot a trigger for me?

    Event Unit - Any Unit Enters (Region(Any Region)) Actions UI - Display "Test" for (All players) to Chat area General - If (Conditions) then do (Actions) else do (Actions) If And Conditions Locations[(Owner of (Triggering unit))] >= 0 Or Conditions (Triggering region) ==...
  12. S

    Array

    Thank you! That cleared some things up. However, I still can't understand how to set the units into the first array. I've created an array of type "Unit Type of Unit" but I can't seem to be able to set the index to the corresponding units.
  13. S

    Array

    Hi. So I just started toying around with the Galaxy Editor, I was quite skilled with the World Editor in WC3. However, that was a long time ago so I've seem to have forgotten some things. What I want to accomplish right now is to set up an array from 0-22 (23 slots in total), each one...
  14. S

    Req Trigger: Income (LoE, EBR etc.)

    Thanks alot. I'm going to try this out once I've recovered from the WJC in hockey where Sweden just beat Russia in sudden death in the semifinals. :D What d'you think regarding the text message which is to be announced individually to each player? Should I link the BuildsIncome variable into one...
  15. S

    Req Trigger: Income (LoE, EBR etc.)

    Ahh yeah that was clearly a misunderstanding. As in Lords of Europe and similar maps, where you claim more and more cities (income buildings) I wish that certain buildings give 50 gold, others give 75 gold and so on. Sorry if I wrote confusing in this and earlier posts.
Top