AggrorJorn Posted January 27, 2017 Posted January 27, 2017 I would like to see some sort of dynamic list property for lua scripts. This property would be similar to an --entity property but with the extension that you can add multiple entities. Not only would this be usefull to create a list of entities, but it could also benefit for iteration order. The treeview of a scene is not perce the fixed order entities are processed. Using this list we can tie items to an index. In code this could look like Script.gameStates = nil --entitylist "states" function Script:Start() for key,value in ipairs(self.gameStates) do print(key.." = "..value) end end 2 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.