[DiscordArchive] but if the door is activated in my instance wont it be in others?
[DiscordArchive] but if the door is activated in my instance wont it be in others?
Archived author: Foe • Posted: 2022-10-29T00:09:30.076000+00:00
Original source
wat
Archived author: Crow • Posted: 2022-10-29T00:09:42.041000+00:00
Original source
idk Im trying to think of a reason to not call a local function
Archived author: tester • Posted: 2022-10-29T00:09:55.846000+00:00
Original source
anything 'local' is local to the context. ex. local at the top of a file is local to the whole file. local inside of a function is only local to that function.
Archived author: Foe • Posted: 2022-10-29T00:09:55.886000+00:00
Original source
there isn't one unless you're writing an extension or a framework
Archived author: Crow • Posted: 2022-10-29T00:10:07.487000+00:00
Original source
hmmm
Archived author: Crow • Posted: 2022-10-29T00:10:15.246000+00:00
Original source
like adding a new lua method?
Archived author: tester • Posted: 2022-10-29T00:10:29.105000+00:00
Original source
new lua methods would of been defined in C++
Archived author: Foe • Posted: 2022-10-29T00:10:55.110000+00:00
Original source
you can define new Lua methods in Lua as well, which would be an appropriate way to use a global function
Archived author: Crow • Posted: 2022-10-29T00:11:04.821000+00:00
Original source
^
Archived author: Foe • Posted: 2022-10-29T00:11:24.619000+00:00
Original source
If you need to call a function outside of the script file it is defined in, then you use a global function