action blabla() <------- this action i have on my terrain in the level!
{
level_terrain = me;
fx_modelTex3Nm();
}
action place_grass()
{
vec_scale(my.scale_x,0.1+random(0.1));
ent_terrain_place(my,level_terrain,0,55);
my.alpha = 70;
my.flags |= PASSABLE | TRANSLUCENT;
my.eflags |= CLIP1; // clip away at 50% LOD range
my.emask &= ~DYNAMIC;
}
function_main()
{
level_load("lost_lands.wmb");
int i;
for (i=0; i < NUM_GRASS; i++)
ent_create("grass_x3.dds",NULL,place_grass);
wait(1);
}