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...
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...
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...
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!
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...
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...
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...
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...
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) ==...
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.
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...
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...
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.