Author Topic: Wallet's Scripting Class episode III: Revenge of the Script  (Read 8276 times)


No there isn't.
To clear the confusion:
No semicolon where you make the function.
Yes semicolon where you call a function.

Datablocks you create should also end with a semicolon. ;)

To clear the confusion:
No semicolon where you make the function.
Yes semicolon where you call a function.

Datablocks you create should also end with a semicolon. ;)
Packages should end with a semicolon too. That caused me some errors recently.

Hey Mr Wallet, can we go over advanced brick coding?

WARNING WHILE YOU WERE READING UXIE ASKED ABOUT SOMETHING

Also function calls don't all need semicolons. You should think of the semicolon as "instruction over". When you get to Return Values (day 6) you'll start using function calls without semicolons.
Specifically, for those who already know what I'm talking about: if you're calling a function to get a return value from within some other function call or an IF statement, that kind of inner function call should not have a semicolon, and in fact telling BL, "this line of the script is over" would be Not A Good Idea.

Anyway I have to start writing today's doc and today we're doing  :cookieMonster: TRANSFORMS AND VECTORS YAAAAAY :cookieMonster:  :iceCream: :nes:

OK not that exciting but we should really talk about it. We're kind of trailing off on "must-know" stuff now, with the official schedule ending tomorrow (and I'm not sure it will fill an entire day as I've planned it), so there's ample opportunity to do student requests. Probably not today because we're going to do a lot of stuff already, but maybe tomorrow.

However you'll need to be a little more specific about what you mean by "advanced brick coding".

Cool alot to do today. :/

And advanced Brick coding. We all know how making all those simple bricks. like:
1 1 3
BRICK

and stuff. But all those other stuff with making rounds and ramps and stuff.

Go read a tutorial on it; that's what I would do.
No srsly I've done it so little that I can't do it from memory.


For today's class, I request:

GUI Basics and Construction.

Well for you guys you are done with the classes you need. But I am about to finish studying day 4. I'll try to finish up today.

Quote
    setting up RTB prefs for your add-on
    minigame basics
    GUI basics
    bot basics
    object-oriented data management: scriptobject and scriptgroup
    game/website communications
Damn, all those sound good.  I prefer bots and minigame basics though, I know how to work with GUI's for the most part.

I know how to to guis a little. Not alot though. Like so many times when I use it, I crash.

The main crashy thing about GUIs is trying to use the edtitor thing on the lower right when the object doesn't exsit anymore. Just clicking something there can freeze BL. The same applies to the mission editor.

Weapons and GUI Day :D

Also, we should colaberate more often.

I am really not looking forward to writing anything about making GUIs. I am really gonna procrastinate on this one.

The big problem is it's hard to put into words since so much of it is graphical. It's easy to talk about most scripting since that's just words (so to speak). So I can talk about the scripting side of making GUIs work but setting up the elements for the scripts to work with... I'll probably just talk you through it and not write much.