is there any thing else that needs to be done? do I need to do a "GetScriptObject" in the lua scripted entity?
using the above functions and this in bmax to set the globals:
SetScriptObject("fw", fw)
SetScriptObject("world_main", fw.Main.world)
SetScriptObject("world_transparency", fw.transparency.world)
SetScriptObject("world_background", fw.background.world)
SetScriptObject("camera_main", fw.Main.camera)
SetScriptObject("camera_transparency", fw.transparency.camera)
SetScriptObject("camera_background", fw.background.camera)
SetScriptObject("listener", CreateListener(fw.Main.camera))
and right now I do not see emitters or hear sounds driven from lua scripts...