Halstrom Posted June 11, 2012 Posted June 11, 2012 I present Example number 1  DebugPrint "DiceRoll %3.0" fDiceRoll  Instead of:  DebugPrint "DiceRoll %3.0f" fDiceRoll  And GECK Powerup doesn't spot it either
prideslayer Posted June 12, 2012 Posted June 12, 2012 Too many endif's will do it as well. If you end up with code like this: if foo if bar ; ... endif endif endif  You're gonna splode.  This is why I harp so much on proper indenting and keeping the if/else/elseif/endif always indented by the same amount. Makes such errors easy to spot. When I'm writing conditional code I always write the conditional block first, empty.. that way I know it's taken care of. As soon as I write the 'if' statement, I write the endif that goes with it, then go back between them to start adding the actual working statements.  Edit: If you mismatch tabs and spaces, you're going to end up with this issue even more often. I always just use spaces, but I also never use the in-game editor either. Whenever I need to work on a script, I copy/paste it into a real editor, work on it, then copy/paste it back into the GECK.  Also allows me to keep local copies of the scripts saved as .txt files, and to survive geck crashes without losing any work -- or without losing any scripting work anyway.
GSBmodders Posted June 12, 2012 Posted June 12, 2012 my way to ctd is easier, i just right click add new and "BAM" to the desktop
prideslayer Posted June 12, 2012 Posted June 12, 2012 Not allowed to just post 'heh' which is all I wanted to post in response to that, so here's an entire sentence, with two commas. Â heh.
GSBmodders Posted June 12, 2012 Posted June 12, 2012 Not allowed to just post 'heh' which is all I wanted to post in response to that' date=' so here's an entire sentence, with two commas.  heh. [/quote']  yeah, yeah you and your fancy knowledge of how to go about coding the end of the world laugh all you want but this is a true story and why i went back to oblivion. Now please excuse me while i find a corner to go cry in  I'm having trouble with blender exports too but thats another matter and I think its solved now the GECK however still wants my blood
prideslayer Posted June 12, 2012 Posted June 12, 2012 The GECK wants everyone's blood. It demands sacrifice. I keep my right-clicking confined to scripts and so forth, keeps it from bleeding me dry.
BruceWayne Posted November 30, 2012 Posted November 30, 2012 Massive necro, but this still might be useful for some people: Â Selecting Race->None in the NPC tab causes the GECK to insta crash. Â Editing the face in the GECK character editor via Drag and drop AND changing the values via the sliders make the GECK crash sooner rather than later. Exiting the NPC window and doing either one, doesn't cause instability (i.e. mold the face with drag and drop-> close NPC window-> reopen it and adjust it with the sliders afterwards)
luinil Posted January 7, 2013 Posted January 7, 2013 WOuld this work: Â if foo if bar ; ... endif endif sure would save some space.
DeadSomething Posted June 19, 2013 Posted June 19, 2013 i cant even load a mod, because it says "too many masterfiles selected" but the mod requires those masterfiles. and without editing that existing mod, i wont get my work done.
DeadSomething Posted June 19, 2013 Posted June 19, 2013 wow, thanks, maybe i've got a lot to learn about geck...
astymma Posted June 19, 2013 Posted June 19, 2013 NP, you may want to do the GECK tutorials on that site before trying to mod anything else. They're fairly detailed and cover a good foundation of required skills.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.