Thanks for the reply..
Am I tried that (I think)...but this is my code so far...
entity* cyborg_h2_mdl_008;
Panel informationpanel5
{
Layer 2;
bmap = intro1;
flags = refresh,d3d;//,transparent
}
Panel informationpanel6
{
layer 2;
bmap = intro2;
flags = refresh, d3d;//transparent
}
text you_did3
{
pos_x = 300;
pos_y = 40;
//font = arial_font;
layer = 10;
flags = d3d, center_x, center_y, narrow;
}
function text3()
{
//cyborg_h2_mdl_008 = ent_playsound(my, introduction,100);
informationpanel5.visible = on; //make the panel b seen
you_did3.visible = on; //position the panel at the top right hand corner of the screen
wait(50);
while (key_c == 0) {wait (1);} // wait until the "C" key is pressed
while (key_c == 1) {wait (1);} // wait until the "C" key is released
informationpanel5.visible = off; //once c is pressed take away the panel
you_did3.visible = off;
informationpanel6.visible = on; //call the next panel once the first is closed and apply the same
you_did3.visible = on;
while (key_c == 0) {wait (1);} // wait until the "space" key is pressed
while (key_c == 1) {wait (1);} // wait until the "space" key is released
informationpanel6.visible = off;
you_did3.visible = off;
wait(1);
}
function event_playerstouch()
{
if(event_type == event_impact)
{
cyborg_h2_mdl_008 = ent_playsound(my, introduction,100);
}
}
action displayinfo3
{
MY.ENABLE_IMPACT = ON;
MY.EVENT = text3;
MY.EVENT = event_playerstouch;
}
I've got.....sound introduction = <robIntro.wav>; defined at the top of the script. Here it compiles and runs fine but when you touch of cybourg the sound is all dragged out and you can understand it at all. Do you know what wrong.