Object Orientated Programming

Object Orientated Programming

john.khoury
Enthusiast Enthusiast
293 Views
1 Reply
Message 1 of 2

Object Orientated Programming

john.khoury
Enthusiast
Enthusiast

Hi all,

I am trying to store a table of materials for certain game Units. I am trying to get it so each unit contains a table of materials that will be used to populate a materials swatch. I can't figure out how to get the Unit to store the table or how to add to the table through Flow.

 

Thanks in advance.

Reply
Reply
0 Likes
294 Views
1 Reply
Reply (1)
Message 2 of 2

__ben__
Alumni
Alumni

Apologies but I do not quite understand the question. Could you please write more about your use case?

 

Stingray does expose a LUA interface to Units and their component Materials. The LUA reference documentation is the place to start learning about this. Those interfaces can be used to change Unit materials at runtime which is what I'm guessing you are trying to accomplish. 

Reply
Reply
0 Likes