Yeap, thats the script I'm looking for. Very wierd bug you're facing. Not clear from the snippet why it's not working. If it's not too much trouble, Could you post the script for the entire trigger that's not working properly? Including variable initializations and stuff. We should be expecting the script to be within a trigger block that looks something like the following:
Edit: The random trigger name will probably be some crappy alphanumeric
Edit2: Reading over your earlier post. Not very clear about how the script is failing.
What is the script supposed to do?
What is the actual result?
Edit3:
Based on the snippet above and assuming the following initializations:
columnID = 0
columnTotal = 0
auto38486ABD_ai (Increment) = 1
auto38486ABD_ae (Final) = 5
The result of the if condition and the variable values at the end of each iteration:
Condition, columnTotal, columnID
False, 0, 0
False, 1, 1
False, 2, 2
False, 3, 3
False, 4, 4
False, 5, 5
Both columnTotal and columnId appear to be incrementing (columnId is incrementing in both the if and else blocks), so the condition never evaluates to true. Could this be causing the problem?
I'd still give him credit for his efforts, as he offered his help with good intent. I read his earlier post on for loops and I do agree to a certain extent with it, in particular that for loops are more controlled.
I would have worded it differently though; For loops (in most languages) are bounded in that a lower/upper/increment are prerequisites for it to work. Compiler would probably spit out syntax error messages if any of them were missing. This reduces the chance of accidentally making an infinite loop and crashing the game engine. I don't think it prevents it though, it could still break if 0 was set as the incremental value (in theory it should be possible).
I'd be happy to try help but have trouble imagining problems from descriptions (I'm more of a visual guy). Would you kindly post a snippet of your code?
Tad bit of extra info: For loops in GUI are actually compiled into while loops in galaxy when you save your map. Proof of this is that you can build a simple for loop in an empty map, save it, then press Ctrl + F11 to view the compiled script, and expect to find a while loop representing that particular for loop.
The above is the generated script for a GUI for loop that iterates from 0 to 5, as can be seen, it has been converted into a very poorly done while loop.
Hm, I may have made a mistake, I overlooked the last few images. I based my comment off the first few images of the UI I saw which were rather rectangular and boxy. The last few images seem to be alright IMO, aside a few pixel-artifacts here and there. Easily fixed by playing around with alpha channels.
I'd just like to recommend that with patch 1.5.x, Using user type data might be an easier way to manage your icons, as you can have fields with image links.
Just wanted to share my 2 cents on the interface. You've clearly put tremendous effort into the dialog's, and I tip my hats off to you on that. I personally feel there is still room for improvement though. The edges of the dialog as they are now are rather sharp and boxy, I thought it might look nicer if you had borders going around them. This could be easily accomplished with a dialog image or button of the border type (have to play around with this one).
Just tried, I can confirm this is a problem. Probably has something to do with the retarded data streaming thing that always occurs upon launch. I still wonder what the purpose of it is, other than to hinder the loading process.
Thanks, your posts pretty much answered my questions :) Going to need to do further testing to see if any problems arise, but at least now there's a reference point if anything goes awry.
The description is to synchronize banks across multiplayer. I'm currently meddling around with a single player experience that uses banks, and it seems to work fine even though I'm not preloading the map. For my scenario, is there any reason for me to include bank preloads, or is it alright to omit them? why?
Bank resets?
Has anyone found out what exactly causes bank resets? I'm trying to avoid the problem overall seeing as I have minimal experience with banks as of yet.
0
@Bounty_98: Go
lol, the adjutant. I suppose her face can be kinda creepy
0
@FoxyMayhem: Go
Yeap, thats the script I'm looking for. Very wierd bug you're facing. Not clear from the snippet why it's not working. If it's not too much trouble, Could you post the script for the entire trigger that's not working properly? Including variable initializations and stuff. We should be expecting the script to be within a trigger block that looks something like the following:
I'll see if I can spot the bug from there.
Edit: The random trigger name will probably be some crappy alphanumeric
Edit2: Reading over your earlier post. Not very clear about how the script is failing.
Edit3:
Based on the snippet above and assuming the following initializations:
The result of the if condition and the variable values at the end of each iteration:
Both columnTotal and columnId appear to be incrementing (columnId is incrementing in both the if and else blocks), so the condition never evaluates to true. Could this be causing the problem?
0
@DogmaiSEA: Go
I'd still give him credit for his efforts, as he offered his help with good intent. I read his earlier post on for loops and I do agree to a certain extent with it, in particular that for loops are more controlled.
I would have worded it differently though; For loops (in most languages) are bounded in that a lower/upper/increment are prerequisites for it to work. Compiler would probably spit out syntax error messages if any of them were missing. This reduces the chance of accidentally making an infinite loop and crashing the game engine. I don't think it prevents it though, it could still break if 0 was set as the incremental value (in theory it should be possible).
0
@FoxyMayhem: Go
I'd be happy to try help but have trouble imagining problems from descriptions (I'm more of a visual guy). Would you kindly post a snippet of your code?
Tad bit of extra info: For loops in GUI are actually compiled into while loops in galaxy when you save your map. Proof of this is that you can build a simple for loop in an empty map, save it, then press Ctrl + F11 to view the compiled script, and expect to find a while loop representing that particular for loop.
The above is the generated script for a GUI for loop that iterates from 0 to 5, as can be seen, it has been converted into a very poorly done while loop.
0
You need to set the dialog item to use left aligned text. Link to how is in my sig.
0
@Enexy: Go
Hm, I may have made a mistake, I overlooked the last few images. I based my comment off the first few images of the UI I saw which were rather rectangular and boxy. The last few images seem to be alright IMO, aside a few pixel-artifacts here and there. Easily fixed by playing around with alpha channels.
0
I'd just like to recommend that with patch 1.5.x, Using user type data might be an easier way to manage your icons, as you can have fields with image links.
User types data basics
0
Hey,
Just wanted to share my 2 cents on the interface. You've clearly put tremendous effort into the dialog's, and I tip my hats off to you on that. I personally feel there is still room for improvement though. The edges of the dialog as they are now are rather sharp and boxy, I thought it might look nicer if you had borders going around them. This could be easily accomplished with a dialog image or button of the border type (have to play around with this one).
Apart from that, great job!
0
@zorbotron: Go
You may be right on this one. I remember there being a launch map editor button after opening sc2
0
@DarlD: Go
Make one of your dialog box expand outwards.
Would you kindly elaborate on the clause above? I can't quite picture what it should look like expanded outwards.
On a side note, Challenge considered. Will see if I can muster up the- *NOT ENOUGH ENERGY*
(Fall's into narcoleptic stasis)
0
Now that was absolutely lovable, gonna keep an eye on this :D
0
0
@Eiviyn: Go
Just tried, I can confirm this is a problem. Probably has something to do with the retarded data streaming thing that always occurs upon launch. I still wonder what the purpose of it is, other than to hinder the loading process.
0
@Hookah604: Go
@Ahli634: Go
Thanks, your posts pretty much answered my questions :) Going to need to do further testing to see if any problems arise, but at least now there's a reference point if anything goes awry.
0
The description is to synchronize banks across multiplayer. I'm currently meddling around with a single player experience that uses banks, and it seems to work fine even though I'm not preloading the map. For my scenario, is there any reason for me to include bank preloads, or is it alright to omit them? why?
Has anyone found out what exactly causes bank resets? I'm trying to avoid the problem overall seeing as I have minimal experience with banks as of yet.