To equip the team or delete a champion, etc.
I tried in init.lua, but it does not work.
An idea?
Run a script automatically when the game starts?
Re: Run a script automatically when the game starts?
simply add a lua code without making it a function.
Or call itself for example:
Or call itself for example:
Code: Select all
function exampleLua()
print("This code runs once.")
end
exampleLua()
Re: Run a script automatically when the game starts?
Thank You!!!
Re: Run a script automatically when the game starts?
does that need another "end" on it? (I'm not able to test it right now)
Finished Dungeons - complete mods to play
Re: Run a script automatically when the game starts?
I thought the code needed another "end" at the end, after exampleLua(), but it doesn't after all. I'm no programmer, I just copy, paste, and extrapolate a little here and there
Finished Dungeons - complete mods to play