gre.set_data

gre.set_data(
    table
)
            

Sets one or more items in the Storyboard application's data manager.  Each index and value in the table passed in will be set in the data manager using the index name as the key.


Parameters:

        table A table containing the variable to change as the key and the value to change it to as that key's value.

Example:
            

function lua_func( mapargs )
    local data_table  = {}
    data_table["variable_name"] = "variable data"
    gre.set_data( data_table )
end