Weeeelllllllllll, my friend! This is just awesome. I'm gonna try to explain the true benefits of this thread idea.
A: It is going to be in chronological order, people wanting to learn, are going to get lessons in the order they were learned by you, from the floor up. This is as opposed to how most of us here learned, doing far too complex functions by copy/pasting, and trying to troubleshoot when it all looks like greek. Then learning the more basic principles later, and puking on yourself when you see how you butchered it earlier on.
B: The language. Dont get me wrong, in about 4 pages the language here is going to sound like advanced nano-physics (As each property is defined and analyzed), like most detailed scripting discussions. However, here it is going to progress from plain english, into script talk, gradually. All in the same thread! We can SEE the metamorphosis occur.
C: We are going to make mistakes (for instance, I'm not familiar with the ; use either.) But NOONE be discouraged by this, it will create a discussion back and forth, completely breaking down and analyzing what went wrong, and how it can be more easily understood. This will prove to be a valuable occurence when compared to the message that was 7 lines long with no responses. Some ppl might not "get" it on the first pass.
D: It has the potential to become the "Scripting questions? Apply here!" thread, which 70% of the modders here could make use of.
E: SpiderFighter, you may end up BEING that guy that answers the scripting questions here, rather than the one asking them. That is just a COOL prospect that will inspire those around you.
Anyway, thats my two cents
WTFG Spidey! Great idea, and likely helpful to many, many people around here.
Guess I could throw in a handy scripting tip while I'm here then. (I'm not ALL psychobabble.)
This is more to start a discussion and dissect the use of a term. I see it frequently used incorrectly, and I too learned "Street Lua",so while I have my head wrapped around it, I am going to have a hard time explaining it. The term causing the trouble is "and".
The nature of the word "and" leads to it being used as a "combiner", rather than a "seperator". (neither term is technical, just my slang to try and help explain). for instance, if you want DIFFERENT things checked, "and" is used.
edit -(Put some duct tape and elmers glue on it, thanx wordsworth for the heads up!)
ie:
function countercheck()
if counter_1== 0
and --seperating the counters
counter_2== 0
then
door_1: open
end
However, if you are causing something to happen, and want it to do multiple things, and is not used to "combine" them.
ie:
function countercheck2()
if counter_1== 0
and
counter_2== 0
then
door_1: open --and is not used here to "combine" the effects
door_2: open --nor here
door_3: close
end
Hope that made sense to the everyman!
Again, as will be true for every post in this thread, please correct me if i'm wrong, or elaborate if you have insight!