dynamic calling of events for level scripting