I do this with integers and strings all the time in my scripts
If you can convert your stuff into simple data types like strings or integers, you can do this:
Set the name and separate the values with ","
list = {}
num=0
function test_init_name(e,name)
--cut the name in strings seperated by ',' and save it in a table
for word in name:gmatch("([^,]+)") do table.insert(list, word) end
end
function test_main(e)
if num == 0 and list[1] ~= nil then
--convert it to an integer
num=tonumber(list[1])
end
-- print the parameters
Prompt("Test:" .. list[1] .. "," .. list[2] .. "," .. list[3] .. "," .. list[4] .. "," .. num)
end
If this is what you want, I could look into the source and maybe I can add another GUI field like "LUA PARAM" and give it to a script, so you not need to change the name.
If you want complex data types or gui elements like vectors, sliders, lists or an explorer window(to choose images or sounds), I am the wrong man for this. I am not that deep into c++ that I can do it.
Ebe Editor Free - Build your own EBE structures with easy and without editing any text files
Thread and Download