[DiscordArchive] do you not need to use `require` in script 2?
[DiscordArchive] do you not need to use `require` in script 2?
Archived author: Vale the Violet Mote • Posted: 2023-08-17T01:04:25.110000+00:00
Original source
do you not need to use `require` in script 2?
Archived author: Vale the Violet Mote • Posted: 2023-08-17T01:04:31.907000+00:00
Original source
if not, what's the point of `require`?
Archived author: Foe • Posted: 2023-08-17T01:04:32.319000+00:00
Original source
Depends on load order
Archived author: Vale the Violet Mote • Posted: 2023-08-17T01:04:34.727000+00:00
Original source
ah
Archived author: Foe • Posted: 2023-08-17T01:04:53.850000+00:00
Original source
require forces the required script to be loaded prior to execution, if it has not been loaded already
Archived author: Vale the Violet Mote • Posted: 2023-08-17T01:05:00.463000+00:00
Original source
excellent
Archived author: Foe • Posted: 2023-08-17T01:05:17.527000+00:00
Original source
.ext is always loaded before .lua
Archived author: Foe • Posted: 2023-08-17T01:05:36.265000+00:00
Original source
so always use .ext for helper and handler scripts
Archived author: Vale the Violet Mote • Posted: 2023-08-17T01:05:42.843000+00:00
Original source
that I didn't know
Archived author: Foe • Posted: 2023-08-17T01:05:55.507000+00:00
Original source
It's an Eluna specific feature