Ja die gibts: "Shader variables for level block shaders can be set globally through skill41..skill44 of the level_ent entity."

http://manual.conitec.net/amaterial2.htm

...
level_ent.skill41 = floatv(..);

usw.