From what I see, there's a "block" statement used to execute script code...
Code: Select all
(block (foo)
(stuff)
)
2. What exactly is "foo" in the above? A function name, a parameter, a... ???
Basically, I need a simple, straight-forward, tscript syntax primer. As the topic says, a bullseye for "Use the search function" but... Things like this are terrible to search for. Most the terms are too commonly used, or what I'd use myself is too obscure. NOt asking anyone to spend a day teaching me to code or anything, I'm just hoping someone can spare a few minutes to save me some hours trying to figure out this thing in my way. Basically, I don't know how or where to utilize scripts so I can take advantage of the functionality. I've been browsing the wiki, that hasn't helped much.
So, any words of explanation, or pointers to a good resource, would be very much appreciated. I'm a(WARNING! Arrogant boasting at 12' o'clock!) rather clever coder and hack, and I've got some things I'd love to implement and share, that seem to be possible(ship stats screen, weapon hotkeys, and customized active devices arrays, to name a few.)
Also, this is one hell of a game. Something I'd been trying to find for quite a while. I'd put a game of this nature on my possible TO-DO list for a game project of my own, since I hadn't found anything like it. Thank you, George.
(P.S. - What's Transcendence written in? C, C++, Delphi, ???, BASIC(Heheh... Yeah, right.) If it's anything close to C or C++, I'm gonna die a little inside as a result of it not being open-source. I'd pour my heart into this. I'd already started something similar.)