- Joined
- Jan 31, 2009
- Messages
- 43
- Reaction score
- 6
Hello.
How can I create a global array in Lua script system?
When I am trying to define it in lib/constant.lua file, it is not really global. Glovalevents are creating own instances, talkactions other instance etc..
Is there any way to do that in pure Lua (withoud C++ methods)?
P.S I know, I can make some kind of array using database, but it is not what I want use.
How can I create a global array in Lua script system?
When I am trying to define it in lib/constant.lua file, it is not really global. Glovalevents are creating own instances, talkactions other instance etc..
Is there any way to do that in pure Lua (withoud C++ methods)?
P.S I know, I can make some kind of array using database, but it is not what I want use.