PDA

View Full Version : Load or Run scriptfile??



Jonas DK
09-27-2005, 01:24 PM
What is the difference between the application.Loadscript and application.runscript?

I have a teori that Like to have either confirmed or corrected :huh

The load script is suited to loading funktions into the app and then being able to call on these functions once they have been loaded ones.

The Run script is more like a function call it basicly acts as a function, but instead of being placed in the applications global functions it is placed in a lua scriptfile. (and remember not to use the function commands in this file unless you end the file by calling the funtion or the script will not be executed)


So, have I gone way nutty on this or am I somewhere near the trueth?


cheers,
Jonas