Does it matter which version of Lua is used

Does it matter which version of Lua is used

Discuss Lua based Spring scripts (LuaUI widgets, mission scripts, gaia scripts, mod-rules scripts, scripted keybindings, etc...)

Moderator: Moderators

Post Reply
discodowney
Posts: 47
Joined: 19 Apr 2010, 15:31

Does it matter which version of Lua is used

Post by discodowney »

So, yeah, like the titles asks. Does it matter if i use 5.0 or 5.1?
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: Does it matter which version of Lua is used

Post by hoijui »

is the sky blue?

(matter for what?)
discodowney
Posts: 47
Joined: 19 Apr 2010, 15:31

Re: Does it matter which version of Lua is used

Post by discodowney »

for working on the AI. Im making a change to the Shard AI so that it will call some C++ functions. Im just wondering if the version of Lua i use makes a difference?
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: Does it matter which version of Lua is used

Post by hoijui »

you should ask this in the Shard thread in the AI subforum, not here. this is for gadgets and widgets for the engine/games.

though.. you just use the version of lua that is used by Shard.. you dont have to install lua separately or something.. so no need to worry about version.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: Does it matter which version of Lua is used

Post by AF »

If you do something that is not valid lua will tell you so, so assume the latest version
Post Reply

Return to “Lua Scripts”