O.k. so I tried some things:
First I have default walk sound
thud and different sound I call
thudB.
Then I have variable that controls playing of these sounds called
korak_zvuk.
I have special function called
under_tex and it’s started in action
player_walk_fight before
player_move2 function and other things…
This is
function under_tex()vec_set(temp, my.x);
temp.z -= 500;
c_trace(my.x,temp,IGNORE_ME|IGNORE_PASSABLE|IGNORE_MODELS|IGNORE_SPRITES|SCAN_TEXTURE);
if( str_cmpni(tex_name,"BZid_04_tga") == 1){korak_zvuk=1;}
if(str_cmpni(tex_name,"Josef_054_bmp") == 1){korak_zvuk=2;}
...it works in a way because it changes the sound but it’s always the one who is last…
…so it doesn’t work
I guess I’m using the wrong comparing code but this is the one that is used in lflare.wdl…
Can anyone help in any way please…
![smirk \:\/](/ubb7/images/graemlins/default_dark/smirk.gif)