Doggynub
LUA / C++
- Joined
- Sep 28, 2008
- Messages
- 2,541
- Reaction score
- 186
Well I was wondering , If I have a file containing a table and I included that file on other lua files with "dofile" I get results as follows:
For files that are of same event(actions scripts for example):
if i changed the value of table from any action script, and get the new value from another action script , vaue have changed
For files in different event:
If i changed the value in on file(in action script for example) and checked the value from another script(talkaction one for example) it donst change.
I would like to know a simple way to link all of them together rather than using a new table instance on every event scripts, any ideas?!
For files that are of same event(actions scripts for example):
if i changed the value of table from any action script, and get the new value from another action script , vaue have changed
For files in different event:
If i changed the value in on file(in action script for example) and checked the value from another script(talkaction one for example) it donst change.
I would like to know a simple way to link all of them together rather than using a new table instance on every event scripts, any ideas?!