Yes, pretty much the math.random.
Would adding something like
static int luaCB_random( lua_State* L )
{
math.random( L, shooting_get_prop( luaL_checknumber( L, 1 ), luaL_checknumber( L, 2 ) ) );
return 1;
}
to luascript.c suffice?
And what would be the correct lines to add? :]
Also, could a function for executing camera commands directly (exec(camera_function_to_execute(parameters, for, the, function))) be easily added?