can i make ascript cb dofile or modify one in bf1 ?
ScriptCB_DoFile("luaname") will execute any lua file you have included, allowing you to call in custom lua script functions.
how do i set that up ?
http://www.swbfgamers.com/index.php?topic=6706.msg71350#msg71350
This is a good example.
I don't think it does what you think it does - essentially, if you write a chunk of lua script that would be better if you could repeat it all the time, you can put it in a function. Then, using this method, you call it in when you need it rather than copying it in all the time.