- Joined
- Nov 17, 2010
- Messages
- 6,812
- Solutions
- 582
- Reaction score
- 5,372
Code:
-- data/lib/000-constant.lua
global_table = {
a = {aa = 2},
b= {},
c = {}
}
Code:
-- actions.xml
print(global_table.a.aa)
> 2
global_table.a.aa = 3
print(global_table.a.aa)
> 3
-- now I go to movements.xml
print(global_table.a.aa)
> 2
Is there another way to edit the table value.. in 000-constant.. so it updates for all scripts?