No plBiped01_entity will be set by the templates tompo!!
Just write the following line at the beginning of your action:
while(!plBiped01_entity) { wait(1); }
This while loop makes sure that the plBiped01_entity has been created.
EDIT:
Blink your code does not make sense.
First you assign the plBiped01_entity pointer to that action and then set the my pointer to null.
You should try this script instead:
Code:
string ventesc_wmb = <ventesc.wmb>;
action level_changer
{
while(!plBiped01_entity) { wait(1); }
while (vec_dist (my.x, plBiped01_entity.x) > 100) {wait (1);} // wait until the player has come close enough
my = null; // keep the function running even after level_load
level_load (ventesc_wmb);
wait (3); // wait until the level is loaded
media_play ("1meetz.mpg", null, 100); // now play the movie
}
However I'm not sure if actions can have a "my = null;"