////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Or the entire script , things go bad when to much text (*--) ++

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

define health,skill1;
define animation, skill2;
define force,skill3;

function walking_robot_ev()
{
if(event_type == event_block)||(event_type == event_entity){my.pan = random(360);wait(1);}
}


action walking_robot
{
my.health = 5;
my.enable_block = on; my.enable_entity = on; my.event = walking_robot_ev;
while(my.health > 0){my.force = 3; ent_move(my.force ,nullvector); my.animation+=3; ent_cycle("walk",my.animation);wait(1);}
}

action player_walk
{
player = me; my.health = 100;
while(my.health > 0){camera.x = my.x; camera.y = my.y; camera.z = my.z; camera.pan = my.pan; wait (1);}
}


function main()
{
level_load("map001.wmb");/*level name , create your own in WED? */
sky_color.red = 0; sky_color.green = 177; sky_color.blue =253;/*sky color*/
video_switch(12,1,1);/* full screen 1920x1080*/
}

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

/B