of     1   

B3tturTh3nU
#23353569Wednesday, March 31, 2010 11:23 PM GMT

I doubt many people will support this, mainly because not many people will completely understand what a header file is, but lets try anyways... This would be a decent idea for a Service or something, or mabey just add it to ScriptContext. The point is having a single script that would be able to run before any other scripts in the game, which could do things like define Global variables before scripts are trying to use them, or search workspace for a certain object, before other scripts manipulate its location. Here are some ideas of it's features: -can access the source of other scripts(read and edit) -has a locked source(no other scripts can read/edit it) -can only be edited in studio(cannot be changed during test/play modes) -runs one frame or so before all other scripts -after first frame, it runs at the same speed as any other scripts And here's a possible location: game:getService("ScriptContext").HeaderScript If anyone actually understood that, I hope I get _some_ suppot... And I know this is not the true definition of a header file, it just seemed convenient because this this feature could be used similarly, so call it whatever you like.
B3tturTh3nU
#23354888Wednesday, March 31, 2010 11:43 PM GMT

Certainly doesn't take long for threads to fall to the bottom here, does it? Lets give this one more try, bump.
viizax
#23355326Wednesday, March 31, 2010 11:49 PM GMT

Completely agree with the lock option so other user's can't read it.
TaslemGuy
#23355977Wednesday, March 31, 2010 11:57 PM GMT

Lua does not have "headers." Totally pointless, adds nothing to scripting whatsoever.

    of     1